In my country, each year, at Christmas we have a tradition. Several villages organise at night live nativity scenes in which the local residents take part. A funny scene is "El Caganer" (literally means "the crapper" or "the shitter").
The purpose of this project is to do a funnier escene with with Raspberry Pi, a ultrasonic sensor and Python.
Cover your nose and your ears and enjoy it ;-)
- Raspberry Pi B
- Protoboard
- Several jumper wires (female - female and female-male)
- Ultrasonic sensor: HC-SR04
- Relay: ky-019 5V
- Resistors:
- 330 ohms (x1)
- 470 ohms (x1)
- Raspbian 9/Stretch (Lite)
- Python 2
- Pygame Library