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.

Parts

Adafruit Feather nRF52840 Express

PRODUCT ID: 4062
The Adafruit Feather nRF52840 Express is the new Feather family member with Bluetooth Low Energy and native USB support featuring the nRF52840!  It's...
$24.95
IN STOCK

STEMMA Wired Tactile Push-Button Pack - 5 Color Pack

PRODUCT ID: 4431
Little clicky switches are standard input "buttons" on electronic projects. These are just like our Colorful Round...
$7.50
IN STOCK

Assembled Terminal Block Breakout FeatherWing for all Feathers

PRODUCT ID: 2926
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...
$14.95
IN STOCK

Fully Reversible Pink/Purple USB A to micro B Cable - 1m long

PRODUCT ID: 4111
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...
$3.95
IN STOCK

Snap-action 5-Wire Block Connector (12-24 AWG) - Pack of 3

PRODUCT ID: 874
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...
$4.95
IN STOCK

Hook-up Wire Spool Set - 22AWG Stranded-Core - 6 x 25ft

PRODUCT ID: 3111
This is a box of six 25ft spools of stranded-core wire. Stranded-core wire is best used for wiring jigs where there's...
$19.95
IN STOCK
This guide was first published on Jan 22, 2020. It was last updated on Jan 22, 2020.
This page (Overview) was last updated on Oct 21, 2020.