UP-FM Transmitter: Difference between revisions
No edit summary |
No edit summary |
||
Line 87: | Line 87: | ||
Now,open your lxterminal. | Now,open your lxterminal. | ||
First,create a dedicated directory within the home directory and download the pifm files from icrobotics site as follows: | First,create a dedicated directory within the home directory and download the pifm files from icrobotics site as follows: | ||
Line 100: | Line 101: | ||
'''''tar -xvf Pifm.tar.gz''''' | '''''tar -xvf Pifm.tar.gz''''' | ||
Then download the application called '''sox (Sound Exchange) package''' . This is required to stream the internet radio and pipe it to PIFM program for transmission. | Then download the application called '''sox (Sound Exchange) package''' . This is required to stream the internet radio and pipe it to PIFM program for transmission. | ||
'''''sudo apt-get install sox libsox-fmt-all''''' | '''''sudo apt-get install sox libsox-fmt-all''''' | ||
Then create a script to make it easier to execute. | |||
'''''sudo nano pifmradio.sh''''' | |||
<br/> | <br/> |
Revision as of 14:15, 25 April 2014
DESCRIPTION
A Raspberry Pi-based program FM transmitter that plays online UP-FM music radio. Radio receivers can tune in to 87.5MHz if the transmitter is in range.
Individuals from the different UP campuses, UP alumni and friends in different locations, lovers of Filipino indie music are encouraged to build and use this device to broadcast UP-FM in their areas.
COMPONENTS
A. For PIFM:
- Raspberry PI (model B).
- SD Card with Raspbian "Wheezy" OS (operating system) installed.
- USB Micro Cable
- Ethernet Cable
- Power Brick (5 volts, 2 amperes)
- Solid wire,no.22 and GPIO Cable (for the antenna)
- Soldering iron,Soldering lead,Electrical tape
B. For Programming:
- PC Monitor
Error creating thumbnail: File with dimensions greater than 12.5 MP
- USB Mouse
- USB Keyboard
- VGA to HDMI Cable
PROCEDURES
A. Making a Simple Antenna
Since you may not have an ideal antenna, you will use a solid wire (no.22) as substitute. Cut a solid wire about 32 centimeters and stripe one end at least 1 cm. Also cut the GPIO cable wire near the socket and leave at least 1 cm wire on it. Stripe the wire near the GPIO socket. Combine both ends of the solid wire and GPIO socket using lead and soldering iron. Wrap the soldered wire and GPIO with the tape (see picture below).
B. Installing and Running Raspbian "wheezy
You will now prepare the PIfm in Raspberry PI. To do so, you must have an SD card, with Raspbian "wheezy" OS installed. One way to do it is to download and install the Win 32 disk imager to your windows PC. Also download zip file of Raspbian "wheezy" and extract the file. Plug in your SD card. Write the disk image file on the SD card.Then you have now the installed Raspbian "wheezy" OS in your SD card.
C. Programming the PIFM
Once you have installed the Raspbian "wheezy" and ran it to your Raspberry PI, you can now program the PIFM transmitter using LXterminal.
Now,open your lxterminal.
First,create a dedicated directory within the home directory and download the pifm files from icrobotics site as follows:
cd ~
mkdir pifm
cd pifm
wget http://www.icrobotics.co.uk/wiki/images/c/c3/Pifm.tar.gz
tar -xvf Pifm.tar.gz
Then download the application called sox (Sound Exchange) package . This is required to stream the internet radio and pipe it to PIFM program for transmission.
sudo apt-get install sox libsox-fmt-all
Then create a script to make it easier to execute.
sudo nano pifmradio.sh
Development Team
- Jhon Mark Sorio
- Nestor Tiglao (consultant)
- Peter Sy (consultant)
Cost Estimate
- Raspberry Pi Type B 512MB: Php 1,500
- SD Card
- wire antenna
References
See Also