electronics forum

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

Interfacing Bluetooth USB Dongle with Microcontroller


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



Joined: 21 Dec 2005
Posts: 74


Post03 Jan 2007 18:09   

usb to bluetooth serial mcu


Hey thats all about Hardware. But what about software?
You have to develop a complete driver to control Bluetooth USB Dongle i.e. we can call 'Bluetooth Stack'. So one need to study the entire protocol, communication process etc. and develop a code according to it. What do you say?
Back to top
DDS



Joined: 12 May 2006
Posts: 40
Helped: 2
Location: Ukraine


Post06 Jan 2007 12:27   

wt12 bluetooth pic


Hi,

Yes that's a right suspense but... As far as I'm concerned, we could not expect to develop a sophisticated driver for already modest microcontroller driven embedded host system.
At the very beginning, this topic is opened to provide cable-free communication possibility between embedded host/peripherals with using easily available and cheap Bluetooth USB dongles.
So, I think it would be sufficient serial protocol called as SPP (Bluetooth Serial Port Profile) unless used specific peripherals which having own embedded bluetooth subsystem(like GSM, PDA etc.)

Regards
Back to top
niket_304



Joined: 21 Dec 2005
Posts: 74


Post06 Jan 2007 19:58   

cheap bluetooth microcontroller


Ya that is true that we have to develop only a part of Bluetooth protocol stack. but there should be some way to communicate with bluetooth dongle. for e.g. like serial modem accepts AT commands etc. So do u have any idea about communication/commanding/controlling USB bluetooth dongle?
and yes, The question of USB hosting/driver software part is also hanging around. Is there any support for USB host controller coding?
Back to top
seadolphine2000



Joined: 12 Apr 2005
Posts: 621
Helped: 39


Post06 Jan 2007 23:35   

connect bluetooth to microcontroller


I found this code in the manual of the MikroBasic software. Please check page 271
It's an example for sending a sequence of numbers to the PC via the USB port.
I think we can modify it some how to connect the Bluetooth dongle instead of the PC.

I have a small question about the code written in this manual. The sequence of numbers is sent via USB cable to what.? What is the destination.? I mean how can I see the received sequence.?

Thanks for all your help.



Sorry, but you need login in to view this attachment

Back to top
niket_304



Joined: 21 Dec 2005
Posts: 74


Post07 Jan 2007 10:26   

avr bluetooth dongle


I think first step towards communication between USB Host and Dongle is

-to establish a USB communication between PC and Dongle independently.
i.e. first develop a VB code or C program to communicate with dongle without its own drivers (coz every dongle comes with BT driver and BT stack for windows by which we can easily use Dongles. this drivers are so userfriendly and flexible that we just have to click once and it establishes serial communication between dongle and PC which hides actual technicality of Bluetooth Stack for Windows) as well as using PC host USB driver codes.

-USB codes are easily available for PC. so we can move further to get familier with Dongle.
so we have to find/develop a small part of bluetooth stack for USB dongle and VB code to communicate PC with USB peripherals.

-then we can go for replacing PC with an embedded solution.
because we even dont know how to communicate with dongle and how to give commands to USB dongle so that appropriate bluetooth communication can be established between Mobile and Dongle.

What do you think??

I Thank you all for your co-operation and please be active and updating this topic.
Back to top
dainis



Joined: 15 May 2001
Posts: 1451
Helped: 56


Post07 Jan 2007 16:31   

bluetooth pic micro


Look for source code:
http://tuxmobil.org/bluetooth_linux.html

USB Devices
Quotation from ../linux/Documentation/usb/bluetooth.txt of kernel 2.4.5: "The USB Bluetooth driver supports any USB Bluetooth device. It currently works well with the Linux USB Bluetooth stack from Axis· (available at http://developer.axis.com/software/bluetooth/ ) and· has been rumored to work with other Linux USB Bluetooth stacks."

http://repair4laptop.org/notebook_bluetooth_selfmade.html
http://www.linux-usb.org/devices.html
Back to top
niket_304



Joined: 21 Dec 2005
Posts: 74


Post07 Jan 2007 17:06   

interface bluetooth to microcontroller


dainis,
Bluetooth stack for Linux is easily available every where. In fact whole project of Mobile-PC BT Communication is available which uses diffrent BT stacks for Linux. But what we are searching is BT stack for Windows, by which we can develop small program to test dongle in C or VB. coz I think most of us are aware and familier of VB/C ,windows and not of Linux. and instead of westing time to tackle with Linux its better that use Windows compatible driver.
One more advantage for Windows stack is it will be easy to migrate the driver/stack from Windows to Embedded controller device.

So do you(or anyone) have any idea about free Bluetooth Stack or related codes for WINDOWS?
Back to top
dainis



Joined: 15 May 2001
Posts: 1451
Helped: 56


Post07 Jan 2007 22:43   

microcontroller bluetooth


niket_304 wrote:
One more advantage for Windows stack is it will be easy to migrate the driver/stack from Windows to Embedded controller device.

So do you(or anyone) have any idea about free Bluetooth Stack or related codes for WINDOWS?


I do not have any Win BT drivers and stack source ....
How migration from binary Windos BT stack is easier than using Linux sources ???
Back to top
Google
AdSense
Google Adsense




Post07 Jan 2007 22:43   

Ads




Back to top
RSABear



Joined: 18 Jul 2007
Posts: 3


Post07 Aug 2007 11:47   

bluetooth dongle operational code mnemonics


This subject has gone a bit quiet for a while…

I am also interested in this topic and also not on an advanced enough level to know the complexity of DDS’s request.

I have purchased a USB Bluetooth Dongle in order to backup my source code from my Laptop to an old PC at home. These Bluetooth dongles are now cheaper than dirt. The manufacturer website is h**p://global.msi.com.tw and product is Star Key.

As I have recently progressed on the PIC and C learning path and moved from flashing lights and reading switches to getting RS232 to work, I was looking for the next natural progression down the path – wireless! I have ordered some low power data transceivers manufactured by radiometrics to experiment with initially, however this Bluetooth dongle changed matters.

I have search up to the last page on Google and I found many Bluetooth to RS232/USB devices from: Sparkfun, Blueradios, Mulitech, BlueSMiRF, BlueSy and even a Toothpick!

Hundreds of RS232 to Bluetooth dongles and RS232 cable replacement devices, but they are so expensive.

I know from this thread that the device driver/api layer might be the biggest problem.

I would like to do the following experiment when I get some time:

Establish simple serial communications between two PC’s running either Linux or Windows using Bluetooth as the communications layer. By this I mean setup the USB and Bluetooth drivers on each PC, pair the systems and enable a Serial Port Profile for each and then use Hyperterminal or sterm/xterm (whatever works on Linux) with a USB sniffer to have a look at the messages. Then see if I could replace the PC on one end with a USB PIC to emulate the PC over the Bluetooth serial communications link. The idea is to only look at the Serial Communications Part of the Bluetooth stack and not the complete Bluetooth implementation.

Is this even worth attempting?

Idea
Back to top
microlab



Joined: 04 Mar 2006
Posts: 106
Helped: 3


Post09 Aug 2007 11:28   

usb bluetooth dongle connect to pic microchip


hai all

this is quite a good topic
what will be range of these 10$ usb dongles?
i think this will work well at open space
but when it comes to the indoor applications,the range will reduce to the room size or a little more.
when we are concidering rf transmission,this attonation will be the main problem.
what could be the solution for this?


thanking you

ml
Back to top
farzad farokhi



Joined: 06 Mar 2007
Posts: 6


Post13 Aug 2007 19:04   

bluetooth dongle avr


Hi all ,
Can I Know , what's the meaning of "Dongle"?
Thanks in advance.
Back to top
devendra_devgupta



Joined: 08 Apr 2007
Posts: 52
Helped: 1


Post14 Aug 2007 9:06   

vinculum bluetooth dongle


Hi every one there is lot of things i have learned from this dicussions. But one thing i want to know why is Bluetooth modules are more costlier than USB bluetooth available.
Are USB bluetooth suitable for industrial applications??
Back to top
farzad farokhi



Joined: 06 Mar 2007
Posts: 6


Post14 Aug 2007 17:32   

bluetooth interfacing to microcontroller


Hi,
Yes , Bluetooth can suiable for Industrial applications. But not for far away distance.
aproximately 200meter .alse Bluetooth via usb can work.
Back to top
devendra_devgupta



Joined: 08 Apr 2007
Posts: 52
Helped: 1


Post15 Aug 2007 4:44   

interfacing of bluetooth with controller


Thanx farzad but my query was not regarding distance. USB dongle bluetooth devices available in computer shops work well under home enviornment but is this true for hazardous high temperature and humidity also.
Back to top
niket_304



Joined: 21 Dec 2005
Posts: 74


Post14 Sep 2007 19:08   

bluetooth hid microcontroller


@RSABear
Hey i think its a gr8 idea to start developin bt stack for windows platform...nd prob. wid small part of it...i.e. SPP....its really worth trying...let us know any progress or important matters regarding this......
Back to top
bryanwizard



Joined: 28 Jul 2006
Posts: 119


Post20 Sep 2007 1:28   

bluetooth microchip pic


Guys I already try using a bluetooth dongle interfacing in a PC. My project is electronic billboard via bluetooth. Which is PC based I done it, late 2006. It mostly programming basics and circuit analysis on how you sent data to the serial port.

Using a nokia cellphone, we have NOTES their. We can sent it thru bluetooth, and receive by bluetooth dongle in the PC. Notes can be converted so that we can sent routine to the port bit by bit.

rgds,
Back to top
reyge



Joined: 23 Jan 2007
Posts: 76


Post20 Sep 2007 4:52   

cheap bcm2045 pairing


Hi bryan!

Can you clarify your last post? Your bluetooth dongle is connected to the PC through USB, right? Then you send data from your nokia cellphone through bluetooth to the PC?

Thanks
Back to top
feline694



Joined: 09 Oct 2007
Posts: 3


Post10 Oct 2007 14:32   

shingadaddy


dear niket

would you mind to change your concept?
If not u can use the nRF24 which has built in MCU with Blue tooth.

let me know your plan

thanks for sharing

feline
Back to top
nileshnesk



Joined: 24 Oct 2007
Posts: 1


Post24 Oct 2007 18:32   

usb bluetooth dongle mcu


how can i interface 89c51 ic with bluetooth dongle?
please suggest me hard ware and software part.
you can send me information/data sheets/circuit diagrams/programs on my email id nileshnesk(at)gmail.com.
please help me this is very important for my academics.
thanking you.
Quote:
Back to top
magician_is



Joined: 15 Jan 2007
Posts: 4


Post26 Oct 2007 7:29   

bluetooth dongle to microcontroller


wow great schematic diagrams!!! i think i might use that for my thesis
Back to top
dsPIC24F



Joined: 04 Oct 2007
Posts: 66
Helped: 14


Post27 Oct 2007 2:44   

bluetooth dongle and microcontroller


any other choice rather than the Max3421E?
Back to top
xirix



Joined: 26 Jun 2001
Posts: 156
Helped: 1
Location: Romania


Post30 Oct 2007 15:32   

microcontroller usb bluetooth


What about ISP1* chips from NXP? Especially ISP1160.
Back to top
RONALED



Joined: 20 Jan 2006
Posts: 8


Post25 Nov 2007 8:01   

pic+bluetootrh usb


HELLO GIVE A CIRCUIT IMPLEMENTATION PLEASE...
Back to top
mmnetmohanedaboard



Joined: 07 Dec 2007
Posts: 2
Location: Coimbatore


Post07 Dec 2007 10:56   

bt dongle mcu


hai i also working on that interfacing broadcom Dongle to PIC 18F4550..
if any details how the dongle communicates with the USB
we can develop that in micro -- need to study HCI Commands

Added after 22 minutes:

here is the hci spec from bluetooth.org

i think many of the USB dongles are working with BCM2045 i got it from local shop here is the datasheet..
and HCI standard Manual



Sorry, but you need login in to view this attachment

Back to top
mmnetmohanedaboard



Joined: 07 Dec 2007
Posts: 2
Location: Coimbatore


Post08 Dec 2007 12:01   

bluetooth usb 2.0 micro controller


hai guys

check out this link

http://www.national.com/pf/LM/LMX9838.html

Complete Bluetooth 2.0 Stack including

• Baseband and Link Manager
• Protocols: L2CAP, RFCOMM, SDP
• Profiles: GAP, SDAP, SPP
• High Integration: Includes Antenna, crystal, EEPROM, LDO
• Supporting up to 7 active Bluetooth data links and 1 active SCO link
• Class 2 operation
• UART Command/Data port speed up to 921.6kbits/s
• Advanced Audio Interface for external PCM codec
• Better than -80dBm input sensitivity
• FCC certified: FCC ID: ED9LMX9838
• IC certified: IC-1520A-LMX9838
• CE Self certified
• Bluetooth SIG QD ID: B012394
• Compact Size: 10mm x 17mm x 2.0mm

then what else you need to interface with a microcontroller...

let us try out it....
Very HappyVery HappyVery HappyVery Happy
Back to top
glenjoy



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


Post09 Dec 2007 2:25   

bluetooth usb dongle code for microcontroller


Has anyone finished this app? I think it is hard to interface USB devices to micros, it jus sucks.

Get an RS232 bluetooth dongle, much better.
Back to top
agk.ganesh



Joined: 17 Dec 2007
Posts: 9


Post17 Dec 2007 18:57   

bluetooth hci command send to mcu


Veru useful thread... Smile
Back to top
mathwiz



Joined: 02 Apr 2008
Posts: 1


Post02 Apr 2008 17:02   

bluetooth dongle interface to microcontroller


hi
i m working on a project where i m interfacing a MCU with bluetooth.
i will send some commands from my bluetooth enabled laptop and the bluetooth dongle fitted on MCU side(its USBport ) will receive d commands n will work.

just d whole idea of connecting dongle with laptop n sending commands is nt clickin??
pls help
wat kind of programming is needed?
and how will the mnemonics be converted into serial bits by the dongle to be understood by the MCU??
pls help
thanks in advance
Back to top
luismarcilio



Joined: 03 Apr 2008
Posts: 1


Post03 Apr 2008 14:58   

usb demo board bluetooth


Hi people.
Did someone make it?
I'm trying exactly the same thing for my graduation project.
I have two options:
USB<->serial<->low cost microprocessor or
low cost bt dongle<->usb host controller<->microprocessor with bluetooth stack.

I will try the second one. If someone already made something like this please share the secrets.

Geek regards.

Luis Marcilio
Back to top
jshroff



Joined: 30 Apr 2004
Posts: 116
Helped: 14


Post03 Apr 2008 17:44   

uclinux bluetooth dongle


mmnetmohanedaboard wrote:
hai guys

check out this link

http://www.national.com/pf/LM/LMX9838.html

Complete Bluetooth 2.0 Stack including

• Baseband and Link Manager
• Protocols: L2CAP, RFCOMM, SDP
• Profiles: GAP, SDAP, SPP
• High Integration: Includes Antenna, crystal, EEPROM, LDO
• Supporting up to 7 active Bluetooth data links and 1 active SCO link
• Class 2 operation
• UART Command/Data port speed up to 921.6kbits/s
• Advanced Audio Interface for external PCM codec
• Better than -80dBm input sensitivity
• FCC certified: FCC ID: ED9LMX9838
• IC certified: IC-1520A-LMX9838
• CE Self certified
• Bluetooth SIG QD ID: B012394
• Compact Size: 10mm x 17mm x 2.0mm

then what else you need to interface with a microcontroller...

let us try out it....
Very HappyVery HappyVery HappyVery Happy



This would be perfect except that it is class 2 so range is limited if it was class 1 it would have been so nice.
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 2 of 4 All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4  Next
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