An IR proximity sensor, Trinket M0, NeoPixel strip, and AudioFX sound board plugged into powered speakers combine to make a booby trapped candy bowl. The CircuitPython program measures the distance of objects in front of the IR sensor, and changes the LED colors to match. Then, when you get too close, it screams bloody murder!!
Full build video here from John Park’s Workshop Live:
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.