Skip to content

meinscheins/gr-electrosense

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gr-electrosense

An OOT module for electrosense sensor node. This implementation allows any user to connect to electrosense network with proper credentials and GNURadio installation.

Dependencies

  1. GNURadio
  2. Apache Avro python bindings
  3. MQTT python bindings

New Port Numbers

Electrosense now uses port 8883 for MQTT and port 5001 for the sensor sink.

Installation

Basic installation

mkdir build ; cd build
cmake ../
make
sudo make install

Enable GPU FFT block for RPI

Download the latest RPI gpu fft module from here

Extract the archive, then copy and use gpufft_makefile from extras directory to make a shared library

make clean
make -f gpufft_makefile
make 
sudo make install

Install gr-electrosense with GPU_FFT enabled

mkdir build ; cd build
cmake ../ -DENABLE_GPUFFT=ON
make
sudo make install

Available blocks

  1. Discard samples
    • Allows to discard samples from a continuous stream based on a variable change or tag
  2. Sensor sink
    • Upstream connector block
  3. MQTT client & Variable updater
    • Enables downstream variable control with optional authentication
  4. Scanning module (embedded in flowgraph)
    • Supports sequential, random and similarity hopping patterns
  5. RPI GPU FFT
    • Makes use of RPI gpu_fft module instead of FFTW

Usage

Sample examples

Check examples folder for detailed flowgraphs

Downstream variable update

Setup mosquitto broker and perform a sample test locally

mosquitto &

Analyse the channel

mosquitto_sub -d -t electrosense

Run electrosense_mqtt_test.grc and try to change a variable

mosquitto_pub -t electrosense -m "rfgain,10"

ToDos

  1. Detailed block output and speed testing
  2. Detailed data validation testing with the backend
  3. Embedded boards performance comparisons (RP1,2...)

About

GNURadio module to connect to Electrosense

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 33.4%
  • Python 30.4%
  • C++ 26.0%
  • C 10.2%