Skip to content

Python script to send data from a Microchip RN2XX3 module to a gateway, connection done using OTAA

Notifications You must be signed in to change notification settings

jnavarro7/RN2XX3-Raspberry-Pi-Zero-LoRa-Hat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Zero LoRA hat based on the RN2903 module.

Python script to send data from a Microchip RN2903 915MHz LoRa Radio module to a gateway, connection done using OTAA. This establishes a connection to a LoRa Gateway and sends a message to it which can then be parsed in the gateway. I commonly use Node Red to connect to a Twitter account and display data.

UART

The UART bus is commonly exposed in Linux as

/dev/ttyAMA0

Python Script

The script stablishes the connection with the Microchip RN2XX3 module via UART at a 57600 baud rate. Transmit data to it and reads its response.

Usage

sudo python lora_send_RPi_LoRaHat.py 'text to send'

Hardware

Hardware design files located in the "hardware" directory.

alt tag

alt tag

alt tag

alt tag

About

Python script to send data from a Microchip RN2XX3 module to a gateway, connection done using OTAA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages