กลับไปหน้ารวมไฟล์
seeed-lora-e5-tutorial-with-st-programmer-dacafc-en.md

This is a tutorial on how to program the LoRa-E5 mini device using the ST Cube programmer and IDE. It allows you to connect to The Things Network using a standard gateway.

The E5 mini is a compacted-sized development board suitable for the rapid testing and building of small-size prototyping and helps you design your ideal LoRaWAN® wireless IoT device with a long-distance transmission range. E5 mini is embedded with Wio-E5 STM32WLE5JC Module, which delivers the world-first combo of LoRa® RF and MCU chip into one single tiny chip and is FCC and CE certified. It is powered by ARM Cortex-M4 core and Semtech SX126X LoRa® chip and supports LoRaWAN® protocol on the worldwide frequency and (G)FSK, BPSK, (G)MSK, and LoRa® modulations.

If you want to send a text message from a weather station located 5 miles out in the wilderness, Bluetooth and Wi-Fi are utterly useless. Cellular networks require expensive monthly SIM cards. The solution is LoRa (Long Range Radio). The Seeed LoRa E5 module is an industrial-standard radio transceiver.

The LoRaWAN Advantage

LoRa operates on sub-gigahertz frequencies (e.g., 915 MHz in the US, 868 MHz in Europe).

  1. Low Bandwidth: You cannot send pictures over LoRa. It is designed to send tiny packets of text (e.g., [Temp: 24C]) every few minutes.
  2. Extreme Range: Because the frequency is low and pulses very slowly, the signal can penetrate buildings, forests, and travel up to 10 kilometers line-of-sight on minimal battery power!
  3. The AT Command Interface: The Arduino communicates with the LoRa E5 module via Serial using "AT Commands." The Arduino shoots a text string: AT+MSG="Hello World" over the TX pin, and the module handles the complex radio transmission.

Connecting to The Things Network (TTN)

Rather than building a second Arduino node to act as the receiver, you can connect to The Things Network.

  • TTN is a global community of LoRa gateways.
  • You register your module's keys on their website.
  • Your Arduino blasts the data into the sky. If your city has a gateway on a roof miles away, the gateway picks it up and forwards it to the internet, allowing you to read your sensor data anywhere in the world, completely free!

Component Necessities

  • Arduino board (preferably an ESP32 or ESP8266 for the Hub).
  • Seeed LoRa-E5 module and its required Antenna.
  • A reliable 3.3V power source.

#lora #lorawan #seeed #stm32 #thethingsnetwork #ttn #stm #stlink #stlinkv2

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x STM32CUBEPROG"
author: "cstram"
category: "Wireless & IoT"
components:
  - "1x Seeed LoRa-E5 mini"
  - "1x STLINK V2"
  - "1x ST Cube Programmer"
  - "1x STB Cube IDE"
description: "Long-range comms without Wi-Fi! Learn how to integrate the LoRa E5 module to broadcast telemetry data over several kilometers using radio frequencies."
difficulty: "Intermediate"
documentationLinks: []
downloadableFiles: []
encryptedPayload: "U2FsdGVkX18111kwD83pE5ujdSBLCRT225wUq0zBHytHrZe0DIn+gIfZEXwrWSQwq3mrCKl/3ZDnuqoZO80pIneR3sZ0MljZCQPmNxjTlFs="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/seeed-lora-e5-tutorial-with-st-programmer-dacafc_cover.jpg"
lang: "en"
likes: 0
passwordHash: "e494cac17c54d07a7651397f098abc5998bd1dcf0aee8f2e45add86a887c56d5"
price: 699
seoDescription: "Step-by-step tutorial on how to program the Seeed LoRa-E5 mini device using an ST programmer."
tags:
  - "tutorial"
  - "lorawan"
  - "lora"
title: "Seeed LoRa E5 Tutorial with ST programmer"
tools: []
videoLinks:
  - "https://www.youtube.com/embed/5C5l0wBG3sk"
views: 4321