Currently DigitalRooster is built from these Components:
- Raspberry Pi Zero W (without soldered header)
- Long (15mm) 2.54mm connection header to stack the extension boards on the Raspberry Pi (Digikey 3M156504-72-ND)
- Adafruit PiTFT2.8” capacitive touch
- Adafruit Speaker Bonnet with MAX98357 I2S amp (Digikey 1528-1819-ND)
- Grayhill rotary encoder 61C11-01-08-02 (Digikey GH6102-ND)
- Kilo International knurled knob OEDNI-90-3-5 (Digikey 226-4201-ND)
The total cost is about 120U$ on digikey while the rotary encoder alone accounts for 25US$.
The Raspberry Pi has few hardware PWM pins. One is used for SPI, the other one I would like to use for Backlight control. Unfortunately the Pin is right next to the I2S pin for the speaker bonnet and may cause interference when connected through the speaker bonnet. As a quick fix I just cut the pin and soldered a flying wire from the Pi to the backlight pad of the TFT - not the most professional way to deal with EMI issues but it remedies the noise on the speakers.
I am working on (my first) design of an extension PCB with three audio channels, integrated RTC, I2C PWM driver for backlight and possible LED illumination. This will also remedy the caveats and should work on Raspberry Pi and Banana Pi.
The housing is printed on a Prusa MK3. You can find the STL-files here. Make sure you scale the housing with about 0.5% so the side panels fit in. otherwise you will have problems mounting.