Expansion Board with esp32 to send data to LoRawan

Want to connect 3-4 sensors to the esp32 to then forward the data to TTN over LoRawan. I need some guidance on what board to use. I was eyeing up on the esp32 with the expansion board but then later found out that the board doesn't have LoRa support.

I plan to connect a battery of some sort to the esp32 so it can be used without a power supply so an onboard voltage regulator with a decent bit of input voltage range would be nice.

Summary - Need esp32 board idea suggestions to collect data from 3-4 sensors and send data over LoRawan to TTN

Thank you.

It will depend on the sensors. If they are all I2C then you only need 2 pins plus power. The average esp32 dev board can handle a lot more than 3-4.

1 Like

you could save yourself trouble by moving to a board which incorporates a microcontroller and a LoRa module, e.g. Heltec LoRa V2 and Heltec LoRa V3

2 Likes

yes esp32 boards with integrated lora transceiver are quite handy, I have also those from ttgo.
These boards are a little bit expensive, compared to normal esp32 boards ( due to the semtech royalties )

1 Like

for the ESP32 the EzLoRaWAN library works OK
e.g.

Heltec WiFi LoRa (V3) LoRaWAN OTAA Starting
Using stored keys to join
Joining TTN .......................
joined !
---------------Status--------------
Device EUI: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Application EUI: zzzzzzzzzzzzzzzzzzzzzzzzzzzz
netid: 13
devaddr: xxxxxxxxxxxxxx
NwkSKey: cccccccccccccccccccccccccccccccccccc
AppSKey: vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
data rate: 5
tx power: 16dB
freq: 867700000Hz
-----------------------------------
Temp: 18.300001 TTN_CayenneLPP: 1 67 00B7
Temp: 18.400002 TTN_CayenneLPP: 1 67 00B8
-- MESSAGE
Received 7 bytes on port 1 (RSSI=9dB) : 99 88 77 66 55 44 33
Temp: 18.500002 TTN_CayenneLPP: 1 67 00B9