FM Radio Hat

As some of the forum members know, I have been spending a little of my spare time attempting to create an FM radio hat for my Pokitto. Today, I finished it! (or rather, got it to a state that I am happy to share with the world).

Features -
Customer background image (/_fmradio/background.bmp)
Auto search Up/Down
Volume Up/Down
Record to SD card
Up to 10 preset stations can be saved

A readily available RDA5807M chip was used, which communicates with the Pokitto over I2C protocol using a software library. The audio output from the chip is captured through an analog pin on the PEX header and processed through the Pokittos own sound hardware, which enables us to record the audio to the SD card as well as using the Pokittos to control volume and potentially performing some EQ processes.

Source code - messy… (23.5 KB)

Compiled .bin and SD folder (80.5 KB)

Just extract to the root of your microSD card, load the .bin and enjoy!
image image

KiCade files for editing and sending to PCB fabricators (48.7 KB)

Here’s a handful of photos too…
How the chip is connected to the Pokitto…
3D mockup of the board that was sent to PCBWay for fabrication…

The actual board that was sent to me…

Populated board with RDA5807M and header pins…

FM Radio Hat plugged into Pokitto…

As an added bonus, pressing A+B+C will save a screenshot to /_fmradio/screenshot.bmp


Very cool, I’m definitely making one

Ordered the fm module yesterday.