[toc]
Product Link: Lora_Soil_Moisture_Sensor
Wiki Link: Lora_Soil_Moisture_Sensor_V3
The Lora soil moisture sensor is based on Atmel's Atmega328P, it collects local air temperature/ humidity with sensor AHT10, and detect the soil humidity with capacitor-humility measurement solution with MCU clock, and transmit the local environment data to the gateway, with Lora communication, suit for applications for smart-farm, irrigation, agriculture, etc.
In applications, always you do not need to check the air/soil state continuously, have a test of them for few seconds after then minutes/hours sleeping is normally Ok for most projects. To save power, there the Air/ Soil measuring functional could be shut down in the working, so they can be only powered ON a short time and then a long time power off. With MCU in sleeping mode and low power consumption Lora module, this module works ok with 2 AAA battery more than one year. Besides, this sensor is coated with waterproof paint, which makes it longer working time in damp soil.
- Classic ATMEL AVR 8-bit Atmega328P, with Arduino Pro Mini(3.3V/8M bootloader pre-loaded) .
- Capacitor-humility measurement.
- AHT10 temperature and humidity sensor.
- Working with 2 AAA more than one years.
- 3D printed case.
- Waterproof coating.
- Unique ID, can be used directly without secondary programming.
In the latest version, the 555 chip has been removed so that the sleep current can be as low as 7.1uA. And added UID, can be used directly.
More details, see readme. md in the V3 folder.
Adapted from https://hackaday.io/project/180796-lorawan-soil-moisture-sensor
Sensor | https://www.makerfabs.com/lora-soil-moisture-sensor-v3.html | |
---|---|---|
3.3V USB to TTL / Serial converter | https://www.makerfabs.com/cp2104-usb-to-serial-converter.html | Makerfabs recommended |
https://ftdichip.com/products/ttl-232r-3v3/ | Arduino recommended | |
https://www.sparkfun.com/products/9873 | Arduino recommended | |
https://www.amazon.com/Serial-Adapter-Signal-Prolific-Windows/dp/B07R8BQYW1/ | Not ideal, but what I had lying around | |
https://www.amazon.com/dp/B07X4ZTRD2 | did NOT work | |
Dupont wire and header pins | optional depending on converter |
- Use EITHER the power output of the USB-TTL converter OR batteries to power the sensor, not both
- If the USB-TTL converter does not have DTR, you must use the RST button on the sensor to upload a sketch: hold down RST, press upload, wait until the status shows "uploading", immediately release RST
- If connection does not work, try reversing RX and TX
- What worked for me: sensor powered by batteries; converter GND, RX, TX only connected, RX-TX reversed
- MCCI LoRaWAN LMIC library https://github.com/mcci-catena/arduino-lmic
- Lightweight low power library for Arduino https://github.com/rocketscream/Low-Power
- For original source code and additional information, refer to: https://hackaday.io/project/180796-lorawan-soil-moisture-sensor
- Pay careful attention to the byte order and order of the variables APPEUI, DEVEUI, APPKEY. These are different than what is displayed in the helium console by default
- The decoder here is provided for reference, it has not been modified to work on the helium console
- ATMEL AVR 8-bit Atmega328P, with Arduino Pro Mini(3.3V/8M bootloader pre-loaded)
- AHT10 temperature and humidity sensor
- https://docs.arduino.cc/retired/getting-started-guides/ArduinoProMini
Old version, containing 555 chip. A number of items are provided as references.
More details, see readme. md in the V2 folder.