Home - SteveCossy/IOT GitHub Wiki

Internet of Things Project(s)

Most information about development of this project will be found in the the Issues discussions. Overall information is in the Operation wiki pages. A broad summary of the context and some detailed documentation is available here.

Git Folder Contents Opportunities for research & development
Project Purpose This project creates a low-cost environment for sensors reading field data and making it available to stakeholders by some purpose appropriate method.
Initially focussed primarily on using a PicAxe processor to read sensors and transmit data over LoRa, which is received by another sensor attached to a Raspberry Pi.
  • Investigate influence on interference from power supply to the RF signal.
  • Map out code, showing interrelationships, and look at ways to tidy it up in general.
  • Currently only reports to Cayenne's cloud, which doesn't take txt strings. Perhaps create our own Mosquitto server.
  • More information could be put into the toml configuration file.
LoRaReAd Files created to get data direct from LoRa module to Pi
  • Make more general - code can recognise LoRa module model, and adapt.
  • Incoming data needs to be put into a queue to help with error recovery
  • Code should report current status of LoRa module into a txt file (at least) on startup.
  • LoRa parameters should be able to be changed in the field.
CayenneMQTT & WebPy All files to get MQTT data from Cayenne in to a csv file, then to geojson (CayenneMQTT) and on to an OpenStreetMap page (WebPy).

This code uses Python and Javascript to create web pages for visualization of GPS data previously read in by the LoRaReAd project.

  • Currently very static. Should be able to recognise data structure and create / read .csv data to match.
  • Change structure to put data into a database and provide visualization options etc (perhaps with Plotly)
  • OpenStreetMap section is written in Javascript for execution in a browser. This could probably be enhanced with some time and thought.
  • Both the Python and Javascript code could offer greater functionality, in a more user-friendly format.
PicAxe BASIC code that going into the PicAxe 08M2 processor used for most of our sensors and some gateways.
  • Could have Python code that can be given parameters, and will then generate BASIC and documentation.
  • USB serial port from a Pi could be used to upload different code to the PicAxe.
Test Short Python scripts for test concepts and other generally useful standalone things.
MQTTupload Major accumulation of working files across these projects
OSM-PythonAndLeaflet OpenStreetMap related stuff
ZIP-v0.01 Old Stuff from Andrew
documentation Random Notes
om2p Notes for using OpenMesh access points
readsensors Initial notes on reading sensors from a Pi
Visualisation This project was a previous proof of concept Capstone Project, which implements a hosted graphing page.

See the project README.mk file for more information

This could be re-written to be hosted locally, with far more data storage, manipulation, and visualisation options.

Relevant Publications

More details on Google Scholar
S Cosgrove, A Hornblow (2023) Tracking Kororā: effective and affordable electronic data collection Note the references slide at the end of this presentation.
S Cosgrove, M Way, A Way, A Hornblow (2021) Power Supply Dynamics for Outdoor IoT [Alternative link]
S Cosgrove, A Hornblow (2020) Strategies for Introducing Students to Age-Appropriate Electronics Education
J Pillai (2019) Measuring the Performance of IEEE 802.11n & ac Wireless Networks in a Complex Multipath Environment Unpublished thesis presented in partial fulfillment of the requirements for the degree of Master of Information Technology at Whitireia Polytechnic.
S Cosgrove, A Hornblow (2018) Using Environmental Sensors with Mosquitto, Python, and other dangerous components [Alternative link]
C Thakur, S Cosgrove (2015) Testing New Zealand Bush Environment Using Simulation Tools [Alternative link]
J Pillai, S Cosgrove, D Strode (2014) Development of an Optimal Wireless Network Solution to Connect End-User Devices in a Bush Environment [Alternative link]
S Cosgrove, V Naik, R Johal (2013) [Wireless Network goes bush: Wifi in Zealandia] (https://www.citrenz.ac.nz/conferences/2013/pdf/2013CITRENZ_3_Poster_Cosgrove_37_Wireless.pdf) [Alternative link]

⚠️ **GitHub.com Fallback** ⚠️