Hauke’s Projects

Playin' around with Electronics and Computers

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”

Quick Thing: TARDIS Housing for Raspberry Pi modded for Raspberry Pi 4

This is just a quick note that I updated my Tardis housing for my media center to now hold a Raspberry Pi 4. The new version features:

  • An improved “POLICE public call BOX” sign
  • A hole for a 5 mm LED in the top for a shining light
  • The necessary holes for USB-C, 2x Micro-HDMI and Audio out
  • A removable top

Continue reading “Quick Thing: TARDIS Housing for Raspberry Pi modded for Raspberry Pi 4”

Quick Thing: Case for Diamex All-AVR Programmer

The Diamex/Tremex All-AVR programmer for ATmel microcontrollers comes as “naked” populated PCB, no case, no protection against shorts or other damage. I created a case for it, with the following design criteria:

  • Protection against accidental shorts as good as possible.
  • Easy access to the jumpers that control the various operation modes.
  • “Park position” for the jumper that de/activates the external power (since it is often in “off” position and can easily be lost).
  • LED signals need to be visible.
  • Uses the existing mounting holes.

Continue reading “Quick Thing: Case for Diamex All-AVR Programmer”

Replacing Fabtotum Hybrid Head v1 Hotend with E3D Lite6

I replaced the stock hotend of the Fabtotum Personal Fabricator Hybrid Head v1 by an E3D Lite6 hotend (The full metal V6 should work the same way). In this post I describe the steps to remove the old hotend, get in the new hotend and the simple modifications to the firmware that were required.

Continue reading “Replacing Fabtotum Hybrid Head v1 Hotend with E3D Lite6”

Quick Note: Modify the WordPress Comments Cookie Consent in an Update-stable Way

It always bothered me that I could not modify the text (“Save my name, email, and website in this browser for the next time I comment.”) of the cookie consent checkbox in the WordPress comments section to explicitly mention that it uses cookies. Continue reading “Quick Note: Modify the WordPress Comments Cookie Consent in an Update-stable Way”

Modified Housing for Alber e-motion M25 Remote Control

For a relative that’s paraplegic, I modified the housing of the remote control for the electric wheelchair wheels Alber e-motion M25 to make the usage easier. Mainly, the small housing was made thicker and larger for better handling. Also, one knob was moved to a different position.

The project is not very sophisticated, but I publish it anyhow – perhaps some other handicapped person can benefit from it.

Continue reading “Modified Housing for Alber e-motion M25 Remote Control”

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”

Hiking Maps Follow-Up: Large Area Maps

The approach for creating feature-rich hiking maps described in my earlier post was limited in area, since it uses the Overpass API to download OSM data. The Overpass API has a restriction with regard to the amount of data downloadable in one go. In this post I describe a way to download a much larger area if needed, using the PBF files available from Geofrabrik and processing them with Osmosis.

Continue reading “Hiking Maps Follow-Up: Large Area Maps”

Legal EPG Scraper for ARD TV Stations to Use With tvheadend External XMLTV Grabber

I wrote a Python EPG scraper for the EPG data of the German TV stations broadcast by ARD. It is legal for private use. Here I share the code and my thoughts behind it.

Continue reading “Legal EPG Scraper for ARD TV Stations to Use With tvheadend External XMLTV Grabber”

Scroll to top