

The Soil Moisture Interceptor (Blox) by Sox is an innovative electronic component designed to measure the moisture content of soil. This sensor operates by detecting changes in electrical conductivity as moisture levels vary. It is an essential tool for agriculture, horticulture, and environmental monitoring, enabling users to optimize irrigation schedules, conserve water, and monitor plant health.








| Pin Number | Name | Description |
|---|---|---|
| 1 | VCC | Power supply (3.3V to 5V DC) |
| 2 | GND | Ground |
| 3 | AOUT | Analog output (moisture level voltage) |
| 4 | DOUT | Digital output (threshold-detected level) |
// Soil Moisture Interceptor (Blox) by Sox - Example Arduino Code
int analogPin = A0; // Analog input pin connected to AOUT of the sensor
int digitalPin = 2; // Digital input pin connected to DOUT of the sensor
int sensorValue = 0; // Variable to store the sensor value
void setup() {
pinMode(digitalPin, INPUT); // Set the digital pin as input
Serial.begin(9600); // Initialize serial communication at 9600 baud rate
}
void loop() {
sensorValue = analogRead(analogPin); // Read the analog value from sensor
Serial.print("Moisture Level (Analog): ");
Serial.println(sensorValue); // Print the moisture level to the serial monitor
// Check the digital pin for threshold detection
if (digitalRead(digitalPin) == HIGH) {
Serial.println("Dry soil detected");
} else {
Serial.println("Moist soil detected");
}
delay(1000); // Wait for a second before reading again
}
Q: Can the sensor be left in the soil permanently? A: It is not recommended to leave the sensor in the soil permanently as it can lead to corrosion. Remove it when not in use.
Q: Is the sensor waterproof? A: The sensor's probes are water-resistant but the onboard circuitry is not waterproof. Avoid exposing the entire sensor to water.
Q: How do I clean the sensor? A: Gently wipe the probes with a soft, damp cloth. Do not use any abrasive materials.
Q: Can I use this sensor with a Raspberry Pi? A: Yes, but you will need an analog-to-digital converter (ADC) as the Raspberry Pi does not have built-in analog inputs.