/IoT-LoraSX1278-Raspberrypi

This is an IoT project using LoRa transmission technology 📡. The use cases are: Forest fire alert system🔥 and Railway smart transmission 🚅.

Primary LanguagePythonMIT LicenseMIT

IoT LoRa transmission project 📡

Developed by Hieu - (Toni)

This IoT project uses LoRa transmission technology. You can modify and contribute to my code as long as you include the original copyright notice and disclaimer.

Before going deeper into the project, I highly recommend that you try communicating between the Lora module and Arduino as a first step to getting familiarized. You can find my source code + tutorial here

Nedded python packages for the project:

Install it using pip or pip3, but I suggest using pip3

License Python Pip or Pip3 Python dev tools MySQL python Mysql connector python RPi.GPIO Brown PyLoRa Pycryptodom Pycrypto Message

Use cases for the project

There are two use cases I use for this project: Forest fire warning system and Smart railway transmission. This is the proposal architecture: SmartRaillWay-Ar

The project contains three properties:

  1. Node: We use Raspberry Pi Zero integrated with module Lora-Ra 02 SX1278 and sensors: LDR, DHT22, MQ135, Buzzer 5v 2505A. The node will collect data from sensors include: temperature, humidity, percentage CO of smophere,.... and sends to the Gateway. Source code of the nodes implementation on this project you can find here. Documentation on how to set up Python packages, schematic pin pout layout and configuration on Raspberry Pi Zero node can be found here

Block diagram

Node_3

Screenshot 2023-09-15 153852

  1. Gateway: We use Raspberry Pi 3 B+ integrated with module Lora-Ra 02 SX1278, after receiving data from nodes, gateway will send data to the Web Server in running in Cloud, We use Firebase and GoogleCloud to store and share datas with the monitor Web Application and the Mobie Application via API. Source code of the gateway implementation on this project you can find here. Documentation on how to set up Python packages, schematic pin pout layout and configuration on Raspberry Pi gateway can be found here

Block diagram

Gateway_3

Screenshot 2023-09-20 152600
3. Web application: Web server will recieve data from gateway and share with Mobile Application via API. The datas are showed and monitored in json format integrated with Firebase database. The source code can be found here
Note: This web application is just only for demonstration you can develop some analytic features in the future. IoT6

Last Update

10/2023

Summury

If you like my project don't forget to drop a star 🌟 on my github repo. Have nice day 😊!

Referencece Links