Hauke’s Projects

Playin' around with Electronics and Computers

Sensor

Soil Water Sensors: Problems with the Ubiquitous DFRobot Capacitative Sensors

Capacitative soil moisture sensors based on this DFRobot-design (and its successors) can be found in numerous blog articles about irrigation automation. For me, they do not work out for two reasons: a) A notable temperature dependency of the measurements, and b) a high failure rate after a few months to a few years. I decided to adopt the concept of my Simple Capacitive Water Sensor for a Water Container for soil moisture measurement, which turns out to work well.

Continue reading “Soil Water Sensors: Problems with the Ubiquitous DFRobot Capacitative Sensors”

Simple Capacitive Water Sensor for a Water Container

From simple, standard electric cable I built a capacitive sensor to assess the water level in my water container. While the circuit was replicated from this blog (thanks for sharing!), I’d like to share how I built the actual capacitor.

Continue reading “Simple Capacitive Water Sensor for a Water Container”

Lessons Learned: Measure Water Levels in a Barrel with SR04-Type Sensors

Using ultrasonic distance sensors I monitor water levels for my garden irrigation system. I have an underground rainwater cistern and a wooden barrel as an interim water storage in the sun to have the water warmed up before use. I started off with the classic HC-SR04 ultrasonic distance sensor, but it turned out to be a bad idea for the warm water barrel: Moisture and temperatures up to 40°C in the summer sun made the sensor rot within half a year down to complete failure. I switched to AJ-SR04M watertight sensor (which seems to be very similar to JSN-SR04T which is often also mentioned on the internet). This has a higher minimum distance (~20 cm vs. ~2 cm), and a much larger opening angle (45° to 75° vs. 15°) as compared to the HC-SR04, and in this post I describe how I dealt with that.

Continue reading “Lessons Learned: Measure Water Levels in a Barrel with SR04-Type Sensors”

Convert Window/Door Sensor to Handle Sensor

In order to prevent my venetian window blinds to go down on timer in front of my open window-style terrace door, potentially locking me out, I needed to know if the door handle was in the “open” position. However, I did not want to use a battery powered radio sensor, but the existing door open/close magnetic sensor in the door frame. Here’s my solution.

Continue reading “Convert Window/Door Sensor to Handle Sensor”

Motion Sensor PoC: BNO055 and Raspberry Pi Subtleties

The BNO055 is a capable IMU that has on-chip sensor fusion and filtering. Interfacing can be done using I²C and UART. When used with the Raspberry via I²C, you get erroneous measurements because of the I²C clock stretching bug of the Raspberry. Using the UART, results are correct.

Continue reading “Motion Sensor PoC: BNO055 and Raspberry Pi Subtleties”

Scroll to top