electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Interfacing Bluetooth USB Dongle with Microcontroller


Goto page Previous  1, 2, 3, 4
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Interfacing Bluetooth USB Dongle with Microcontroller
Author Message
krishnasty



Joined: 14 Oct 2008
Posts: 9


Post24 Jan 2009 19:01   

l2cap stack on mcu


k..
then do u have ne other approach to design such a system??
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1681
Helped: 99
Location: Toronto, Canada


Post24 Jan 2009 19:44   

how to interface microcontroller and bluetooth


Yes use a module with standard serial I/O (not USB)
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post24 Jan 2009 22:44   

otg bluetooth interfacing dongle


Dongle, Module, Adapter, Widget...I seem to be seeing a mix of terms so just fer giggles I'll offer some standards here so we can be on the same page:

USB Bluetooth Dongle: A USB device that plugs into a USB port on a PC or other piece of equipment. Sometimes also called ADAPTER and can be DUMB or INTELLIGENT.
DUMB EXAMPLE: http://us.kensington.com/html/9403.html
INTELLIGENT EXAMPLE:http://www.rovingnetworks.com/rnusbx.php

Bluetooth Module: A complete bluetooth device for embedding into other equipment that has on board intelligence and usually has a choice of desired interface options such as RS232 (whether TTL or true RS232 voltage levels) SPI, I2C, I2S. Usually a small PCB with various mounting options.
Example: http://www.rovingnetworks.com/bluetooth-modules.php

RS232 Bluetooth ADAPTERS: Sometime refered to as a DONGLE. Usually considered a plug on device with a 9 pin D tyype connector that adapts true RS-232 voltage levels and communication protocols to Bluetooth. These are INTELLIGENT. Like the one recommended earlier by blueroomelectronics.
Another example or http://www.rovingnetworks.com/bluetooth-serial-adapters.php.

Now for a quick where I'm at in my project...... I am having trouble getting the Vinculum into DATA MODE. It does it with my DUMB bluetooth dongle but *NOT* if I have NOTHING plugged in or if I have a FLASHDISK plugged in. Factory support says it should go into DATA MODE in any of these conditions. So until I get it to work in ANY of these CONDITIONS like they say, this Vinculum is a NO-GO.
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post25 Jan 2009 20:40   

bluetooth interfacing with 8051


2 completely seperate circuit cards with the Vinculum on them and still no DATAACK response as advertised. Still contacting support. Won't hear back from them til tomorrow.
Back to top
krishnasty



Joined: 14 Oct 2008
Posts: 9


Post29 Jan 2009 18:11   

pic usb bluetooth


guys, i tried to work something out. i have managed to use a bluetooth dongle to push(not transfer) the text written on the comp to any bluetooth device using java.. i have the code that has to tranfered. i just need the hardware where i can connect a designed system to the comp on one end and a dongle on the other end and that will work as my external device..any ideas???
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post29 Jan 2009 20:26   

ic microcontroller bluetooth


So you have a JAVA app that you run on your computer. This same computer has a USB bluetooth dongle plugged into it. So you type stuff into the JAVA app and this is "PUSHED" out to a device.. "Any bluetooth device?" It's easy enough to get a couple of computers set up with a bluetooth dongle on each and fire up hyperterminal. Using SPP you can type on one computer and see it received on the other one. After DISCOVERING and PAIRING and PASSKEYING

What is the "any device" that you tested with?
Back to top
Google
AdSense
Google Adsense




Post29 Jan 2009 20:26   

Ads




Back to top
krishnasty



Joined: 14 Oct 2008
Posts: 9


Post31 Jan 2009 20:12   

bluetooth mcu


whenever u fire up a hyper-terminal, there r few things which r involved.
1st- the second computer asks for the permission to to accept the incoming connection. if the host declines it, the data WONT be passed. the code which i wrote elminates that situation. the data which i would send will be recieved on the device without its permission. i.e., it will be forced on the host.
2nd- whenever we use a bluetooth conventionally, the data transmission is one on one. the code which i wrote is actually broadcasting the data instead of the going to one on one connection. this is helpful when u have multiple bluetooth devices in range.
i just found a little glitch in my code. i have a nokia 6600 and i was able to send the data on my cell. but when i tried the same thing with motorolla cell( which my frnd owns), it was not succesfull. the problem, which i suppose is with the port number. i am not able to figure out which port moto uses for obect reception. Crying or Very sad
anyways, i am still trying and will keep u updated if any thing comes up. meanwhile, did anybody come up with the hardware stuff?
guys help me out..
thnx..
Back to top
niket_304



Joined: 21 Dec 2005
Posts: 74


Post01 Feb 2009 15:05   

nxp isp1160


Hello guys...

Its now more than 2 years I started this thread. My intention was to take advantage of very low cost and easily available Bluetooth dongles for data and audio communication. But I think after a lot of discussion and nearly 100 posts, it seems to be impossible to design a complete embedded device interfaced with bluetooth dongle.

Well, I am already out of this issue since a long time. But the scenario after two years is lil bit changed. BT Dongles are more cheaper, MCU based systems with USB hosts are easily available, mcu manufacturere are dying to give any kind of support and Open Source environment has become more known and favorable.

I am currently working on Embedded Linux (uClinux), and this platform has led me to come up with new idea.

I think the main problem of interfacing BT dongle was :
1. MCu with USB Host
2. BT Stack (Driver) to manage USB dongle connected to USB port

These can be solved by using higher end MCUs like ARM, Coldfire, MSP...which supports uClinux (www.uclinux.org).
I think uclinux is already equipped with BT stack and driver software for Bluetooth dongles. I presume that all the higher end MCUs based boards on which uclinux is running will definately have USB host controller. In this way, we dont hav to develop any 'Stack' or 'Drivers'.

Although this is entirely new domain, people with some kind of experience in Embedded linux and ARM/MSP based system design can easily do this.
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post02 Feb 2009 15:50   

bluetooth microcontrol driver nasıl


Niket_304:
Yes there are more and more controllers coming out with full USB support. And enough horsepower to run the USB and Bluetooth stacks. And the IP is costed in if not nearly free.

krishnasty:
Basically the same reply to you as Niket_304 but I'd be a little more concerned about the legality of what you are doing. I'm thinking being able to "PUSH" things onto devices without permission would be considered inappropriate or just plain old "HACKING". In a professional setting, this would not be a viable solution.
Back to top
krishnasty



Joined: 14 Oct 2008
Posts: 9


Post03 Feb 2009 17:50   

proxi usb bluetooth pic


i agree with u that the legality of such system might be dangerous or HACKING, as u said, but i had something else in mind when i started the concept. i appreciate ur concern and thats y not leaking out my code. but since, i want to show the entire project in my university, thats y i am continuing it.
also, bout uclinux havin bluetooth stack in it, can it cross compile with java?? and which microprocessor can it support? i am naive on the embedded front and thats y wanted some input in form of design or concept so that atleast i know where to start from.
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post03 Feb 2009 21:32   

bluetooth chip registers must be available


No java experience here. But niket_304 may be able to help out on that subject. For fairly straightforward embedded bluetooth applications using the MHZ and MEMORY CHALLENGED range of microcontrollers, the bluetooth modules as suggested by blueroomelectronics is a good way to go. Most have UART or other interface options you can hook straight up to your controller. Code up some simple commands as required by the module and you're cookin with gas!.
Back to top
krishnasty



Joined: 14 Oct 2008
Posts: 9


Post04 Feb 2009 19:07   

bluetooth stacks microcontroller


i visited blueroomelectronics but couldnt understand single thing..r these just the platforms or wat?and i dont know wat all things i need to make the system work, let aside the coding of the controller..can somebody alteast show me a way to gather stuffs which i could require to make such an system. moreover, i would need a controller/processor which would work uclinux as that would save the pain of writing a bluetooth stack( if i ever could!!!)..
guys, do help me out..
thnx.
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post05 Feb 2009 5:38   

pic usb bluetooth dongle


Like bluerooms site says on the home page, they design electronic kits that use the PIC models of microcontrollers as the brains. I didn't suggest you go to the blueroom site to find an appropriate platform for your project.

Maybe some one here has had experience using a bit more powerful controller that is supported by uclinux, has the USB stack included and has the scoop on bluetooth stack availability for the same part. I am sure they'll chim in here any time now. Freescale coldfire is offering a developement demo board for 50 buck that has usb and ethernet capabilities on it. Probably won't last too long.
Back to top
niket_304



Joined: 21 Dec 2005
Posts: 74


Post05 Feb 2009 11:39   

microcontroller - bluetooth


There are many higher end MCUs which supports uClinux. This is very interesting subject and prob. you need to put more efforts to start with Embedded Linux platform, after that thing will go smoothly.

krishnasty wrote:
i visited blueroomelectronics but couldnt understand single thing..r these just the platforms or wat?and i dont know wat all things i need to make the system work, let aside the coding of the controller..can somebody alteast show me a way to gather stuffs which i could require to make such an system. moreover, i would need a controller/processor which would work uclinux as that would save the pain of writing a bluetooth stack( if i ever could!!!)..
guys, do help me out..
thnx.


As a newbie, I wud suggest you to choose appropriate platform or MCU which wud satisfy memory and power needs as per ur system specifications. ARM,Coldfire,MSP are the best processors to run uClinux, if you do not have mixed signal processing. You will have to get a development board of one of the processors which is supported by uClinux. Just google about uClinux, you will find step by step info on porting uClinux on ARM/CF based boards and all.


I have recently started working on uClinux with Blackfin DSPs...and Blackfin uClinux does have support of bluetooth networking.
(http://docs.blackfin.uclinux.org/doku.php?id=bluetooth)
So I can assume that even ARM uClinux will also have such kind of support, as blackfin uClinux and ARM uClniux are using same kernels..

Checkout following links for quick info abt dis domain...

www.uclinux.org
http://docs.blackfin.uclinux.org/
http://www.arm.linux.org.uk/

Added after 24 minutes:


shingadaddy wrote:
Freescale coldfire is offering a developement demo board for 50 buck that has usb and ethernet capabilities on it. Probably won't last too long.


Can you give more information about the demo board...Where did you find this offer?? It wud be a great deal to get CF demo board gor just $50...
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post05 Feb 2009 15:02   

microcontroller bluetooth dongle interface


niket_304 wrote:
Can you give more information about the demo board...Where did you find this offer?? It wud be a great deal to get CF demo board gor just $50...


http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=0162468rH3YTLC0ECB5FDD&tid=K09ABMS16P63
Back to top
niket_304



Joined: 21 Dec 2005
Posts: 74


Post05 Feb 2009 15:24   

bluetooth microcontroller interfacing


Thanks shingadaddy...........

But dis is CF V2 family of MCUs which does not support uClinux...memory subsystem provided in dis demo board is very low and incompatible to run uClinux on it.... I think only CF V3 and V4 are supported by uClinux...
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post05 Feb 2009 16:26   

connect usb bluetooth dongle microcontroller


Glad you are well versed enough to recognize these aspects. I received the info in an EMAIL. Being unfamiliar with their offerings, I was merely going off the information about full USB support and ETHERNET capabilities. Yeah I noticed the RAM was pathetically puny. Your experience with this range of offerings is a good asset! Maybe fishing around on their site might dig up some other offering that does fit the desired specs. Maybe also their is a place one can surf to, that lists the uclinux platforms / compatibilities. I've not been in that water Sad
Back to top
niket_304



Joined: 21 Dec 2005
Posts: 74


Post05 Feb 2009 16:57   

microcontroller bluetooth chipset interface


you might get some useful info abt uClinux supported boards here:
http://www.ucdot.org/search.pl?topic=9


Last edited by niket_304 on 01 Apr 2009 17:48; edited 1 time in total
Back to top
shingadaddy



Joined: 16 Dec 2008
Posts: 24


Post05 Feb 2009 21:27   

bluetooth microcontroller


USB bluetooth and microcontroller.

http://www.electro-tech-online.com/micro-controllers/86894-interfacing-bt-micro-controller-3.html#post692964
Back to top
balamadras



Joined: 20 Feb 2009
Posts: 1


Post07 Sep 2009 15:36   

usb+bluetooth microcontroler


In short, To interface a USB bluetooth dongle with microcontroller we must understand the dongle.

The dongle doesnt consist of bluetooth stack. its just a 2.4GHz RF transmitter and receiver and can be interfaced with USB.

On the other end microcontroller needs HOST capability. USB HOST(master) are little complex than USB DEVICE (slave).

Third u need specification for the protocol used in bluetooth dongle. for bluesoil u can find in its SDK_Documents. u can find this in following link : http://www.bluesoleil.com/download/

Fourth u need to modify the SDK to suit ur application. Suppose if u have non-OS platform, then u need to remove OS dependencies.

All the Best !!
Back to top
rclayworth



Joined: 23 Sep 2009
Posts: 1
Location: USA


Post23 Sep 2009 21:47   

interfacing microcontroller to bluetooth


Looks like this thread hasn't been updated in a while.

I've been wanting to do this type of uC interfacing also.

Check this chip/chipset out for possibilities:

CSR's Bluecore stuff.
Back to top
prathap07



Joined: 15 Oct 2009
Posts: 1
Location: karnataka


Post15 Oct 2009 16:45   

Re: Interfacing Bluetooth USB Dongle with Microcontroller


hi
a nice discussion..i need to know how pc communicates with usb devices,what code it sends for hand shaking,for data sending and is that applicable to microcontroller.if any one have those hex codes/c++/c codes or having link of site having that please help me.
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1681
Helped: 99
Location: Toronto, Canada


Post16 Oct 2009 3:24   

Interfacing Bluetooth USB Dongle with Microcontroller


You could download a USB sniffer and see what the data looks like.
Back to top
dannym



Joined: 13 May 2004
Posts: 11


Post02 Nov 2009 22:58   

Re: Interfacing Bluetooth USB Dongle with Microcontroller


Actually I've been working on this.

The BCM2045 chip has multiple interfaces, including USB, SPI, and UART. My first guess is that any of these interfaces is equally capable of carrying the Rx and Tx traffic.

The dongels are remarkably cheap and contain your primary oscillator, 5v-to-3.3v regulator, and antenna. And, at up to 3 Mbit/sec, this could do some neat stuff.

However, the BCM2045 chip is a fine pitch, high pin count BGA. IF the pcb does not include wires to route the UART or SPI pins away from the BGA, you cannot connect them without making a new board. The BT USB dongel boards are pretty minimal and it seems unlikely they'd route wires away from the chip which they have no use for in the USB application.

Making a new board may be difficult due to the density of the BGA, and, well, the fact that it's a BGA. The board would need to address the RF concerns on the signal and implement an onboard antenna.

Even if you do have another type of device which is not a BGA with hidden, inaccessible pads, you won't have the luxury of big, easy-to-attach gold-plated pins as used on the USB port. You'll be soldering fine-gauge wire wrap wire to a very fine pitch pin under a magnifying glass.

I've been looking for a spec sheet for the BCM2045 but unfortunately it has never been released online. There's a 2-page product brief which shows the chip has a UART and SPI port but no info on how to use it or even which pins those come off of. I don't know what kind of handshaking and framing and all has to go on over these ports, I doubt it's just a data layer where you put in SPI on one unit and get SPI out another like was a straight-wire thing.
Back to top
glenjoy



Joined: 01 Jan 2004
Posts: 1028
Helped: 47
Location: Philippines


Post03 Nov 2009 23:11   

Interfacing Bluetooth USB Dongle with Microcontroller


Use LMX chip by National Semiconductor.
Back to top
dannym



Joined: 13 May 2004
Posts: 11


Post05 Nov 2009 7:25   

Re: Interfacing Bluetooth USB Dongle with Microcontroller


LMX would cost like 10x more (well, on Digikey) and it appears they're all BGA, which presents a prototyping problem.

There's the Microchip MRF24J40MA-I/RM for IEEE 802.15.4 stuff though, and it's got an excellent 400m LOS range, like $10 for a complete module on Mouser.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Interfacing Bluetooth USB Dongle with Microcontroller
Page 4 of 4 All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4
Similar topics:
interfacing bluetooth USB dongle with microcontroller board (5)
Interfacing Bluetooth USB Dongle with PIC18F4550 (9)
usb bluetooth dongle (2)
Interface a chip Bluetooth insidea dongle to microcontroller (1)
cypress ez usb fx2 microcontroller, interfacing with usb .? (2)
cypress ez usb fx2 microcontroller ,, interfacing with usb ? (1)
Connecting two embedded systems using Bluetooth USB Dongle? (17)
Interfacing microcontroller with USB (13)
Interfacing bluetooth to microcontroller and Bluetooth to PC (10)
Interfacing USB storage device with microcontroller (23)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS