![]() ![]() ![]() The Raspberry Pi of course needs a 5v supply, so we decided to install a simple voltage regulator board to get 5v as we had one on hand (a better option would of been a DC-DC buck converter) and solder its output to a micro USB plug. To power the raspberry Pi we were originally going to use an external mobile phone style micro USB power supply, but when we opened up the radio we saw it would be very easy to draw 12v from the radio's internal power supply. We however opted to cut off one of the plugs and solder the 3.5mm jack cable to the aux input circuit on the inside of the radio to make things neater. To connect the Pi to the aux input you could just plug a 3.5mm to 3.5mm lead from the audio out on the pi to the aux in on the radio. With all the cutting out the way its just a simple matter of connecting the pi to the aux audio input of the radio and sorting out the power supply. In the end to make space for the raspberry PI etc we removed battery compartment once again using the Dremel and tidying up the edges with a file. At this point we realized it was looking a little tight in the case and it was going to be difficult to fit everything in. If you are worried that you have not got it as neat as you would of liked then you could always get a bezel for your displayĭrilling the holes to receive the buttons was much easier, just make sure you take care to see that there will be enough space for them and the wiring once the radio is re assembled. So to keep things neat we cut our opening a little small and then with a lot of patients slowly hand filed to get the precise shape required. In our case we went with a Dremel fitted with a cut off disk, we soon realized that the heat generated was causing the plastic to melt and shrink back slightly. Depending on the material your radio is made of there are many options to cutting the opening. The following is how it worked out for us:Ĭut a hole in the case of the radio to receive the display, we opted to do this on the front panel just below the analogue dial as there was plenty of space behind the the electronics and this area was relatively flat. Exactly how you go about fitting the Pi and display inside will depend on the radio you are working with. Sudo service radio start and the you shood be done,Īt this stage we can put the electronics inside almost anything but we chose to put it in an old radio so we could utilize its existing power supply and amplifier. Press Control O to save followed by Control X to exit. To: playlist_directory "/home/pi/radio/playlists" Playlist_directory "/var/lib/mpd/playlists" We need to update the playlist address to do this: sudo nano //etc/mpd.conf Sudo apt-get install python-serial python-imaging python-unidecode Now we need to make a few modifications to the script: cd radioĬhange: /home/olav/work/radio/radio.py 2>&1 & Time to download the script and install it: To start with setup Media Player (Mpd) with the following commands: sudo apt-get install mpd mpc git we set modified it a little to get some uk radio stations and to work with newer pi os. The radio is based on this fantastic build we found on the internet. We are also assuming you will have a working internet WiFi connection for testing and access to an HDMI monitor / TV screen and a keyboard for setup. Something to cut the radios case with, we used a a Dremel.įiles, medium and fine suitable for using on plastic to tidy up your cutting.Ī soldering station or at a pinch a soldering iron. screwdrivers, wire cutters, craft knife, pliers etc. an IDE hard disk cable.īasic hand tools e.g. Below is a generic list based on what we used, it is not complete but should give you a good idea.ġx AC adapter with micro USB plug or a DC-DC converter supplying 5v and a micro USB lead.ġx A radio large enough to fit pi screen etc.Ĥx Sub-Miniature Push-to-Make Switches Two Red & Two black.ġx Dupont cable or and IDC cable e.g. Depending on the radio you are going to install your Raspberry Pi into, your design will vary and thus the parts and equipment required will also. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |