LorNode V2 is a small ESP32 board with a LoRa radio (433 MHz) built in. It runs from USB-C or a single Li-ion cell, charges that cell for you, and can switch off its own radio, LED and USB chip to sleep on very little power.
This repo holds everything for it: the Arduino library, example sketches, the pinout, and the full hardware files.
- Fit the antenna. Never transmit without one.
- In the Arduino IDE, open Boards Manager and install esp32 by Espressif Systems.
- In Library Manager, install LoRa (by Sandeep Mistry) and Adafruit NeoPixel.
- Download this repo as a zip (Code > Download ZIP on GitHub), then add it with Sketch > Include Library > Add .ZIP Library. The library isn't in the Library Manager yet.
- Plug the board in with a USB-C data cable. Choose Tools > Board > ESP32 Dev Module and pick the port.
- Open File > Examples > LorNode > 01_BlinkAndBattery and upload it.
- Open the Serial Monitor at 115200 baud. The LED cycles red, green, blue and the battery reading prints once a second.
No port showing up? See Getting started.
| Page | What's in it |
|---|---|
| Overview | What's on the board and what you can build with it |
| Getting started | From unboxing to a blinking LED and a battery reading |
| Pinout | The diagram, a full pin table, and which pins to be careful with |
| Power and battery | Power inputs, the two 3.3 V rails, charging, battery readings, sleep |
| LoRa | Antenna, frequency, sending and receiving |
| Library reference | Every function and setting in the LorNode library |
| Examples | What each example sketch does and how to wire it |
| Hardware files | Schematic, BOM, KiCad sources, gerbers, 3D model |
| Troubleshooting | Fixes for the common problems |
| Folder | Contents |
|---|---|
src/ |
The LorNode Arduino library |
examples/ |
Seven example sketches, each with its own README |
docs/ |
The documentation pages listed above |
pinout/ |
Pinout diagram (light and dark) and the pin data it is drawn from |
hardware/ |
Schematic PDF, BOM, 3D model, gerbers and KiCad sources |
tools/ |
Scripts that generate the pinout data, diagram and pin header from the KiCad files |
#include <LorNode.h>
void setup() {
Serial.begin(115200);
LorNode.begin();
LorNode.led(0, 255, 0);
Serial.printf("Battery: %u mV\n", LorNode.batteryMillivolts());
}
void loop() {}MIT, for both the hardware and the software. See LICENSE.md.