안녕하세요 버섯돌이 유재성입니다.
워낙 간단한 내용이고 별다른 설치도 없다보니 자세한 내용은 원문 사이트를 참고 하세요~
참고로, 요약하면 pifm은 wav 파일을 전송 ( http://www.omattos.com/pifm.tar.gz ) 하며,
PiFMPlay는 mp3 파일도 전송 가능 ( https://github.com/Mikael-Jakhelln/PiFMPlay ) 며 다양한 제어 기능이 존재합니다.
"sudo pifm sound.wav 100.0"에서 100.0은 FM 주파수 입니다.
즉, 위 처럼 실행후 FM 라디오의 주파수를 100.0에 맞추시면 라즈베리 파이에서 송신하는 사운드를 라디오에서 수신할 수 있습니다.
제 경우 음질은 꽤 깔끔한데 갖고 있는 포터블 라디오가 방송이 없는 채널을 설정을 못 해서 그런지 몰라도
93.1Mhz 방송에 송신했더니 5~10초정도 지나면 라디오에서 수신을 못하고 끊기네요^^
출처 : http://techzei.com/how-to-build-a-raspberry-pi-radio-transmitter/
How to Build a Raspberry Pi Radio Transmitter
Kevin John April 22, 2014
Learn how to build a FM Radio Transmitter using a Raspberry Pi. This little hack doesn’t need anything much other than the Raspberry Pi and a Jumper cable. It allows you to transmit any audio content through the Raspberry Pi. Building this Raspberry Pi Radio Transmitter wouldn’t take more than 15-20 minutes to set up and start transmitting.
Hardware Required
- Raspberry Pi.
- SD Card.
- Jumper Cable
- Mobile Phone or FM Radio
Wiring
Connect a jumper cable to header 7 of the Raspberry Pi, the jumper cable acts as the transmitter for Radio.
Procedure
Step 1 : Connect to your Raspberry Pi through ssh or open the Terminal in your Raspberry Pi Step 2 : Type this into the terminal
This will download the python script that helps with the transmission Step 3 : Untar the file you downloaded. Type this into the terminal
Step 5 : Open your Radio App on your phone or if you still have a functioning radio tune to 100Mhz and then in your terminal type
If everything went well you should now be hearing Star Wars sound track in your radio. In the next post we will learn how to make a playlist for the Raspberry Pi Radio Transmitter. Although if you’re feeling like exploring check out the PirateRadio project which enables playback without using command line.
- SourceOliver Mattos
Note : The Raspberry Pi radio transmitter can be built without the jumper cable, the trade-off is that the range drops to ~10 cm from 100 meters.It is not allowed to broadcast on these frequencies in some countries. Make sure you read about your local laws before trying this hack.
'라즈베리파이(RPI)' 카테고리의 다른 글
[펌] Raspberry Pi as low-cost HD surveillance camera by scavix (0) | 2014.11.21 |
---|---|
[추천][해외] Raspberry Pi로 Gameboy 만들기. (0) | 2014.11.21 |
[해외] Turn your Raspberry Pi into a live HDTV transmitter (0) | 2014.11.21 |
[추천][해외] LapPi - A Raspberry Pi Netbook by SilverJimny (0) | 2014.11.21 |
[추천] [해외] PortaBerry Pi: Handheld Raspberry Pi Emulator (0) | 2014.11.21 |