From: drowe67 Date: Mon, 19 Jun 2017 07:15:02 +0000 (+0000) Subject: ready to test first few steps X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=68a2146acc5fab2451ac05911877085f52127fd7;p=freetel-svn-tracking.git ready to test first few steps git-svn-id: https://svn.code.sf.net/p/freetel/code@3219 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/misc/lilacsat1/README.txt b/misc/lilacsat1/README.txt new file mode 100644 index 00000000..dd391aca --- /dev/null +++ b/misc/lilacsat1/README.txt @@ -0,0 +1,14 @@ +README.txt +LilacSat-1 Rx Setup for AREG Club Project +Mark Jessop and David Rowe +June 2017 + +If the build fails, (e.g. due to a missing package) you can restart it: + +$ cd prefix/default/ +$ pybombs rebuild + +TODO +---- +[ ] rebuild instructions +[ ] link to gnuradio build instructions diff --git a/misc/lilacsat1/lilacsat1_setup.sh b/misc/lilacsat1/lilacsat1_setup.sh new file mode 100644 index 00000000..972452bc --- /dev/null +++ b/misc/lilacsat1/lilacsat1_setup.sh @@ -0,0 +1,79 @@ +# lilacsat1_setup.txt +# LilacSat-1 Rx Setup for AREG Club Project +# Mark Jessop and David Rowe +# June 2017 + +# Open a terminal and check you have Ubuntu 16.04 + +lsb_release -a + +# List of packages suggested by gnuradio install instructions + +$ sudo apt-get -y install git swig cmake doxygen build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc libcppunit-1.13-0v5 libcppunit-dev libcppunit-doc ncurses-bin cpufrequtils python-numpy python-numpy-doc python-numpy-dbg python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc python-qt4-doc libqwt6abi1 libfftw3-bin libfftw3-dev libfftw3-doc ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk3.0 git-core libqt4-dev python-numpy ccache python-opengl libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev libasound2-dev python-gtk2 libzmq-dev libzmq1 python-requests python-sphinx libcomedi-dev python-zmq + +# Setup pybombs, which handles the gnuradio installation + +sudo easy_install -U pip +sudo pip install construct pybombs +mkdir prefix + +# Building gnuradio - takes some time + +pybombs prefix init -a default prefix/default/ -R gnuradio-default + +# Add gpredict-daily PPA and install (we want the latest version) + +sudo add-apt-repository ppa:gpredict-team/daily +sudo apt-get update +sudo apt-get install gpredict + +# Install some other dependencies + +git clone https://github.com/daniestevez/libfec.git + +# follow the INSTALL file for that one. + +https://github.com/daniestevez/gr-satellites.git + + +# Install gqrx +sudo pybombs install gqrx + +# Hopefully by now we have everything needed to compile gr-satellites + +git clone https://github.com/daniestevez/gr-satellites.git +# use standard cmake build process with this one (mkdir build; cd build; cmake ../; etc...) +# once compiled/installed, run (from the gr-satellites root) +./compile_hierarchical.sh + +# Now you have to make it all talk to each other :-) +# might need to ring me for that. + +# GQRX +- Set up to talk to your SDR of choice. +- Up top, look for settings icon. + - Make sure RX port set to 7356 +- Up top, make sure little 'Remote control via TCP' icon is selected (2 computers icon) +- In receiver options tab (on the right) set Mode to USB +- Drag passband indication abover waterfall so filter width is maybe 30 kHz wide. +- Bottom right, click ... + - Network tab, set UDP port to 7355, hostname to localhost +- I'd also suggest setting the 'main' audio output to a dummy audio device, you don't want to hear the modem signal really. +- Click 'UDP' to have it start sending samples out via UDP port. + +# Gpredict +- Set up as normal, update keps, set location, add lilacsat-1 +- Edit -> Preferences -> Interfaces + - Add new interface, radio type RX Only + - Set port to 7356, hostname of localhost +- Back on gpredict main window, top right look for down arrow, go to Radio control + - Choose LilacSat-1 in target dropdown + - Set downlink freequency to 436.499.000 Hz + - Choose gqrx from radio list, set cycle to 5000, + - Click 'engage' then click 'track' + - You should now see gqrx's frequency adjusting every 5 seconds. + +# gr-satellite stuff +# When you get to this point, let me know >_> + + diff --git a/misc/lilacsat1/lilacsat_setup.txt b/misc/lilacsat1/lilacsat_setup.txt deleted file mode 100644 index 2ac27791..00000000 --- a/misc/lilacsat1/lilacsat_setup.txt +++ /dev/null @@ -1,74 +0,0 @@ -# Install dependencies. -# this probably isnt all of them -sudo apt-get install - feh - libfftw* - cmake - build-essential - git - python-pip - - -# Add gpredict-daily PPA and install (we want the latest version) -sudo add-apt-repository ppa:gpredict-team/daily -sudo apt-get update -sudo apt-get install gpredict - -# Upgrade pip -sudo easy_install -U pip - -# Install some stuff from pip -sudo pip install - construct - pybombs - -# Install some other dependencies -git clone https://github.com/daniestevez/libfec.git -# follow the INSTALL file for that one. - -https://github.com/daniestevez/gr-satellites.git -# Compile/install gnuradio -sudo pybombs install gnuradio -# should compile and install stuff - -# Install gqrx -sudo pybombs install gqrx - -# Hopefully by now we have everything needed to compile gr-satellites - -git clone https://github.com/daniestevez/gr-satellites.git -# use standard cmake build process with this one (mkdir build; cd build; cmake ../; etc...) -# once compiled/installed, run (from the gr-satellites root) -./compile_hierarchical.sh - -# Now you have to make it all talk to each other :-) -# might need to ring me for that. - -# GQRX -- Set up to talk to your SDR of choice. -- Up top, look for settings icon. - - Make sure RX port set to 7356 -- Up top, make sure little 'Remote control via TCP' icon is selected (2 computers icon) -- In receiver options tab (on the right) set Mode to USB -- Drag passband indication abover waterfall so filter width is maybe 30 kHz wide. -- Bottom right, click ... - - Network tab, set UDP port to 7355, hostname to localhost -- I'd also suggest setting the 'main' audio output to a dummy audio device, you don't want to hear the modem signal really. -- Click 'UDP' to have it start sending samples out via UDP port. - -# Gpredict -- Set up as normal, update keps, set location, add lilacsat-1 -- Edit -> Preferences -> Interfaces - - Add new interface, radio type RX Only - - Set port to 7356, hostname of localhost -- Back on gpredict main window, top right look for down arrow, go to Radio control - - Choose LilacSat-1 in target dropdown - - Set downlink freequency to 436.499.000 Hz - - Choose gqrx from radio list, set cycle to 5000, - - Click 'engage' then click 'track' - - You should now see gqrx's frequency adjusting every 5 seconds. - -# gr-satellite stuff -# When you get to this point, let me know >_> - -