Mittarimato Gadget

This is a little distance display built with an ESP8266, a time-of-flight sensor and an RGB OLED screen. I’m using it to display the height of my standing desk.

Demo video:

Hardware

Photo of the enclosure

Wiring diagram:

Wiring diagram

Software

The main pieces of the software are:

On my hardware, the animation updates at about 50 fps.

First, install the ESP8266 SDK. Update the env file with the path to your SDK installation.

After that, you can build and flash the program like this:

$ . ./env
$ cmake -B build
$ ninja -C build flash
$ ./monitor

Downloads