Hauke’s Projects

Playin' around with Electronics and Computers

Fundamentals

Not a project but just working out fundamental building blocks for later projects.

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”

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