Integration of the RAK12035 Sensor into the Existing IoT System for Hydroponic Monitoring with LoRaWAN
IntroductionThis document outlines the complete process for adding and activating the RAK12035 sensor (a capacitive soil moisture sensor) in the existing IoT system based on WisBlock and LoRaWAN, which currently monitors environmental variables in a hydroponic setup. The new sensor allows for the direct monitoring of water levels or moisture in the substrates used.Components Used
- RAK12035: Capacitive soil moisture sensor.
- RAK11300: WisBlock Core used as the central controller.
- RAK19007-O: WisBlock baseboard, allowing modular connections.
- TTN Platform: Public LoRaWAN network used for managing and visualizing data.
📷Assembly and Connection of the RAK12035
- Physical connection of the sensor:
- Insert the RAK12035 into one of the available analog connectors (labeled as “ADC”) on the WisBlock baseboard (RAK19007-O).
- Make sure to secure it properly using the included screws to ensure stability.
- Use a multimeter to check continuity and correct voltages in the connection.
- Make sure that the Arduino IDE has the WisBlock-API library installed to manage analog inputs.
2. Integration into the Existing Code:Add this section to the code:
- Upload the updated code to your RAK11300 node.
- Open the serial monitor to verify correct readings and transmissions.
- Check in TTN the received data to confirm that the soil humidity is being recorded correctly.
The RAK12035 sensor effectively complements the existing IoT system, providing valuable data on substrate humidity, further optimizing the performance of the hydroponic cultivation system through precise and efficient water resource management.
Comments