Component guide · Intermediate · 3 min read
Heltec CubeCell AB01, AB02 and AB02S LoRaWAN Nodes

Setup, Sleep and Solar
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Heltec CubeCell boards are low-power LoRaWAN nodes built on the ASR6502, a chip that combines an ARM Cortex-M0+ with an SX1262 radio. They program from the Arduino IDE, join The Things Network with OTAA, and sleep at a few microamps, so a Li-ion cell and a small solar panel can run them for years. The AB02S adds GPS and a small OLED.
Key specs at a glance
- Chip
- ASR6502 (Cortex-M0+ with SX1262 class radio)
- Memory
- 128 KB flash, 16 KB RAM
- Sleep current
- About 3.5 uA (AB01) to 20 uA (AB02)
- Power
- USB, 3.7 V Li-ion, and solar input up to 7 V on most boards
- Extras
- AB02: 0.96 inch OLED; AB02S: GPS plus OLED
- Regions
- LoRaWAN EU868, IN865, US915 and others in firmware
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Heltec Automation CubeCell AB01 V2 LoRaWAN Node SX1262 ASR6502 Solar Charging (433-510MHz)₹1,739
Option 2Heltec Automation CubeCell AB02 ASR6502 SX1262 Solar LoRa Dev Board₹2,239
Option 3Heltec Automation CubeCell AB02A LoRaWAN Node ASR6502 433MHz w/ Battery₹1,959
Option 4Heltec Automation CubeCell AB02S LoRa GPS LoRaWAN Dev Board ASR6502 433MHz₹2,479
What the Heltec CubeCell LoRaWAN node is
The CubeCell is not an ESP32 board: there is no Wi-Fi, but it uses far less power. The Heltec Arduino core includes a LoRaWAN example where you paste DevEUI, AppEUI and AppKey, pick the region and set the report interval; the board then joins, sends and sleeps.
The AB01 is the bare dev board, the AB02 has more pins and an OLED, and the AB02A is a compact battery version. The 433 MHz version suits private LoRa links; use 865 MHz for LoRaWAN in India.
Heltec CubeCell LoRaWAN node pinout
The pins on the Heltec CubeCell LoRaWAN node and what each one does.
| Pin | Function |
|---|---|
| VS / Solar | Solar panel input (5 to 7 V) |
| VBAT | Li-ion battery |
| Vext | Switched 3.3 V for sensors (GPIO controlled) |
| SDA / SCL | I2C |
| ADC | Analog input (up to 2.4 V on AB01) |
| USER key | Button for wake or menu |
- VS / Solar
- Solar panel input (5 to 7 V)
- VBAT
- Li-ion battery
- Vext
- Switched 3.3 V for sensors (GPIO controlled)
- SDA / SCL
- I2C
- ADC
- Analog input (up to 2.4 V on AB01)
- USER key
- Button for wake or menu
Wiring the Heltec CubeCell LoRaWAN node
Power sensors from Vext so the board can switch them off during sleep. Keep solar input under 7 V and check battery polarity before connecting.
| Heltec CubeCell LoRaWAN node pin | CubeCell | Notes |
|---|---|---|
| Battery | JST 1.25 or holder | - |
| Solar panel | VS and GND (5 to 7 V) | - |
| Sensor VCC | Vext | - |
| Sensor SDA / SCL | SDA / SCL | - |
- Battery
- CubeCell:
- JST 1.25 or holder
- Notes:
- -
- Solar panel
- CubeCell:
- VS and GND (5 to 7 V)
- Notes:
- -
- Sensor VCC
- CubeCell:
- Vext
- Notes:
- -
- Sensor SDA / SCL
- CubeCell:
- SDA / SCL
- Notes:
- -
Example code
Leave the rest of the example as it is; it handles join, send and deep sleep. Select the region in Tools > LORAWAN_REGION too, and decode the two bytes in your network server's payload formatter.
// From File > Examples > LoRaWAN > LoRaWan (CubeCell core)
uint8_t devEui[] = { 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x00, 0x00, 0x01 };
uint8_t appEui[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
uint8_t appKey[] = { /* 16 bytes from The Things Network console */ };
uint32_t appTxDutyCycle = 600000; // send every 10 minutes
bool overTheAirActivation = true;
LoRaMacRegion_t loraWanRegion = LORAMAC_REGION_IN865;
static void prepareTxFrame(uint8_t port) {
uint16_t mv = getBatteryVoltage();
appDataSize = 2;
appData[0] = mv >> 8;
appData[1] = mv & 0xFF; // battery in millivolts
}Setup and tuning
add the Heltec CubeCell board URL in Arduino preferences and install CubeCell Development Framework.
choose IN865 in both Tools and code for Indian networks.
you need a LoRaWAN gateway in range, such as an SX1302 gateway module on a Raspberry Pi.
remove the power LED jumper on some boards for the lowest sleep current.
What you need
Shop this list9 of 9 found in our store · ₹12,10,329
Heltec Automation Automation CubeCell AB01 V2 LoRaWAN Node SX1262 ASR6502 Solar Charging (433-510MHz): the part this guide coversHeltec Automation CubeCell AB01 V2 LoRaWAN Node SX1262 ASR6502 Solar Charging (433-510MHz)₹1,739
Heltec Automation Automation CubeCell AB02 ASR6502 SX1262 Solar LoRa Dev Board: another version this guide coversHeltec Automation CubeCell AB02 ASR6502 SX1262 Solar LoRa Dev Board₹2,239Closest match, check the specs
Heltec Automation Automation CubeCell AB02A LoRaWAN Node ASR6502 433MHz w/ Battery: another version this guide coversHelical Spring Coil Antenna₹40
Heltec Automation Automation CubeCell AB02S LoRa GPS LoRaWAN Dev Board ASR6502 433MHz: another version this guide coversHelical Spring Coil Antenna₹40
18650 Li-ion cell: battery power for a remote node18650 Li-ion Rechargeable Cell₹119Closest match, check the specs
868MHz 4dBi SMA antenna with 3 m cable: an outdoor antenna for 865 to 868 MHzLWC-868-MM-03 868MHz 4dBi SMA Antenna w/ 3m RG58 Cable₹412Closest match, check the specs
DS18B20 waterproof temperature probe: a sensor to send over LoRaSonoff DS18B20 Waterproof Temperature Sensor Probe w/ 1m Cable – 1-Wire Interface₹340Closest match, check the specs
Raspberry Pi 4 Model B 4GB: the host computer for a gatewayRaspberry Pi 4 Model B with 4GB RAM₹11,461Closest match, check the specs
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- Heltec WiFi LoRa 32: ESP32 with Wi-Fi, higher power.
- Seeed LoRa-E5 and STM32WL: another low-power LoRaWAN module.
- SX1302 LoRaWAN gateway modules: the gateway the node talks to.
Common mistakes to avoid
- Choosing a region in code but not in the Tools menu.
- Powering sensors from 3.3 V directly, so they drain the battery in sleep.
- Solar panel above 7 V.
- Expecting Wi-Fi on a CubeCell.
Frequently asked questions
Can CubeCell work without a gateway?
Yes, for point to point LoRa between two boards; LoRaWAN needs a gateway.
How long does a battery last?
Months to years with reports every 10 to 30 minutes.
Does the AB02S GPS work indoors?
Rarely; test outdoors for the first fix.
Is it Arduino compatible?
Yes, with Heltec's CubeCell Arduino core.
433 or 865 MHz?
865 MHz for LoRaWAN in India; 433 MHz for private links.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


