A 7-Segment Clock that displays the wrong time when it detects someone looking at it.
{ Twitter Demo }
You will need:
- Adafruit QT Py ESP32-S2 dev board (or any ESP board with a STEMMA QT connector)
- Person Sensor
- Adafruit 7-Segment Display with I2C backpack (any color)
- 2 STEMMA QT/ Qwiic Cables (one should be > 50mm)
- (optional) Filament to 3D print the case.
- Connect the Person Sensor to the 7-Segment backpack using a STEMMA QT cable.
- Connect the ESP-32 dev board to the other STEMMA QT port.
- Get CircuitPython running on your dev board.
- Install the following libraries:
adafruit_ht16k33
(from the adafruit library bundle)adafruit_requests.mpy
(from the adafruit library bundle)adafruit_ticks.mpy
(from the adafruit library bundle)person_sensor
- Load this repo's
code.py
file onto the dev board. - Edit the timezone, wifi ssid, and password at the top of that file to fit your needs.
- That should be it!