A small project using LoRa to send sensor data long distances.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Colin ff9162c6c1 Initial client menu rework 4 months ago
RadioClient Initial client menu rework 4 months ago
RadioServer Incorrect permissions fix 4 months ago
LICENSE Add LICENSE 7 months ago
README.md Initial client menu rework 4 months ago
fullinstall.sh Fixed install scripts, changed service name 4 months ago

README.md

LoRaSensors

Code and guide for my LoRa Sensor Project

Guide

Parts

Arduino

Raspberry Pi

Other

  • Soldering Iron
  • Solder Wire (I used rosin core solder but lead based will work as well)
  • Solid Core Wire (For Antenna)

Radio Client Installation

Assembly

  • Solder the female headers to the Main Board Guide
  • Solder the male headers to the OLED Guide
  • Attach the sensor with the OLED with the QT/Qwiic JST cable

Arduino IDE

Radio Server Installation

Pi Setup

  • Plug in your radio bonnet to the Pi, it should overhang the main board
  • Download and install Raspberry Pi OS to the Micro SD Guide/Downloads
  • Boot the Raspberry Pi with the Micro SD
  • Follow any setup instructions
  • Start and enable SSH with sudo systemctl start ssh && sudo systemctl enable ssh
  • Find the IP Address with ip a
  • Connect remotely via SSH Guide

Python Setup Automatic

  • Run wget https://codeberg.org/cyberfarmer/LoRaSensors/raw/branch/master/fullinstall.sh
  • Run sudo bash fullinstall.sh
  • Answer the appropriate prompts
  • Reboot after install
  • Start it up with sudo systemctl start LoRaSensors.service

Python Setup Manual

  • Install Python and CircutPython Guide
  • Install bonnet software Guide
  • Install http server
  • Clone the repository to your machine
  • Move index.php to http server root directory
  • Run the program with python3 /path/to/radioServer.py
  • Make sure the working directory for running that command is where db.csv and font5x8.bin are located