Building a LoRaWAN Class A Sensor Node with ESP8266, BME680 and RYLR993

Published at : 23 Dec 2025

Start your free trial of Altium Develop - https://www.altium.com/yt/taste_the_code

In this video, I’m building a LoRaWAN Class A sensor node using an ESP8266, BME680 environmental sensor, and REYAX RYLR993 LoRa module.
The device measures temperature, humidity, pressure, and gas resistance, then sends the data to The Things Network (TTN). I've also implemented going into deep sleep between transmissions to save power.

I’ll walk you through the full process from wiring and code setup to TTN configuration and payload decoding. This project is perfect if you want to learn how to make your own low-power IoT sensor or get started with LoRaWAN development.

🧠 What You’ll Learn
- How to connect the BME680 sensor to an ESP8266
- Setting up the REYAX RYLR993 module for LoRaWAN OTAA authentication
- Writing and uploading the Arduino code
- Configuring your device and decoder in The Things Network
- Using deep sleep for battery-friendly operation
- Monitoring live data and optimizing transmission power

Support my work on Patreon so I can continue producing free content and tutorials!
https://www.patreon.com/taste_the_code


🧩 Parts Used in the Video
ESP8266 (NodeMCU) - https://s.click.aliexpress.com/e/_c4O3aYmj
BME680 Environmental Sensor - https://s.click.aliexpress.com/e/_c4MHm6uR
REYAX RYLR993 LoRa Module - https://reyax.com/products/RYLR993_Lite
Jumper Wires & Breadboard - https://s.click.aliexpress.com/e/_c3kAulBh
Pocket PD Power Supply by Sentilab - https://hackaday.io/project/194295-pocketpd-usb-c-portable-bench-power-supply

Other tools and modules for projects:
Heltec Lora 32 board - https://s.click.aliexpress.com/e/_c3viupVN
T-Beam ESP32 LoRa Module - https://s.click.aliexpress.com/e/_c4O8dyET
Solar Meshtastic Node - https://s.click.aliexpress.com/e/_c3suRwOb
Soldering Station - https://s.click.aliexpress.com/e/_c3zRMuOT
Multimeter - https://s.click.aliexpress.com/e/_c44i5gzv
Bench Power Supply - https://s.click.aliexpress.com/e/_c41iTw0B


⏱️ Timestamps
00:00 – Intro
00:30 – Project Overview
03:23 - Code Overview
07:39 - TTN Setup
09:45 - Device Demo
12:02 - PocketPD Review
13:58 - Current Measurements
15:50 - TTN Data
16:23 - Conclusion and next steps


🔹 Full code - https://www.tastethecode.com/building-a-lorawan-class-a-sensor-node-with-esp8266-bme680-and-rylr993

💬 Let’s Build Together
If you’d like to see a battery-powered version using the ESP32 or a Class C LoRaWAN node, drop a comment below!
👍 Like if you found it useful, and 🔔 subscribe for more LoRaWAN and electronics projects.


My recording gear:
Canon M50 Mark ii - https://s.click.aliexpress.com/e/_msvmkJ0
GT10 Pro 5G Android Phone - https://s.click.aliexpress.com/e/_oDnXmQm
Dragon Touch 4K Action Camera - https://s.click.aliexpress.com/e/_mrcbfIa
USB Condenser Microphone - https://s.click.aliexpress.com/e/_mq9STfG
Tripod - https://s.click.aliexpress.com/e/_Eynn5TP
Phone tripod mount - https://s.click.aliexpress.com/e/_oDTOzCe


Building a LoRaWAN Class A Sensor Node with ESP8266, BME680 and RYLR993
#lorawan #lora #sensorNode #IoT #tastethecode


Main Site and blog: https://www.tastethecode.com
Facebook: https://www.facebook.com/tastethecode/
Instagram: https://www.instagram.com/taste_the_code/
Twitter: http://twitter.com/taste_the_code


PCBWay Services - https://pcbway.com/g/7Mb2rj
Start your free trial of Altium Develop - https://www.altium.com/yt/taste_the_code