updated webpage

This commit is contained in:
josh 2024-06-03 18:04:02 -04:00
parent bba1df0cc1
commit 545f05a565

View File

@ -1,5 +1,25 @@
This is a GnuRadio SDR project to fully build a RX and TX stack for Meshtastic. This is a GnuRadio SDR project to fully build a RX and TX stack for Meshtastic.
To run:
1. Clone repo to local machine with " git clone https://gitlab.com/crankylinuxuser/meshtastic_sdr "
2. Install Gnuradio and associated plugins.
3. Clone and install https://github.com/tapparelj/gr-lora_sdr
4. Open in ./meshtastic_sdr/gnuradio scripts/RX/ your relevant area and presets you want to monitor. RTLSDR can be used with all but the Meshtastic_US_allPresets.grc as that requires 20MHz (HackRF or better)
5. Run the flow in GnuRadio. NOTE: the flows emit data AS A server to TCP ports. Looking at the block "ZMQ PUB Sink" you can see the ports are from 20000-20007.
6. Run the python3 program with "python3 meshtastic_gnuradio_decoder.py -n <SERVER> -p <PORT>"
Note that the ports are set as:
Shortfast TCP/20000
ShortSlow TCP/20001
MediumFast TCP/20002
MediumSlow TCP/20003
LongFast TCP/20004 (COMMON!)
LongModerate TCP/20005
LongSlow TCP/20006
VeryLongSlow TCP/20007
Now, why would I do this?? Now, why would I do this??
An SDR can decode all the presets at the same time. Real hardware can only decode the preset in which its set to. An SDR can decode all the presets at the same time. Real hardware can only decode the preset in which its set to.
@ -15,14 +35,4 @@ Note: Meshtastic is a trademark by these fine folks! https://meshtastic.org . We
![](public/US_all_preset_capture.png) ![](public/US_all_preset_capture.png)
1. Download and install https://github.com/tapparelj/gr-lora_sdr
2. To install, clone the repo to your area of choosing.
3. Inside there is a "gnuradio scrips/RX" directory with 8 files. Some are US and others are EU.
4. Open the 250KHz respective to your area
5. Change the Source block to the hardware you have. This may be a RTL-SDR, HackRF, USRP, LimeSDR. You might have to install the driver if it's custom hardware.
5. Check for errors. Once good, run the script! You'll see data in console as its being evaluated.
6. To get data OUT of GnuRadio, connect to the respective TCP ports from 20000-20007 for the specific Preset type.
7. You can take this in whatever program you wish, but I provide a very rough Node-Red flow to parse a part of the data.
![](public/nodered_data_capture.png) ![](public/nodered_data_capture.png)