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

Can I use an nRF52805 module like BC805M for a HID device? How?

Dear Sir/Madam,

While I did take a course in Bluetooth I am still a beginner.

I know some boards have HID "support" (RN42 for example) I find it hard to believe that it's not something that can be added to any module.

If so, what is the minimal/simplest path to use a BC805M  for sending Mouse/Keyboard commands from the UART/GPIO to a Bluetooth-connected phone or computer?

I mean what IDE do I need to use, programming pod, library, maybe example code.  Maybe evaluation board, although I believe I can connect the module myself to the rest of my device.

If the nRF52805/BC805M is not right for me (I need smallest, cheapest MODULE, not chip), can you please recommend another, again with IDE to use, etc.

Thanks and best,

Cat

  • Hi

    I'm sorry you're having a poor experience with our SDK and DevZone, and we appreciate constructive feedback on what we can do better. LED_START and LED_STOP are defining the start and stop of the list of gpios defined as LEDs in our board files.

    What error exactly are you running into when trying to build your nRF52805 project? Are you able to build and flash the project onto the board without any errors from the IDE? If that's the case, seeing as you have a debugger (from my understanding), you can use that to debug the code and see where the code is stuck, which I assume it is since you can't see it advertising.

    Best regards,

    Simon

  • Again I can't reply to your last message, so I might as well reply to the first. (What am I supposed to do about this? What should I be doing?)

    Anyway, the code builds fine and I can load it to the board in "release" mode.  I just can't see it with other devices to connect to it.

    When I build in "debug" mode it does not fit anymore.  Remember; I had to use NRF5 SDK instead of your big new one because the device has little memory.

  • Also, I still don't understand the LED_START/STOP meaning?

    How many LEDs are there if these are the definitions (Note, the numbers are mine, modified to fit 52805 pins):

    #define LED_START 12
    #define LED_1 16
    #define LED_2 18
    #define LED_STOP 20

    Four or Two? And why do it like this?

  • I think I understand now that in the board files BUTTON/LED_START/END corespond to the first and last, but what if they are not consecutive?

  • Hi

    If you're struggling to reply to a specific message you can highlight it by pressing the timestamp on the specific message you want to reply to. It's fine by me if you write your questions/replies in the default reply window, as I read them either way.

    LED_START and LED_STOP is just used to give an overview of what sequential pins are used for LEDs. There's no point in using them if your LEDs are not sequential. In the case you describe only pins 16 and 18 are defines as LED 1 and LED 2. As you see in d52_starterkit.h of the boards files. LED_START and LED_STOP are not used because LEDS are not on sequential pins. Feel free to remove them in your board file if you'd like.

    Best regards,

    Simon

Related