Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.53 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.53 KB
Img.6561.mp4

Features

  • Count the days your workplace can go without having any incidents, such as bad puns or industrial maimings
  • High-fidelity audio mimicking a groaning human voice, if the human voice is a square wave
  • Exceeds the GPIO pins' absolute maximum voltage ratings
  • Big chonky button to reset the counter to zero 👌

Required components

  • An Adafruit METRO 328.
  • A 9V DC barrel jack power supply. See the Adafruit METRO documentation for which ones will fit.
  • 2 big 7-segment displays. I'm not sure which ones I used, but they're probably the SA23-11SURKWA or something equivalent.
  • Any big button, like this arcade button.
  • An 8Ω speaker.
  • 100Ω and 220Ω resistors.
  • Some kind of enclosure to hold it together. Mine is a 3D-printed frankenstein that isn't easily reproducible—sorry!
  • Solid-core wire recommended for stabbing into the METRO's GPIO headers and wiring point-to-point.

Wireup

See include/pins.h.

Development

This project uses PlatformIO.

  1. Install PlatformIO according to their instructions and your editor or IDE preferences.
  2. Program the board with pio run -t upload, or however your IDE does it.