New: the AI firewall watches the whole platform and explains each incident in plain words. See how it works

Reply To: Which microcontroller for a battery-powered field sensor? It needs to last a year

Translated from Türkçe by AI ·

Last year I built almost the same thing in a vineyard. 2 km, no Wi-Fi, one measurement every 15 minutes; if it were me I would do it with LoRaWAN. You also have to choose the microcontroller together with the radio.The one I used was the RAK3172 module (it contains an STM32WL, the LoRa radio is on the same chip). In sleep it draws around 2-3 µA, and transmitting takes a few hundred milliseconds. With a small packet every 15 minutes, 2xAA comfortably lasts a year, especially if you power the sensor through a MOSFET only at the moment of measurement. I would not recommend the ESP32 for this job, because connecting to Wi-Fi alone drains the battery.On the Hermetry side: they have their own LoRaWAN network server, the frequency plan comes from the gateway (in Turkey you get an EU868 gateway and sensor), you add the device with OTAA, and Class A is enough. The only requirement is a LoRaWAN gateway that sees the area (a gateway that supports Basics Station, or a licensed router). If one is mounted on the faculty roof, 2 km is no problem. For a start, this page is good: İlk LoRaWAN sensörünüzü bağlayın.

Accepted solution♥ 1