rpitx is a general radio frequency transmitter for Raspberry Pi which doesn't require any other hardware unless filter to avoid intererence. It can handle frequencies from 5 KHz up to 1500 MHz.
 
 
 
 
 
 
Go to file
Mihajlo Petković 7326cc9263
Grammar correction
2021-04-18 01:15:10 +02:00
Not_working_with_v2 Remove coonflict 2018-11-06 14:31:56 +00:00
csdr@6ef2a74206 sharedmem 2020-06-07 14:04:10 -03:00
doc Add files via upload 2020-01-09 15:39:16 +01:00
src Use librpitx for sendiq and tune 2021-01-13 09:47:38 +00:00
.gitignore
BBC.jpg Clean and add tests 2018-11-01 16:45:08 +00:00
LICENCE Fix merge by hand 2018-11-06 14:43:34 +00:00
README.md Update README.md 2021-04-18 01:10:15 +02:00
easytest.sh Added RTTY to easytest 2021-01-03 00:57:05 +01:00
fm2ssb.sh Fixe typo issue 2018-12-03 21:32:59 +00:00
ft8menu.sh Grammar correction 2021-04-18 01:12:32 +02:00
install.sh Grammar correction 2021-04-18 00:48:45 +02:00
rtlmenu.sh Grammar correction 2021-04-18 01:15:10 +02:00
sampleaudio.wav
snap2spectrum.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
snapsstv.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
sv1afnfilter.sh Put output at each time on sv1afnfilter 2019-01-08 14:57:12 +00:00
testam.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testchirp.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testfmrds.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testfoxhunt.sh testfoxhunt is executable 2020-11-03 17:38:38 +00:00
testfreedv.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testfsq.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testnfm.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testopera.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testpocsag.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testrtty.sh Forgot sudo 2021-01-02 22:55:24 +01:00
testspectrum.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testssb.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testsstv.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
testvfo.sh Fix shellcheck issues 2018-12-01 00:00:00 +00:00
transponder.sh Remove debug 2018-12-03 22:45:37 +00:00

README.md

rpitx banner

About rpitx

rpitx is a general radio frequency transmitter for Raspberry Pi which doesn't require any other hardware other than filter to avoid intererence. It can handle frequencies from 5 KHz up to 1500 MHz.

Rpitx is a software made for education on RF systems. It has not been tested for compliance with regulations governing transmissions of radio signals. You are responsible for using your Raspberry Pi legally.

A forum is available : https://groups.io/g/rpitx

_Created by Evariste Courjaud F5OEO. See Licence for using it.

Installation

Assuming a Raspbian Lite installation (stretch) : https://www.raspberrypi.org/downloads/raspbian/

Be sure to have git package installed :

sudo apt-get update
sudo apt-get install git

You can now clone the repository. A script (install.sh) is there for easy installation. You could inspect it and make steps manualy in case of any doubt. You can note that /boot/config.txt should be prompt to be modified during the installation. If it is not accepted, rpitx will be unstable.

git clone https://github.com/F5OEO/rpitx
cd rpitx
./install.sh

Reboot in order to use rpitx in a stable state. That's it !

sudo reboot

Hardware

bpf

Raspberry Pi Model Status
Pi Zero OK
Pi ZeroW OK
Pi A+ OK
Pi B Partial
Pi B+ OK
P2 B OK
Pi 3 B OK
Pi 3 B+ OK
Pi 4 In beta mode

Plug a wire on GPIO 4, which is Pin 7 of the GPIO header (header P1). This acts as the antenna. The optimal length of the wire depends on the frequency you want to transmit on, but it works with a few centimeters for local testing.

How to use it

easymenu

Easytest

easytest is the easiest way to start and see some demonstrations. All transmission are made on the free ISM band (434MHZ). To launch it, go to rpitx folder and launch easytest.sh :

cd rpitx
./easytest.sh

Choose different modes with arrows and press enter to start it.Don't forget, some tests are made in a loop, you have to press CTRL^C to exit and back to menu.

Easy way to monitor what you are doing is by using an SDR software and an SDR receiver like an rtl-sdr one and set the frequency to 434MHZ.

Carrier

Carrier A simple carrier generated at 434MHZ.

Chirp

Chirp A carrier which moves around 434MHZ.

Spectrum

Spectrum A picture is displayed on the waterfall of your SDR. Note that you should make some tweaks in order to obtain contrast and correct size depending on your reception and SDR software you use.

RfMyFace

Rfmyface Spectrum painting of your face using the raspicam for fun!

FM with RDS

FMRDS Broadcast FM with RDS. You should receive it with your SDR. This is the same modulation of commercially broadcast FM stations, but in this case, the frequency is higher since the FM broadcast badn is between 87-108 MHz.

Single Side Band modulation (SSB)

SSB This is the classical analog voice modulation used in ham radio. Use your SDR in USB mode.

Slow Scan Television (SSTV)

SSTV This is a picture transmission mode using USB modulated audio. You need an extra software to decode and display it (QSSTV, MMSSTV, ...). This demo uses the Martin1 SSTV mode.

POCSAG (pager mode)

pocsag This is a mode used by pagers. You need an extra software to decode. Set your SDR in NBFM mode. Default is 1200 bps.

FreeDV (digital voice)

freedv This is state of the art opensource digital modulation. You need FreeDV for demodulation.

Opera (Beacon)

opera This a beacon mode which sound like Morse code (CW). You need Opera decoder set to 0.5 in order to decode it.

Rpitx and low cost RTL-SDR dongle

rtlmenu

rtlmenu allows to use rtl-sdr receiver dongle and rpitx together. This involves reception and retransmission for experimenting. To launch it, go to the rpitx folder and launch rtlmenu.sh :

./rtlmenu.sh

You have to first to set receiver frequency and gain of RTL-SDR. Attention about gain, you should ensure that you have just enough gain to receive the signal clearly but not too high which could saturate the receiver and won't work properly*.

Choose with arrows and enter to start it.Don't forget, some test are made in a loop, you have to press CTRL^C to exit and go back to the menu.

Record and play

replay

A typical application is to replay a signal. Picture above shows a replayed signal from an RF remote switch. So first, record few seconds of the signal, press CTRL^C to stop the recording. Then replay it by pressing play.

Transponder

fmtransponder We can also retransmitt live the received frequency. Here the input frequency is an FM broadcast station which is retransmitted on 434 MHz.

Relaying with transmodulation

We assume that the input frequency is tuned to an FM station. It is first demodulated and then modulated to SSB on 434MHZ. SSB is not HiFi, so prefere to choose a spoken radio, music sounds a bit weird!

To continue

rpitx is a generic RF transmitter. There are a lots of modulation types to experiment with and much documentation to make easy to contribute. This will be the next step! Feel free to inspect scripts, change parameters (frequencies, audio input, pictures, ...).

Credits

All rights of the original authors reserved. I try to include all licences and authors in sourcecode. Need to write all references in this section.