Skip to content

Pycom Lopy 4 node that allows to send multimedia traffic over long distances using LoRa RAW (pure LoRa, no LoRaWAN) channel.

Notifications You must be signed in to change notification settings

cristiantrapero/tfm-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Una solución basada en LoRa para comunicaciones multimedia en entornos extremos

The main objective of this work will be to develop a communications system that allows multimedia traffic of any size to be sent over long distances using the LoRa RAW (pure LoRa, no LoRaWAN) channel.

WiFi version

This is implemented for the Pycom LoPy 4. The LoPy setups a WiFi Access Point to be able to connect to an Android application to manage the sending of multimedia files and once receive, it is forwarded to another LoPy 4.

How to setup the application

  1. Install NojeJS depending on the operating system you have using https://nodejs.org/es/download/ or with NVM https://github.com/nvm-sh/nvm
  2. Install the Pymakr tool for Atom as described here: https://docs.pycom.io/gettingstarted/software/atom/
  3. Clone this repository: git clone https://github.com/cristiantrapero/tfm-node.git
  4. Open this project in Atom
  5. Connect the LoPy 4 to the computer USB
  6. Select Upload project to device
  7. Wait until load the project in the LoPy 4
  8. Open the main.py file in the Atom editor and select Run selected file in the Pymakr bar.
  9. Connect the Android application to the sender node and take the image and send it. The application is located in: https://github.com/cristiantrapero/tfm-android

Files

The repository is structured as follow:

  • boot.py: Disables WiFi to avoid interferences.
  • main.py: Main function. Setup BLE, LoRa and all necessary to run the node.
  • www: Folder that contains html files.
  • lib:
    • loractp.py: Contains the Lora Content Transfer Protocol (LoRaCTP) with his API.
    • MicroWebSrv2: HTTP Web server library. Github: https://github.com/jczic/MicroWebSrv2
    • database.py: Manages the messages database.

Firmware versions

LoPy4 firmware version:

  • Pycom MicroPython: 1.20.2.r6 [v1.11-c5a0a97] released at 2021-10-28.
  • Pybytes Version: 1.7.1

Pysense v1.0 firmware version:

About

Pycom Lopy 4 node that allows to send multimedia traffic over long distances using LoRa RAW (pure LoRa, no LoRaWAN) channel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages