CEC-like Power Features with Non-CEC-Equipment
With a Raspberry Pico, I monitor my Sony amplifier from the 90s and my 2013 Dell monitor, and switch on my NUC-based media center if any of these devices are switched on. This is comparable to the CEC functionality that more modern devices provide via the HDMI port. I also utilize the USB/serial interface of the Pico to check if any of the two devices is still on to include this into my auto-shutdown script logic.
As a result, my media center boots up as soon as I switch on my amplifier or my monitor, and only auto-shuts down if both are off.
Continue reading “CEC-like Power Features with Non-CEC-Equipment”
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”
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”
RFID Treasure Chest for LARP
I built a treasure chest which opens if a riddle is solved. To prove that the riddle is solved, the players need to put the correct three RFID/NFC tokens (out of several tokens to choose from) onto three RFID readers in the correct order. If they fail too often, a curse is uttered! In this post I describe the hardware selection, the electronics, the assembly and the software.
Using PB6/7 of ATmega328P with Arduino IDE
The Goal
For a small project I used the ATmega328P MCU – and then the small project somewhat exploded and I needed more and more I/O-Pins. Suddenly all but the PB6 and PB7 pins were in use, and I needed exactly two more…
Continue reading “Using PB6/7 of ATmega328P with Arduino IDE”
Title Image Project: LED Controller
To create a lamp with adjustable color temperature and brightness, I use a warm/cold white dual LED strip, an ATtiny45 MCU with N-channel MOSFETs and two adjustable resistors. This article contains the hardware and software setup. The title image of this blog shows the project.