A BLE keyboard demo using the affordable Tenstar Robot nrf52840 devboard (aka nice!nano). Builds with PlatformIO, using the Adafruit nRF52 and Bluefruit libraries. This code is based upon the BLE keyboard example
- install VSCode/PlatformIO and build a project for the Adafruit Feather nRF52840 Express (or a similar Adafruit nRF board, to install the nRF platform packages)
- add the files for the nice nano board as described here: Nicenano-NRF52-Supermini-PlatformIO-Support
- build and upload the demo code
- pair the BLE device (nrf52840)
- connect up to 5 pushbuttons from GPIO pins 017, 020, 022, 024 and 025 to GND
- when pressed, the buttons shall trigger keys ' ', '\n', '1', '2' and '3'
The Tenstar board might need modifications for improving the current consumption in sleep mode, see this Arduino forum post