This is not the first raspberry internet radio, i know. But this one can be build by almost anyone. No programming skills or soldering skills needed. Just buy the components, connect some wires between them and thats it!. Oh, and burn an image of the radio operating system on an sd card.
It would be a nice birthday present as it is very easy to operate. And it works very well and stable.
This radio has a lot of nice features. All controllable via a webinterface. There is a.o. a 10 channel equalizer, a timer and mp3player. You can easy compile your own list of favorite stations on-line. Artists / Songtitles are shown on the LCD and the webpage.
Connecting it to your wifi is automated, no need to ssh into the raspberry. If it can't connect to a wifi network, it opens an accesspoint. If you connect to that, you browse to http://192.168.4.1 where you can enter your wifi credentials. When done it reboots and will connect. Once connected it shows the ip address on the lcd screen. Just browse to this address and your done. Now you have a full operational radio.
Optional, when you have some soldering skills, you can add a standby led, a pushbutton and / or a power board that allows switching the power of the speakerset.
What you need is:
- a Raspberry zero W
- a 5v micro usb power supply or build your own 5v dc power unit
- PCM5102 I2S DAC GY-PCM5102
- 20x4 lcd display
- 8gb micro sd card
- minimal 9 dupont wires
- a powered computer speaker set (second hand)
- The rest is optional
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Building It
When you have your raspberry zero you can start with burning the image on a sd card. You do this by following the instructions on https://www.raspberrypi.org/documentation/installation/installing-images/
Beware the SD card requirements!
When there is interest in building this simple radio, i will provide a link where you can download the sd card image. I still have to translate it to english to make it more global.
When the card is ready, put it in place and power the rpi. After some time you will see a wifi network called "radioAP". Connect to this network with passwd rpiradio. Now you can browse to 192.168.4.1 and fill in the network credentials. When done, the raspberry reboots.
If you have the lcd connected you can monitor the progress. After a while the ip address is shown on the lcd. Now the rpi is connected to your wifi. The ip is shown on the lcd after every boot in case you forgot it.
The drawing shows what wiring is needed, in the simplest fully operational form this involves 9 wires.
If you have the dac connected you can plug-in a headset of a Phone. Now you have a fully operational radio.
The controls on the webpage are self-explanatory. Where needed you can click a help link.
Step 2: Power Unit
When you have some soldering skills you could build this power unit. It can control the power of the speakerset so that it is not eating unnecessary power. In the scheme you can see what components are involved.
The AC-DC converter is 5v - 700 ma (3.5W).
These can work with various AC voltages AC 85 ~ 265v 50/60 hz
I used stripboard to solder the components on. I mounted a wall outlet on the back of the housing.
Step 3: The Enclosure
The enclosure is failry easy to make out of some MDF sheet. This material is easy to saw and to cut. The opening for the display i cut out with a hobby knive. When you plan the usb at the front you have to cut out an opening for this too.
I fit the parts together with wood glue and keep them in place with some hotglue that i can easy remove afterwards. Then i have cut off the excess material and remove the hotglue.
After sanding the edges i painted it with expoxy resin. This get sucked into the MDF and the connections, making it strong.
Now you can sand the front and the hood very smooth and paint it with acrylic paint. I have a 3d printer so i can print decorative frames for the display and led, button and USB.
I am building a version with a domoticz system so i have the usb on the back.