Monday 21 March 2016

FREQ_PI VFO on Raspberry Pi

Want a VFO that runs from 150kHz up to 250MHz? Great as a test oscillator in the shack. Down load from

https://github.com/JennyList/LanguageSpy/tree/master/RaspberryPi/rf/freq_pi
How to install and use it?
Usage
Install
	mkdir freq_pi
	cd freq_pi
	curl -o freq_pi.c https://raw.githubusercontent.com/JennyList/LanguageSpy/master/RaspberryPi/rf/freq_pi/freq_pi.c
	gcc -Wall -O4 -o freq_pi freq_pi.c -std=gnu99 -lm

Run (in background)
	sudo freq_pi -f (frequency in Hz)
	e.g.
	sudo freq_pi -f 7000000 (VFO at 7MHz)
Stop
	sudo freq_pi -q
The output is on the Raspberry GPIO4, pin7. Do NOT short-circuit this output, or you will damage your R_PI. If you use it the output is a square wave with lots of harmonics, so use a filter, band-pass or low pass.

The site has also a graphic VFO UI written in Python, but I have been unable to get it going - my lack of knowledge of X11 over SSH connections??

Alternative

As an alternative way of generating a VFO signal, the program "rpitx" can be used - download this from GitHub/F5OEO/rpitx. The command is
  sudo ./rpitx -m VFO -f 7100.0
Here the frequency is in kHz. and the mode is selected as VFO.

No comments: