The whole circuit is hidden inside a solar-powered garden lamp. There is enough space to install a microprocessor that is thus protected from the rain! We then just need to add a piezzo to emit the sounds.
We used an AtMega664 for its memory capacity (64k programmable flash memory) you can find this chip in both DIP and SMD format. The solar panel generates 3.8 volts in full sun: it's enough to power the IC and the piezo. That's all, only 3 components!
Thanks to high-speed PWM (faster than audible frequency) converter does not need filtering, so it is connected directly to the piezzo. Don't expect high quality sound however ...
| Attachment | Size |
|---|---|
| moduloixo_ver1_double_0.brd | 31.2 KB |
| moduloixo_ver1_double_0.sch | 227.48 KB |
| oizo.c | 1.35 KB |
| sounddata.h | 168.31 KB |