Yxiomel
Posts: 2
Joined: Wed Apr 21, 2021 9:50 pm

Pi Pico with both BLE and HID support

Wed Sep 27, 2023 10:37 am

I am looking for some direction from someone moew knoewledable than I.
I am trying to make a device that uses both the HID over usb and BLE parts of the Pico W. The current state of things makes it appear that I can do HID in circuitpython, BLE in micropython, but not both at the same time with python.
This makes it feel like I either need to use C or use the Arduino IDE to proceed; however, that seems quite a daunting task, not least because I am struggling to find useful documentation and examples. For example, I have gor BLE "set up" on the pico through arduino, but the docs seem happy to tell me what to include, but not how to actually use the functionality.

hippy
Posts: 15145
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Pi Pico with both BLE and HID support

Wed Sep 27, 2023 11:10 am

MicroPython doesn't currently support HID but that is planned for the future. It should be possible to build your own MicroPython firmware with HID support but that's not as easy as it was and hasn't been documented nor even tested.

CircuitPython supports HID but, if it doesn't support BLE, then I guess it is C, C++, Arduino or perhaps something else. I doubt that will be as easy as using Python so one option is to put the project on hold until MicroPython supports HID or CircuitPython supports BLE.

User avatar
Douglas6
Posts: 5221
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, USA

Re: Pi Pico with both BLE and HID support

Thu Sep 28, 2023 12:23 am

In the meantime, you could start developing in two environments. It sounds like you can improve your overall BLE knowledge, which will apply to whichever environment you end up using.

Return to “General”