Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 9th May 2008, 12:38 PM   (permalink)
Default interfacing ibutton to PC using USB

Hey guys,

Part of my final year project requires interfacing an ibutton to a embedded computer to serve as a user authentication feature.

My supervisor has handed me two things, namely;

a) ibutton ,model: DS1990A which is an ID only ibutton
b) ibutton reader, model: DS9092 which is has two wires coming out(1 for power and one for data(ibuttons use the 1-wire interface))

My question is, can I interface the ibutton reader to a PC using the USB interface? There are USB adapters for sale which is a basically a reader with a built in USB connector. However, I would like to construct one on my own.

Since the ibutton model only allows reading, can I just connect the data wire of the reader to the data pin of the USB jack and forget about the write pin on the USB connector. If I connect the power wire on the ibutton reader to the USB Vcc, where do I connect to USB ground to?

Has anyone done this? Thanks in advance folks
konzen is offline  
Old 9th May 2008, 02:20 PM   (permalink)
Default

Hi,

Maxim produces exactly what you need, an USB interfaced 1wire/iButton reader, complete with Java source code. Check out the datasheet http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3834 . Note that you can also build this adapter from scratch, the DS2490 IC is handing everything.

Jay.
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th May 2008, 03:53 PM   (permalink)
Default

I'm aware of the USB adapter maxim is offering. however, I want to utilize the reader that I have with me right now. I have the appropriate hardware to read the ibutton but I just need advice on how to build an intermediate USB connector between the reader and the PC.

To make things clearer the reader that I have now with me is the DS9092 model as shown on this page. It has two wires coming out of it.

http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2974/t/al

Can this be done? thank you.
konzen is offline  
Old 9th May 2008, 04:00 PM   (permalink)
Default

That's not a reader, but only a mechanical iButton holder, which could be connected to the reader I pointed in my previous post. The 'reader' what you have only provides you access to the 1wire bus (you can't solder wires on the iButton).
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th May 2008, 05:18 PM   (permalink)
Default

Thanks. I'm gonna do more reading. Anyway have you ever developed an ibutton interface before?
konzen is offline  
Old 9th May 2008, 05:30 PM   (permalink)
Default

Many of us have, it's not that difficult. DalSemi has plenty of application notes.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 9th May 2008, 05:34 PM   (permalink)
Default

Actually yes I have.

I used DS1402D-DR8 (iButton holder) and connected it via RJ-12 jack to a USB reader based on DS2490. The datasheet of DS2490 has a reference schematic that I used. It is a very simple design, but works great. The Software is free directly from Maxim.
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th May 2008, 05:49 PM   (permalink)
Default

I see.

So do you guys suggest that I obtain an adapter like you did? Or is there a way to do it with the existing probe that I have?
konzen is offline  
Old 9th May 2008, 05:56 PM   (permalink)
Default

You need the adapter. The probe you have contains no electronics and is meant to attach to a microcontroller or adapter.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 9th May 2008, 06:05 PM   (permalink)
Default

You can use the probe you already have, it's the reader that you should be concerned about.
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th May 2008, 06:07 PM   (permalink)
Default

Cool. My supervisor did tell me to use a microcontroller to read the ibutton. But obtaining the microcontroller and learning how to use it requires time. So right now I'm trying to find ways of directly connecting it to the embedded computer. Guess I should get an adapter then. However, I did read somewhere on the maxim site that I could let the software handle all the reading and all I need is just a simple circuit with a pull up resistor. I might be giving that a shot.
konzen is offline  
Old 9th May 2008, 06:17 PM   (permalink)
Default

You can toggle an I/O pin to read an iButton. But that may not be as easy as you may think. The iButtons are very timing sensitive.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 9th May 2008, 06:27 PM   (permalink)
Default

I suggest you first learn what an iButton is: http://www.maxim-ic.com/appnotes.cfm/an_pk/3808
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Old 9th May 2008, 06:33 PM   (permalink)
Default

I thought of doing that too but then apparently it's quite difficult lol.

Yeah I've gone through quite abit on ibuttons and I roughly know what it does. Just wanna find out alternatives methods of interfacing the ibutton.

Thanks abunch
konzen is offline  
Old 9th May 2008, 06:42 PM   (permalink)
Default

I would suggest to use the Serial Port, and not USB. Embedded computers still have them. And it is much easier this way.

Have a look at http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2983 (notice the schematic diagram in the datasheet).

Jay.
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
usb flash memory and pic x_sa07 Micro Controllers 28 23rd April 2008 03:22 PM
USB Power hack with DC/DC Converter - am I crazy? chconnor Electronic Projects Design/Ideas/Reviews 14 8th March 2008 10:13 PM
PIC 18F4550 interacing with USB amax Micro Controllers 7 21st December 2007 03:13 PM
Help needed developing USB peripheral using HID class Adester Micro Controllers 4 22nd November 2007 03:42 PM
usb interfacing problems for a waveform generator simonharvey Electronic Projects Design/Ideas/Reviews 0 27th September 2007 12:32 AM



All times are GMT. The time now is 09:28 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker