ModeSDeco2 RPI setup

A

Archive-8

Guest
I want to use my raspberry pi as an ascars decoder.

Can anyone help me please with a step by step guide

I really want to run the ascarsdeco2 prog, and I have that running in windows, but I am looking to expand my system and coverage.

Any help please.

Thanks.
 
A

Archive-8

Guest
download raspbian-jessie.img Download Raspbian for Raspberry Pi

download win32 diskimager Win32 Disk Imager

download putty PuTTY Download Page

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)

IMG_1209.PNG

first time you use putty to log in, you will have to click yes.

login as

username: pi
password: raspberry

IMG_1210.PNG

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.

IMG_1212.PNG IMG_1208.PNG


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 modesdeco2_rpi3_20160520.tgz 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

Dropbox - BaseStation.rar

and silhouettes Dropbox - silhouettes.rar

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 &

http://raspberrypi:8082

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

Screenshot 2016-11-02 20.44.59.png
 
Last edited by a moderator:
Analoguesat

Analoguesat

Administrator
Staff member
Messages
46,954
Location
Scottish Borders
My Satellite Setup
TM 5402HD
Skybox F3
Sky+ UK.
My Location
Scottish Borders
I'll change the thread title Chris. Should the topic be moved to the SDR section as well as its allied to that?
 
Analoguesat

Analoguesat

Administrator
Staff member
Messages
46,954
Location
Scottish Borders
My Satellite Setup
TM 5402HD
Skybox F3
Sky+ UK.
My Location
Scottish Borders
No problemo :D
 
Analoguesat

Analoguesat

Administrator
Staff member
Messages
46,954
Location
Scottish Borders
My Satellite Setup
TM 5402HD
Skybox F3
Sky+ UK.
My Location
Scottish Borders
And done - Ive left a temporary redirect out of the other section.
 
A

Archive-8

Guest
Mode note:

The title is for ModeSDeco2 not ModeSMixer2.

Please change the title, and delete this post.

Many thanks.
 
Top