This demo consists of the PiDuino, camera, analog distance sensor, servo and NeoPixel.
The use of the PiDuino co-processor gives the Raspberry Pi analog distance input, drive servo with a PWM signal and drives the NeoPixel.
When a person approaches to the distance sensor, the servo lift the raspberry out of the way exposing the camera. The camera will then take a photo and displays it on the monitor. The NeoPixel gives a status indication.
Documents
- Python script and PiDuino firmware (by David Whale @whaleygeek)
- Schematic