• AVR Freaks

"PIC Drives an USB Bluetooth" Project

Author
dawoud1984
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2006/09/27 07:52:48
  • Location: 0
  • Status: offline
2006/09/28 06:12:15 (permalink)
0

"PIC Drives an USB Bluetooth" Project

Hi everybody;
Its me again with my project, I have a little bit different idea about making PIC Host to a Bluetooth Dongle.
I want to make a partial PIC Host without depending on all USB standards. I'll use USB Monitoring programs to identify the packets, so I'll know many thing about my dongle, thus I'll use the most important packets. Does this make sense?
But I will also face another problem related to frequency use.
However, I still want to know how to use the Bluetooth dongle, I don't know the protocol of the Bluetooth
on USB. Can anybody give me an advice?
 
#1

10 Replies Related Threads

    ric
    Super Member
    • Total Posts : 26973
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    RE: "PIC Drives an USB Bluetooth" Project 2006/09/28 06:37:15 (permalink)
    0
    Forget it. You cannot do it. The PIC SIE is not able to act as a master.

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #2
    DarioG
    Allmächtig.
    • Total Posts : 54081
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: Oesterreich
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2006/09/28 07:58:11 (permalink)
    0
    And, if you need Bluetooth, buy a SPI o RS232 driven Bluetooth daughter board . This way you'll be able to use Bluetooth with a PIC.

    GENOVA :D :D ! GODO
    #3
    jetcode
    Super Member
    • Total Posts : 886
    • Reward points : 0
    • Joined: 2004/06/19 09:45:59
    • Location: San Geronimo Valley
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2006/09/28 08:53:29 (permalink)
    0
    ORIGINAL: dawoud1984

    Hi everybody;
    Its me again with my project, I have a little bit different idea about making PIC Host to a Bluetooth Dongle.
    I want to make a partial PIC Host without depending on all USB standards. I'll use USB Monitoring programs to identify the packets, so I'll know many thing about my dongle, thus I'll use the most important packets. Does this make sense?
    But I will also face another problem related to frequency use.
    However, I still want to know how to use the Bluetooth dongle, I don't know the protocol of the Bluetooth
    on USB. Can anybody give me an advice?


     
    Your best bet is to use a serial interface Bluetooth modem or incorporate USB host silicon ... most embedded systems integrators use serial modem Bluetooth on the embedded side and a Bluetooth dongle on the PC side. For Pico-net a system of one or more embedded devices would be connected by serial modem.
     
    #4
    muhzd
    Super Member
    • Total Posts : 861
    • Reward points : 0
    • Joined: 2008/05/15 10:43:19
    • Location: Malaysia
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2009/02/24 16:01:03 (permalink)
    0
    Is this entirely impossible? What does it mean that a 18f4550 SIE is not able to act as master?

    It cant receive or transmit data?
    post edited by muhzd - 2009/02/24 16:02:24
    #5
    comerer
    New Member
    • Total Posts : 20
    • Reward points : 0
    • Joined: 2007/03/12 06:55:06
    • Location: United Kingdom
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2009/02/25 07:23:24 (permalink)
    0
    It means that 18f4550 controller can't talk to the Bluetooth USB dongle. In no any way at all. It can talk only to a host (computer).

    http://www.labcenter.co.uk Proteus VSM - Schematic Based Software Simulation. Now includes PIC18 USB Simulation
    #6
    muhzd
    Super Member
    • Total Posts : 861
    • Reward points : 0
    • Joined: 2008/05/15 10:43:19
    • Location: Malaysia
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2009/02/26 02:43:57 (permalink)
    0
    how come?
    #7
    microtoad
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2009/03/11 05:17:10
    • Location: 0
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2009/04/15 07:52:04 (permalink)
    0
    i think it possible to transform a 18f to master
     
    there exist a spi host / peripheral usb component at maxim : MAX3421E
     
    so i think when you associate MAX3421E + 18F4550 = usb host (master)
     
    i think it's a possibilitie!!
     
    #8
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2009/04/15 19:34:21 (permalink)
    0
    ORIGINAL: microtoad

    i think it possible to transform a 18f to master

    there exist a spi host / peripheral usb component at maxim : MAX3421E

    so i think when you associate MAX3421E + 18F4550 = usb host (master)

    i think it's a possibilitie!!



    If you go that route, it is similar to  to use PIC32/PI24 with USB host functions. Even then, it may be very difficult for you to write a stack to support bluetooth.

      USB_Links and libusb
    #9
    chinzei
    Super Member
    • Total Posts : 2250
    • Reward points : 0
    • Joined: 2003/11/07 12:39:02
    • Location: Tokyo, Japan
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2009/04/15 20:39:25 (permalink)
    0
    i think it's a possibilitie!!

    Ah, yes.
    We have always possibility in our hands.
    But our life is limited, and difficulties easily discourage us.

    The host hardware implementation is the easier part of the project, as we can apply existing one like MAX3421E or PIC24F/PIC32. The difficulty lies in the implementation of the Bluetooth protocols.

    Take a look at the Bluetooth specs.

    Bluetooth Specification Documents
    http://www.bluetooth.com/Bluetooth/Technology/Building/Specifications/Default.htm

    The host interface follows this part of the spec.

    Core V2.1 + EDR.pdf
    Volume 4 - Host Controller Interface (HCI) - USB TRANSPORT LAYER
    http://www.bluetooth.com/NR/rdonlyres/F8E8276A-3898-4EC6-B7DA-E5535258B056/6545/Core_V21__EDR.zip

    OR

    Volume 4: HCI Transports
    Part C - USB TRANSPORT LAYER
    http://www.bluetooth.com/NR/rdonlyres/24C24181-5B5D-4566-BB4F-D4C302910B9D/1766/Volume4_SPEC.pdf

    Also visit to the MS WHDC site, as the most of Bluetooth-USB dongles on the market follow the MS implementation.

    Bluetooth Wireless Technology FAQ - 2008
    http://www.microsoft.com/whdc/connect/wireless/Bth_FAQ.mspx
    MS Bth_FAQ.docx
    http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/Bth_FAQ.docx

    Upon this HCI layer, you have to implement several layers of the protocol stack, depending on your application.

    If you still think it's possible for you, go ahead.

    Good luck.

    Tsuneo
    #10
    microtoad
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2009/03/11 05:17:10
    • Location: 0
    • Status: offline
    RE: "PIC Drives an USB Bluetooth" Project 2009/04/16 00:50:26 (permalink)
    0
    thanks for documentation tsuneo
    it's very interesting i watching it close
     
    i don't know if it's possible for me but i think ( and i know ) that if there aren't any project about that on the web ( i can't find it ) it's a very difficult project ....
     
    i don't say that it's possible for me but i can't seek a possibilitie...
     
    are we hobbist / student in electronics ( for me ) or not??!!! lol
     
    when i look price of module bluetooth on the web it's so expensive !!!
     
    if only we all work on this it was so cool....
     
     
    #11
    Jump to:
    © 2020 APG vNext Commercial Version 4.5