Hi folks,
I've been messing around with rtl_tcp and an RTL2832 device on a Raspberry Pi and want to add a bank of front end filters and a LNA that can be controlled by the GPIO.
I want to allow manual control of the signal path via a web page hosted on the Pi, but also want to be able to have the filters selected automatically based on the frequency that the RTL device is tuned to.
I noticed that rtl_tcp helpfully echos the frequency changes to the console, so I wrote a simple shell script to gather this data and control the GPIO.
Somebody may have already done this and there is probably a better way to achieve it but, if this would be of any use to you, please feel free to copy and use as you wish.
http://www.purpleplanet.org/?q=rtl-robot
Cheers,
Simon
Il 03/05/2013 01:57, Simon PurplePlaNET ha scritto:
Hi folks,
I've been messing around with rtl_tcp and an RTL2832 device on a Raspberry Pi and want to add a bank of front end filters and a LNA that can be controlled by the GPIO.
I want to allow manual control of the signal path via a web page hosted on the Pi, but also want to be able to have the filters selected automatically based on the frequency that the RTL device is tuned to.
I noticed that rtl_tcp helpfully echos the frequency changes to the console, so I wrote a simple shell script to gather this data and control the GPIO.
Somebody may have already done this and there is probably a better way to achieve it but, if this would be of any use to you, please feel free to copy and use as you wish.
http://www.purpleplanet.org/?q=rtl-robot
Cheers,
Simon
Great job! I wrote an external program to control gpio, i'll try to implement your solution! Many thanks!
Hi! It's me again... I've taken a look at the source code... It does a "grep" on the output of "set freq"...the problem is that my latest git pull from rtl-sdr does not output any "set freq" to stdout....any idea?
Il 09/05/2013 19:18, Favati ha scritto:
Hi! It's me again... I've taken a look at the source code... It does a "grep" on the output of "set freq"...the problem is that my latest git pull from rtl-sdr does not output any "set freq" to stdout....any idea?
my fault...just "git pull" again and recompiled....it output the correct string...gonna try your software :)
Il 03/05/2013 01:57, Simon PurplePlaNET ha scritto:
Hi folks,
I've been messing around with rtl_tcp and an RTL2832 device on a Raspberry Pi and want to add a bank of front end filters and a LNA that can be controlled by the GPIO.
I want to allow manual control of the signal path via a web page hosted on the Pi, but also want to be able to have the filters selected automatically based on the frequency that the RTL device is tuned to.
I noticed that rtl_tcp helpfully echos the frequency changes to the console, so I wrote a simple shell script to gather this data and control the GPIO.
Somebody may have already done this and there is probably a better way to achieve it but, if this would be of any use to you, please feel free to copy and use as you wish.
http://www.purpleplanet.org/?q=rtl-robot
Cheers,
Simon
Just tryed this command:
stdbuf --output=0 rtl_tcp -a 192.168.2.15 -p 1234 > rtl.data
I don't have anything connected to the gpio pins...but i cannot see any output from your script while changing freqs...(yes, i've gone below 100mhz and above 500mhz). It's quite strange....the rtl.data is created in the same folder of your script... Taking a look at rtl.data, it contains the correct output of the standard output of rtl_tcp.
Any idea?
To no one in particular: The usefulness of doing this escapes me. Sure you'd want to put the receiver up high, but in an attic? There are all kinds of temperature extremes up there, from very hot most of the year to below freezing in colder climates in the winter.
Something like a 1-transistor preamp feeding some RG-6 seems like a more practical solution. You can buy 500 feet of RG-6 for about $32 at Home Depot and good low-noise transistors are available under $1. You just need enough gain to offset the cable loss and RG-6 is pretty good.
Alan -----
Radio Astronomy - the ultimate DX
--- On Thu, 5/2/13, Simon PurplePlaNET simon@purpleplanet.org wrote:
From: Simon PurplePlaNET simon@purpleplanet.org Subject: Raspberry Pi based remote SDR head To: osmocom-sdr@lists.osmocom.org Date: Thursday, May 2, 2013, 7:57 PM
Hi folks,
I've been messing around with rtl_tcp and an RTL2832 device on a Raspberry Pi and want to add a bank of front end filters and a LNA that can be controlled by the GPIO.
I want to allow manual control of the signal path via a web page hosted on the Pi, but also want to be able to have the filters selected automatically based on the frequency that the RTL device is tuned to.
I noticed that rtl_tcp helpfully echos the frequency changes to the console, so I wrote a simple shell script to gather this data and control the GPIO.
Somebody may have already done this and there is probably a better way to achieve it but, if this would be of any use to you, please feel free to copy and use as you wish.
http://www.purpleplanet.org/?q=rtl-robot
Cheers,
Simon
On Thu, 9 May 2013 19:39:55 -0700 (PDT) Alan Corey alancorey@yahoo.com wrote:
Something like a 1-transistor preamp feeding some RG-6 seems like a more practical solution.
Two things: #1 designing this preamp may be beyond the practical for most hobbyists #2 does nothing to create a selectable direction of the gain that Simon wanted
-- Pete
Il 10/05/2013 04:39, Alan Corey ha scritto:
To no one in particular: The usefulness of doing this escapes me. Sure you'd want to put the receiver up high, but in an attic? There are all kinds of temperature extremes up there, from very hot most of the year to below freezing in colder climates in the winter.
Something like a 1-transistor preamp feeding some RG-6 seems like a more practical solution. You can buy 500 feet of RG-6 for about $32 at Home Depot and good low-noise transistors are available under $1. You just need enough gain to offset the cable loss and RG-6 is pretty good.
Alan
IMHO, for those like me that has a lot of radio interferences in the house, remoting the raspberry is very very very good! My raspi is in the attic since september 2012...NEVER powered off...temperature of raspy never reached more than 50°. Of course...this is only my situation!