From 545f05a5657f0aaeeaa9db915e7c3fefede5acaa Mon Sep 17 00:00:00 2001 From: josh Date: Mon, 3 Jun 2024 18:04:02 -0400 Subject: [PATCH] updated webpage --- README.md | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5223eff..36af15b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,25 @@ 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 -p " + +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?? 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) - -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) \ No newline at end of file