Changes

Jump to navigation Jump to search
no edit summary
Add the following to the end of your .bashrc if there is no PYTHONPATH variable.
<code>export PYTHONPATH=/usr/local/lib/python3.8/dist-packages/</code>
====Finish up====
Current version of script which does GPS coordinates extraction requires Python 2.7 and numpy library installed.
<syntaxhighlight lang="bash">
sudo apt-get install python2
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.pysudo pip2 install numpy
</syntaxhighlight>
===Install gr-smart_meters===
===Start GNU Radio from a terminal window===
<code>gnuradio-companion</code>
 
 
 
If you get an error when you start GNU Radio "The xterm executable 'x-terminal-emulator' is missing, edit the following file:<syntaxhighlight lang="bash">
sudo nano /etc/gnuradio/conf.d/grc.conf
</syntaxhighlight>Edit the line to read 'xterm_executable = /usr/bin/gnome-terminal"
===Open flowgraph for your SDR===
In GNU Radio open a flowgraph and navigate to the gr-smart_meters/examples folder. If you have installed everything above you should be able to run it and see smart meter data!
The init value is what you enter into the GridStream block, you can now enable the CRC and know you have correct data!
 
{{#widget:CRCprefix}}

Navigation menu