Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Miscellaneous Sections
Tech Head - The Technology Section
SDR radio, Software Defined Radio
ModeSDeco2 RPI setup
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Archive-8" data-source="post: 992604"><p>download raspbian-jessie.img <a href="https://www.raspberrypi.org/downloads/raspbian/" target="_blank">Download Raspbian for Raspberry Pi</a></p><p></p><p>download win32 diskimager <a href="https://sourceforge.net/projects/win32diskimager/" target="_blank">Win32 Disk Imager</a></p><p></p><p>download putty <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">PuTTY Download Page</a></p><p></p><p>and write the img file to your sd card, once the pi is up and running, log in via the ssh option in putty (eg 192.168.x.xx ip address of pi)</p><p></p><p>[ATTACH=full]99765[/ATTACH]</p><p></p><p>first time you use putty to log in, you will have to click yes.</p><p></p><p>login as</p><p></p><p>username: pi</p><p>password: raspberry</p><p></p><p>[ATTACH=full]99766[/ATTACH]</p><p></p><p>now we need to install the rtl sdr drivers, cut and paste each line at a time, and wait until you see the pi@raspberry pi.</p><p></p><p>sudo apt-get -y install git cmake build-essential libusb-1.0-0-dev</p><p></p><p>git clone git://git.osmocom.org/rtl-sdr.git</p><p></p><p>cd rtl-sdr/</p><p></p><p>mkdir build</p><p></p><p>cd build</p><p></p><p>cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_UDEV_RULES=ON</p><p></p><p>make</p><p></p><p>sudo make install</p><p></p><p>sudo ldconfig</p><p></p><p>cd ../..</p><p></p><p></p><p>now we need to identifiy the device we wish to use</p><p></p><p>lsusb</p><p></p><p>and make a note of the device number.</p><p></p><p>now we need to add some lines to the blacklist.</p><p></p><p>sudo nano /etc/modprobe.d/no-rtl.conf</p><p></p><p>blacklist rtl2832</p><p>blacklist r820t</p><p>blacklist rtl2830</p><p>blacklist dvb_usb_rtl28xxu</p><p></p><p>Save the file Ctrl-O hit enter to confirm the file name and then exit Ctrl-X</p><p></p><p>Now reboot by entering</p><p></p><p>sudo reboot</p><p></p><p>now load filezilla goto file>site manager> protocol box sftp and connect.</p><p></p><p>[ATTACH=full]99769[/ATTACH] [ATTACH=full]99768[/ATTACH]</p><p></p><p></p><p>in the right hand box of filezilla, right click the mouse button, and go to create directory and enter it, I named it modesdeco2.</p><p></p><p>download this file <a href="https://drive.google.com/open?id=0B7NYXizl0U6iYnZZdVRzRHcxbFU" target="_blank">modesdeco2_rpi3_20160520.tgz</a> and rename it to modesdeco2</p><p></p><p>copy the file across to the modesdeco2 folder.</p><p></p><p>now load putty and log back in and select the right folder</p><p></p><p>cd modesdeco2</p><p></p><p>unzip the file using this command</p><p></p><p>tar -xvf modesdeco2.tgz</p><p></p><p>you need a basestation.sqb</p><p></p><p><a href="https://www.dropbox.com/s/mqqh96k56ju55dq/BaseStation.rar?dl=0" target="_blank">Dropbox - BaseStation.rar</a></p><p></p><p>and silhouettes <a href="https://www.dropbox.com/s/ysj5j8twcx91oq4/silhouettes.rar?dl=0" target="_blank">Dropbox - silhouettes.rar</a></p><p></p><p>you can get both from virtual radar server</p><p></p><p>Using Filzila</p><p></p><p>Copy BaseStation.sqb into /home/pi/modesdeco2 on the pi.</p><p></p><p>Make a sub folder under /home/pi/modesdeco2 I used /home/pi/modesdeco2/silhouettes</p><p></p><p>now close filezilla.</p><p></p><p>go back to putty to see if its working</p><p></p><p>/home/pi/modesdeco2/modesdeco2 --rbs --gain 49.6 --web 8082 --beast 31001 --sbs10001 30003 --db /home/pi/modesdeco2/BaseStation.sqb --silhouettes /home/pi/modesdeco2/silhouettes &</p><p></p><p><a href="http://raspberrypi:8082/" target="_blank">http://raspberrypi:8082</a></p><p></p><p>Ctrl+C to stop modesdecode2</p><p></p><p>Auto run</p><p></p><p>Now you have it working you will want to make it auto start with the PI, to do this we need to login with Putty and issue the following command.</p><p></p><p>sudo nano /etc/rc.local</p><p></p><p>add the line: /home/pi/modesdeco2/modesdeco2 --freq-correction 1 --rbs --gain 49.6 --web 8082 --beast 31001 --sbs10001 30003 --db /home/pi/modesdeco2/BaseStation.sqb --silhouettes /home/pi/modesdeco2/silhouettes --location 52.741:0.450 &</p><p></p><p>and change the location to match your location, and the freq correction.</p><p></p><p>Save the file Ctrl-O hit enter to confirm the file name and then exit Ctrl-X</p><p></p><p>[ATTACH=full]99767[/ATTACH]</p></blockquote><p></p>
[QUOTE="Archive-8, post: 992604"] download raspbian-jessie.img [URL='https://www.raspberrypi.org/downloads/raspbian/']Download Raspbian for Raspberry Pi[/URL] download win32 diskimager [URL='https://sourceforge.net/projects/win32diskimager/']Win32 Disk Imager[/URL] download putty [URL='http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html']PuTTY Download Page[/URL] and write the img file to your sd card, once the pi is up and running, log in via the ssh option in putty (eg 192.168.x.xx ip address of pi) [ATTACH=full]99765[/ATTACH] first time you use putty to log in, you will have to click yes. login as username: pi password: raspberry [ATTACH=full]99766[/ATTACH] now we need to install the rtl sdr drivers, cut and paste each line at a time, and wait until you see the pi@raspberry pi. sudo apt-get -y install git cmake build-essential libusb-1.0-0-dev git clone git://git.osmocom.org/rtl-sdr.git cd rtl-sdr/ mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_UDEV_RULES=ON make sudo make install sudo ldconfig cd ../.. now we need to identifiy the device we wish to use lsusb and make a note of the device number. now we need to add some lines to the blacklist. sudo nano /etc/modprobe.d/no-rtl.conf blacklist rtl2832 blacklist r820t blacklist rtl2830 blacklist dvb_usb_rtl28xxu Save the file Ctrl-O hit enter to confirm the file name and then exit Ctrl-X Now reboot by entering sudo reboot now load filezilla goto file>site manager> protocol box sftp and connect. [ATTACH=full]99769[/ATTACH] [ATTACH=full]99768[/ATTACH] in the right hand box of filezilla, right click the mouse button, and go to create directory and enter it, I named it modesdeco2. download this file [URL='https://drive.google.com/open?id=0B7NYXizl0U6iYnZZdVRzRHcxbFU']modesdeco2_rpi3_20160520.tgz[/URL] and rename it to modesdeco2 copy the file across to the modesdeco2 folder. now load putty and log back in and select the right folder cd modesdeco2 unzip the file using this command tar -xvf modesdeco2.tgz you need a basestation.sqb [URL='https://www.dropbox.com/s/mqqh96k56ju55dq/BaseStation.rar?dl=0']Dropbox - BaseStation.rar[/URL] and silhouettes [URL='https://www.dropbox.com/s/ysj5j8twcx91oq4/silhouettes.rar?dl=0']Dropbox - silhouettes.rar[/URL] you can get both from virtual radar server Using Filzila Copy BaseStation.sqb into /home/pi/modesdeco2 on the pi. Make a sub folder under /home/pi/modesdeco2 I used /home/pi/modesdeco2/silhouettes now close filezilla. go back to putty to see if its working /home/pi/modesdeco2/modesdeco2 --rbs --gain 49.6 --web 8082 --beast 31001 --sbs10001 30003 --db /home/pi/modesdeco2/BaseStation.sqb --silhouettes /home/pi/modesdeco2/silhouettes & [URL='http://raspberrypi:8082/']http://raspberrypi:8082[/URL] Ctrl+C to stop modesdecode2 Auto run Now you have it working you will want to make it auto start with the PI, to do this we need to login with Putty and issue the following command. sudo nano /etc/rc.local add the line: /home/pi/modesdeco2/modesdeco2 --freq-correction 1 --rbs --gain 49.6 --web 8082 --beast 31001 --sbs10001 30003 --db /home/pi/modesdeco2/BaseStation.sqb --silhouettes /home/pi/modesdeco2/silhouettes --location 52.741:0.450 & and change the location to match your location, and the freq correction. Save the file Ctrl-O hit enter to confirm the file name and then exit Ctrl-X [ATTACH=full]99767[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Miscellaneous Sections
Tech Head - The Technology Section
SDR radio, Software Defined Radio
ModeSDeco2 RPI setup
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top