Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers > 8051/8951


8051/8951 A specify forum for the Intel 8051/8951 single chip microcontroller.

Reply
 
Tools
Old 20th January 2006, 06:10 AM   #1
Default need urgent help on interfacing USB bluetoothdongle wit 8051

i need to sense some parameters n do data loggin on pc
i intend to use 8051 n interface it wit a USB bluetooth dongle so that i can send data wirelessly to PC using a similar dongle on PC side i dont have problems interfacing dongle to PC but need help on interfacing dongle to 8051 via USB
prasaddinkar is offline  
Old 20th January 2006, 06:49 PM   #2
Default

The answer is very simple - DON'T!

Buy an RS232 Bluetooth dongle, and a MAX232 IC. A search of MAX232 RS232 on google will give you the circuit required, as will the datasheet.

If you really must - for example, if your tutor insists, then buy a USB to RS232 interface IC, like the FT232.

Dont even think about trying to perform the USB stack in the 8051, you will not have enough time to work out how to do it.

~Mike.
__________________
www.drivesentinel.co.uk - Homebrew GPS Speed Camera Detectors
MikeHibbett is offline  
Old 22nd January 2006, 05:54 PM   #3
Default

thanx a ton actually i also was thinkin on same lines...
but can u tell me is it poss 4 a rs232 dongle 2 send data 2 a usb dongle on pc side i mean if i interface rs232 dongle to 8051 den is it poss to establish a link wit a usb dongle on pc side n do data loggin....n wat abt data syncro wont it create problems......?
prasaddinkar is offline  
Old 22nd January 2006, 06:12 PM   #4
Default

No, you cannot do that.

Actually I cannot see why you might want too; perhaps you could explain.
You would get better range by simply connecting the uart port of the 8051 (via a RS232 level shifter ) to the RS232 port on the PC.

You could not physically connect two usb dongles together either, because a USB dongle implements the USB-DEVICE mode of operation, while a PC implements the USB-MASTER mode. The USB-MASTER is much more complex than a USB-DEVICE, mostly in software.

Regards,

Mike.
__________________
www.drivesentinel.co.uk - Homebrew GPS Speed Camera Detectors
MikeHibbett is offline  
Old 23rd January 2006, 07:08 PM   #5
Default

i got it thanx...can u please tell me one thing that if i interface a RS232 dongle to 8051 n a similar dongle to PC side den will i encounter any syncro probs..also like USB dongles r der any drivers 4 RS232 dongles that need 2 b loded on PC n if yes wont it create any probs on Mc side..n also if any bluetooth enabled mobil or a PDA comes in range will i b able 2 recieve data on it coz in case of a USB dongle i can..dats y i had asked....
thanx 4 all ur help seriously u r my sole source of info on dis bluetooth being a latest tech......:-)
prasaddinkar is offline  
Old 23rd January 2006, 07:45 PM   #6
Default

How the dongle will work - ie, how it decides which bluetooth device it should connect to - is down to the manufacutrer. Find a supplier - like Brain Boxes, or Black Box - and down load the user guide.

Mike
__________________
www.drivesentinel.co.uk - Homebrew GPS Speed Camera Detectors
MikeHibbett is offline  
Old 24th January 2006, 12:46 AM   #7
Default

Quote:
Originally Posted by prasaddinkar
i got it thanx...can u please tell me one thing that if i interface a RS232 dongle to 8051 n a similar dongle to PC side den will i encounter any syncro probs..also like USB dongles r der any drivers 4 RS232 dongles that need 2 b loded on PC n if yes wont it create any probs on Mc side..n also if any bluetooth enabled mobil or a PDA comes in range will i b able 2 recieve data on it coz in case of a USB dongle i can..dats y i had asked....
thanx 4 all ur help seriously u r my sole source of info on dis bluetooth being a latest tech......:-)
BTW, is there something wrong with your keyboard and you can't use all letters or are you using your cell phone's sms to post here? :?
__________________
"Having to do with Motion Control"
motion is offline  
Reply

Tags
8051, bluetoothdongle, interfacing, urgent, usb, wit

Thread Tools
Display Modes




All times are GMT. The time now is 07:50 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker