This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 as a HID keyboard

Hello all,

I wanna ask smth related to the use of the nRF52 as a HID keyboard (USB host).

I have already played around with the SDK example ble_app_hids_keyboard and tried to understand it as much as I could. It works very good.

However, what I wanna do now, is to be able to use the nRF52 as a bluetooth dongle, that is, on one hand it has to be able to connect to another device (another nRF52 - serving as the keyboard) via bluetooth and on the other hand transfer this data to a PC as a USB.

So the question is whether the nRF52 can be configured like that, act as a USB host and communicate via bluetooth to another device at the same time?

If so, I would appreciate any help on how to realize that. I have some knowledge on how the USB and HID protocols works, however it is not enough to manage to succeed on this issue.

Thanks in advance for your support.

Bests,
Gazi

Parents
  • Hello,

    I suggest to look at the nRF52840, which have an USB interface and support BLE.

    You would need to merge the USB composite example:
    \nRF5_SDK_15.0.0_a53641a\examples\peripheral\usbd_hid_composite 

    With the HRS central example (this must be changed from enabling heart rate service to hid service):
    \nRF5_SDK_15.0.0_a53641a\examples\ble_central\ble_app_hrs_c 

    Best regards,
    Kenneth

  • Hi Keneth,

    Thanks for the reply. I checked the nRF52840, however it seems to be a little expensive for the budget I have.

    Do you know whether it is possible to do what I have described above with the nRF52832?

    On top of that, I have come across the CSR8510 chip, which seems to be very famous in the "world of bluetoth dongles". However I am having trouble to understand how to program it. DO you have any idea about this one?

    Thanks a lot in advance.

Reply
  • Hi Keneth,

    Thanks for the reply. I checked the nRF52840, however it seems to be a little expensive for the budget I have.

    Do you know whether it is possible to do what I have described above with the nRF52832?

    On top of that, I have come across the CSR8510 chip, which seems to be very famous in the "world of bluetoth dongles". However I am having trouble to understand how to program it. DO you have any idea about this one?

    Thanks a lot in advance.

Children
Related