There are a lot of things one can do if they are able to interface their electronics to their desktop / laptop computer. It's easier than ever to make these connections, especially with Circuit Playground Express.

The USB specification has several ways to characterize devices. This includes telling the computer that the device you are plugging into the USB port is a keyboard or mouse. These peripherals are categorized as human interface devices (HID). 

Many Adafruit products can communicate with other computers using HID and emulating a mouse.

What types of projects work well emulating a mouse? Some examples:

  • Assistive Technology - the ability to trigger keyboard input using a multitude of interface devices connected to the microcontroller
  • Simulating mouse clicks with another device.
  • Making a mouse jiggler to keep a computer from falling asleep

This guide will show you how to quickly and easily emulate a mouse on an Adafruit Circuit Playground Express board in both Microsoft MakeCode and CircuitPython.

Parts List

Circuit Playground Express

Circuit Playground Express is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and...

USB cable - A/MicroB

This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your NETduino (among other things).Approximately 3 feet / 1 meter long
Last updated on Aug 07, 2018 Published on Aug 01, 2018