Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Interfacing Bluetooth USB Dongle with PIC18F4550

Status
Not open for further replies.

saeed_pk

Full Member level 4
Joined
May 20, 2006
Messages
238
Helped
35
Reputation
68
Reaction score
27
Trophy points
1,308
Location
Islamabad, Pakistan
Activity points
2,667
pic18f bluetooth

Dear All;
I have a problem in which i have to interface Bluetooth Dongle with my PIC
I want to transmit data serially over bluetooth protocol
here is the scheme

[Seial Data] <----> [PIC18F4550]<-->[Bluetooth Dongle] ~~~~~~~~~~


~~~~~~~~~ [Bluetooth Dongle]<--->PIC18F4550]<-->[Serial Data Out]


I want to replace my serial communication Cable(RS232) Please help me in this regard
Is this possible to make some solution like that
I need the firmware codes to control that Bluetooth Dongle
Information/Specification about bluetooth is also required.
 

blueroomelectronics

Advanced Member level 5
Joined
Sep 17, 2006
Messages
1,686
Helped
179
Reputation
356
Reaction score
77
Trophy points
1,328
Location
Toronto, Canada
Activity points
8,696
pic18 bluetooth

You need a serial bluetooth adapter, the USB one won't work with the 18F4550. (they are both USB clients, you need a USB host)
 

Kripton2035

Advanced Member level 4
Joined
Jul 19, 2001
Messages
1,164
Helped
209
Reputation
422
Reaction score
182
Trophy points
1,353
Location
Western Europe
Activity points
7,864
pic 18f4550 bluetooth

you can do it with pic24f, but not with pic 18 as explained above: pic18 is only usb client
pic 24f can be host and client
warning: not all pic24f can do it...
 

saeed_pk

Full Member level 4
Joined
May 20, 2006
Messages
238
Helped
35
Reputation
68
Reaction score
27
Trophy points
1,308
Location
Islamabad, Pakistan
Activity points
2,667
pic18f4550 bluetooth

It means i can't interface USB Data Traveler(Flash) device to my PIC for data storage as this is a client too.
please advice
 

Kripton2035

Advanced Member level 4
Joined
Jul 19, 2001
Messages
1,164
Helped
209
Reputation
422
Reaction score
182
Trophy points
1,353
Location
Western Europe
Activity points
7,864
bluetooth pic18f

you can use a pic24f which supports usb host,
or use maxim max3420 which is a spi interface and supports host usb too. it will make a link between your pic18f and your usb client device.
 

muoinhohn

Full Member level 2
Joined
Nov 5, 2004
Messages
135
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Location
Hanoi
Activity points
1,007
how to make serial bluetooth dongle

I think it is a difficult task if we use microcontroller (like pic24f) for interfacing with USB dongle, because we need implement one USB driver that manufacturer of USB dongle do not give to us.
Muoinhohn
 

blueroomelectronics

Advanced Member level 5
Joined
Sep 17, 2006
Messages
1,686
Helped
179
Reputation
356
Reaction score
77
Trophy points
1,328
Location
Toronto, Canada
Activity points
8,696
bluetooth dongle usb pic18

muoinhohn said:
I think it is a difficult task if we use microcontroller (like pic24f) for interfacing with USB dongle, because we need implement one USB driver that manufacturer of USB dongle do not give to us.
Muoinhohn

You nailed it. It's also much more than just a driver, it's also the bluetooth stack.
 

issaiass

Member level 3
Joined
Oct 21, 2004
Messages
59
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,288
Activity points
404
18f4550 usb bluetooth

if your goal is to make bluetooth communications, why you only buy an embedded module?... search in www.a7eng.com, the modules are for dummies... string commands.
 

felis_CO

Junior Member level 1
Joined
Dec 3, 2007
Messages
16
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,342
18f4550 bluetooth

Kripton2035 said:
or use maxim max3420 which is a spi interface and supports host usb too.

MAX3420 is peripheral only. The USB host is MAX3421E. I'm developing code for this controller; the USB layer is pretty compact, around 3-5K. I don't have BT driver for it though, only HID atm.
 

tariqsaeed

Newbie level 6
Joined
Jan 7, 2009
Messages
11
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,348
Dear, saeed_pk I have the same issue with one of my students projects and although I intially agreed with blueroomelectronics but I continued my search.

I came up with this Project by "three Juniors in Cornell University's College of Engineering." at the following link. https://courses.cit.cornell.edu/ee4...ct23/blh36_cdl28_dct23/index.html#codelisting

They achieved the seemingly impossible.

I hope it helps.
Please note that there is a work around to do it the other way around too; using a simple controller to function as a USB device. the link is: http://www.cesko.host.sk/IgorPlugUSB_RS232/IgorPlug-USB%20(AVR)%20RS232_eng.htm
(Please select the entire line above and paste it in your browser for it to work)
 

El-Master

Newbie level 6
Joined
Feb 10, 2010
Messages
12
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
USA
Activity points
1,337
Yeah...a standard serial Bluetooth adapter will make this project much easier. I made a similar setup with this standard Blutooth adapter and its easy to setup, configure and use.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top