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.
Geçen yıl bir bağda neredeyse aynısını kurdum. 2 km, Wi-Fi yok, 15 dakikada bir ölçüm; ben olsam LoRaWAN ile yapardım. Mikrodenetleyiciyi de radyoyla beraber seçmek lazım.
Benim kullandığım RAK3172 modülüydü (içinde STM32WL var, LoRa radyosu aynı çipte). Uykuda 2-3 µA civarı, gönderim birkaç yüz milisaniye. 15 dakikada bir küçük bir paketle 2xAA bir yılı rahat çıkarır, sensörü de bir MOSFET ile ölçüm anında beslersen. ESP32’yi bu iş için önermem, Wi-Fi bağlanması tek başına pili yiyor.
Hermetry tarafı: kendi LoRaWAN ağ sunucusu var, frekans planı gateway’den geliyor (Türkiye’de EU868 gateway ve sensör alırsın), OTAA ile cihazı ekliyorsun, Class A yeterli. Tek şart, alanı gören bir LoRaWAN gateway olması (Basics Station destekleyen bir gateway ya da lisanslı bir router). Fakülte çatısına bir tane konursa 2 km sorun olmaz. Başlangıç için şu sayfa iyi: İlk LoRaWAN sensörünüzü bağlayın.

