An inconspicuous device which quacks when motion is detected. The duck is powered by a battery and supports the Qi wireless charging.
- Raspberry Pi Pico
- PIR Motion Sensor (HC-SR505)
- Audio Amplifier (PAM8302)
- Mini-Speaker
- LiPo SHIM for Pico
- Battery LiPo 600mAh
- Qi receiver module - Micro USB
The 3d model can be downloaded from my Printables here.
The software is written in CircuitPython and tested with the version 7.3.1
- Download the CircuitPython UF2 from the official website here.
- Push and hold the BOOTSEL button and plug your Pico into the USB port of your computer. Release the BOOTSEL button after your microcontroller is connected.
- It will mount as a Mass Storage Device called RPI-RP2.
- Drag and drop the CircuitPython UF2 file onto the RPI-RP2 volume.
Download and copy the software
cd ~
git clone https://github.com/dr-mod/roman-duck.git
cp roman-duck/src/* <CIRCUITPY DRIVE>
- Solder the LiPo SHIM to Pico
- Connect the peripherals as per the schematics
- Connect the battery to LiPo SHIM
- Attach the Qi pad to the inner side of the duck's bottom part with double-sided adhesive tape
- Insert the rest of the components to the duck's upper side
- Connect the Qi pad to Pico and the duck's parts together
If you would like to support what I do and keep me caffeinated, you can do it here: