Explore the interface before diving into the build details.
Arduino sketch for a trash-bin: two ultrasonic sensors watch for people, a servo opens the lid, and an Adafruit Music Maker shield plays MP3s while an auxiliary NPN output flashes external FX.
Setup: Load the sketch, drop TRIGGER.MP3 and SEQ1-3.MP3 on the SD card, wire the sensors, servo (pin 9), and button (A0), then power the rig.
Controls: Walk up to trigger the lid + sound. Tap the button to toggle the NPN output, hold it to play the three-track sequence, or send an empty line over serial to test.
Adjust distances, servo limits, or timing at the top of trashbin.ino to fit your build.
