You can build your own devices that act like remote keyboards and HID devices for nearly any mobile device or computer with Bluetooth LE and the Adafruit HID library in CircuitPython!

Traditionally, the USB HID library has been used to send keyboard and mouse commands over a USB cable to a computer or mobile device. Now, you can cut that wire and do all the same things using BLE wirelessly!

This tutorial shows just one of the many exciting projects you can build with these techniques.

You'll create a remote five-key keyboard for sending keystrokes or even full words and sentences to your device, just as if you were using a highly specialized wireless keyboard.

Plus, we've added Bluetooth LE bonding support, so once you pair your devices, they'll automatically reconnect whenever you turn on the devices.

Note: you could also adjust the code here to send HID over USB.


Angled shot of a Adafruit Feather nRF52840 Express.
The Adafruit Feather nRF52840 Express is the new Feather family member with Bluetooth Low Energy and native USB support featuring the nRF52840!  It's...
In Stock
STEMMA Wired Tactile Push-Buttons connected to a half sized white breadboard
Little clicky switches are standard input "buttons" on electronic projects. These are just like our Colorful Round...
In Stock
Angled shot of an Assembled Terminal Block Breakout FeatherWing for all Feathers with black headers.
The Terminal Block Breakout FeatherWing kit is like the Golden Eagle of prototyping FeatherWings (eg. majestic, powerful, good-looking). To start, you get a nice prototyping area...
Out of Stock
Fully Reversible Pink/Purple USB A to micro B Cable
This cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also fully reversible! That's right, you will save seconds a day by...
In Stock
Snap-action 4-Wire Block Connector with four wires installed
These are like the fancy electronics equivalent of the wire nuts electricians use to bind wires together. They are a lot easier to use as well! Each block connector has a metal block...
In Stock
Hook-up Wire Spool Set in box with 6 colorful wires coming out
This is a box of six 25ft spools of stranded-core wire. Stranded-core wire is best used for wiring jigs where there's...
In Stock

This guide was first published on Jan 22, 2020. It was last updated on Jun 19, 2024.

This page (Overview) was last updated on Mar 08, 2024.

Text editor powered by tinymce.