Documentation

Getting Started

The Headmouse Pi requires some hardware assembly and a software install. Being built on top of a Raspberry Pi 4B means that several pieces need to be purchased individually and assembled. These components are readily available on Amazon or other online e-tailers. The software is all open source and freely available online.

Build Instructions

Raspberry Pis come in various configurations of RAM and can be assembled inside numerous different cases. The following hardware requirements will detail one set of hardware that has been tested, although other combinations may work as long as the Raspberry Pi is a model 4B (model 1/2/3 won’t work) and has at least 2GB ram.

Hardware Requirements

[1] This may not be needed with some hosts (e.g. MacBook Pro). Pi 4 would like 3 amps, but it does run with less. Between 1.5-2 amps has been working for HeadMouse Pi and my older Macbook Pro has supplied sufficient power even though USB spec is for .5 amps.

Where to Buy Hardware

Everything can be found on Amazon but not necessarily for the lowest price. Adafruit is an American company that supports the DIY and maker communities and carries a lot of Raspberry Pi components.

Assembling the Hardware

Software Requirements

The following lists the key software components that comprise HeadMouse Pi. These are all included in the downloadable pre-built image, so there’s no need to acquire these separately unless performing a manual install.

Installing the Software

The easiest way to install Headmouse Pi is to use the Raspberry Pi Imager to flash the pre-built image onto an SD card. Continue to [Installing Pre-Built Image].

Installing Pre-Built Image

Installing on Existing Raspberry Pi OS

User Interface

Connecting to HeadMouse Pi

User Preferences

Camera View

Debug Data

Prototype Hardware

Usability

Use of the HeadMouse Pi requires motor control of head and neck (side to side and up/down) and use of facial gestures (raising eyebrows, opening mouth).

Function Facial Gesture
Left-click Raise eyebrows
Double-click Raise eyebrows 2X
Right-click Open mouth wide
Drag-and-drop Raise eyebrows > 1sec (“sticky click”)*
Pause/unpause mouse Close eyes > 3sec while facing camera

*enabled by default (can be disabled upon launch)

Future Plans