• AVR Freaks

Hot!How to build Bluetooth HID host using PIC24F

Author
challinan
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2018/01/12 09:16:09
  • Location: 0
  • Status: offline
2018/01/23 20:23:12 (permalink)
0

How to build Bluetooth HID host using PIC24F

After much research, I ordered the RN42 module only to discover that it appears to only support the slave or device side of the Bluetooth interface.  Is there a module available that contains the HCI internal to the module, so that I can easily implement the host side of the HID protocol?  (I have found a couple that seem to be discontinued from sparkfun and microchip.)
 
My application is a super low power black box-like device (based on PIC24F) that would accept connections from an off-the-shelf Bluetooth keyboard as input either PC or MAC style.  It seems building the keyboard side is easy and readily available, but are there any module solutions for the HCI/HID that can be controlled via serial similar to RN42?
 
Any info is much appreciated.
 
Thanks
#1

5 Replies Related Threads

    RISC
    Super Member
    • Total Posts : 5379
    • Reward points : 0
    • Status: offline
    Re: How to build Bluetooth HID host using PIC24F 2018/01/27 14:03:45 (permalink)
    5 (1)
    Hi,
     
    There are several firmware versions of the RN42 module.
    If you go here : https://www.microchipdirect.com/product/RN42 you will see the various versions of this module :
    1/ for HCI : RN42HCI-I/RM  or RN42NHCI-I/RM 
    2/ for HID : RN42HID-I/RM or RN42NHID-I/RM
     
    there is an application note ( AN2160) for PIC18 which could certainly be adapted easily for PIC24 :
    http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en586794
     
    Regards
     
    #2
    challinan
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2018/01/12 09:16:09
    • Location: 0
    • Status: offline
    Re: How to build Bluetooth HID host using PIC24F 2018/01/28 06:47:02 (permalink)
    0
    Thank you for the informative reply.  Oddly, I ordered the RN42HID-I/RM, and what I received was a module with no suffix after RN42.  I called Microchip Direct, only to be told that the RN42-I/RM was a direct replacement for the RN42HID-I/RM.  Also please note that the RN42HCI-* shows as N/A (not available.)  
     
    So that begs the question:
    Is it possible to update the firmware in the RN-42 module to either HID or better, HCI?  If so, does anyone know where the firmware and update utilities might be found?  Google was not much help with that :(  
     
    Thanks much!
    Chris
    post edited by challinan - 2018/01/28 20:51:00
    #3
    Scroaty Sac
    New Member
    • Total Posts : 1
    • Reward points : 0
    • Joined: 2019/08/17 05:20:14
    • Location: 0
    • Status: offline
    Re: How to build Bluetooth HID host using PIC24F 2019/08/19 21:44:02 (permalink)
    0
    Hi Chris
    I'm doing something simular. Did you get your project working??
     
    Cheers
    Scroaty
    #4
    challinan
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2018/01/12 09:16:09
    • Location: 0
    • Status: offline
    Re: How to build Bluetooth HID host using PIC24F 2019/08/22 14:17:29 (permalink)
    0
    No, I never found a solution for Bluetooth HID Host functionality.  But I sure would like to figure it out.
    #5
    TECSOL
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2003/11/07 12:49:07
    • Location: Melbourne, Australia
    • Status: offline
    Re: How to build Bluetooth HID host using PIC24F 2019/11/02 20:52:18 (permalink)
    0
    I'm struggling with the same issue: I want to put a RN42 in an embedded device, such as a model car and then use an existing Bluetooth mouse (actually it's a joystick in a wheelchair) to control the car. I need the RN42 to act as a Master/Host, and receive data from the joystick as if it is the Bluetooth "receiver" in a computer.
    The RN42s I have have firmware Ver 6.11 05/18/12.
     
    #6
    Jump to:
    © 2019 APG vNext Commercial Version 4.5