GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsLoRaWAN nodes send small packets to gateways, which forward them to a network server such as The Things Network. The Seeed LoRa-E5 is an STM32WL module with LoRa built in and AT-command firmware, so the ESP32 sends plain text commands: set the region, set the keys, join, then send. It pairs well with your own WM1302 gateway or any public gateway in range.
Use an antenna made for 865-868 MHz and stay within India's power limits.
Tick anything you already have and the total updates.
Seeed LoRa-E5 STM32WLE5JC module
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB or a power bank.
lorae5_node.inoVerify & upload in Electrolark#include <DHT.h>
DHT dht(4, DHT22);
const char* APPEUI = "0000000000000000";
const char* APPKEY = "00000000000000000000000000000000";
String at(const String& cmd, int waitMs = 1000) {
Serial2.println(cmd);
unsigned long t0 = millis(); String r;
while (millis() - t0 < waitMs) while (Serial2.available()) r += (char)Serial2.read();
Serial.print(r);
return r;
}
void setup() {
Serial.begin(115200);
Serial2.begin(9600, SERIAL_8N1, 16, 17);
dht.begin();
at("AT");
at("AT+ID"); // prints DevAddr, DevEui, AppEui
at("AT+MODE=LWOTAA");
at("AT+DR=IN865");
at(String("AT+ID=AppEui,\"") + APPEUI + "\"");
at(String("AT+KEY=APPKEY,\"") + APPKEY + "\"");
while (at("AT+JOIN", 12000).indexOf("joined") < 0) delay(30000);
}
void loop() {
int t = dht.readTemperature() * 10, h = dht.readHumidity();
char hex[16];
snprintf(hex, sizeof hex, "%04X%02X", (uint16_t)t, (uint8_t)h); // 2 bytes temp x10, 1 byte humidity
at(String("AT+MSGHEX=\"") + hex + "\"", 8000);
delay(600000);
}
No gateway in range, wrong AppKey, or the TTN device is not set to the India plan.
TX/RX swapped; the module's default baud is 9600.
Add a payload formatter in TTN that splits the 3 bytes.
Only if no TTN gateway covers your area; a WM1302 on a Pi works.
Months with the ESP32 asleep and one message every 10-30 minutes.
Keep to TTN's fair use; small messages every few minutes are fine.
5 parts: Seeed Studio Studio LoRa-E5 STM32WLE5JC Module w/ SX126X, ESP32-WROOM-32 38-Pin Development Board, DHT22 AM2302 Digital Temperature & Humidity Sensor, Solderless Breadboard and Dupont Jumper Wires (40 pcs). On this page you can tick the parts you already have and add only the rest to your cart.
No. This page has the complete, tested code (lorae5_node.ino).
About ₹1,714 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
LoRaWAN OTAA joining; Using AT-command radio firmware; Packing a reading into a few bytes.
Use an antenna made for 865-868 MHz and stay within India's power limits.
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Records where you went every five seconds, ready to open on a map.
Two boards, two radios: press the button at the gate and it rings indoors.
Check temperature, humidity and pressure from any phone on your Wi-Fi.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.