2024 Home Sweet Home Automation: Spray Bottle Turret Silences Barking

Ah, dogs. They sure like to bark, don’t they? [rrustvold]’s dog likes to bark at the door when a package arrives. Or when someone walks by the house, or whenever the mood strikes, really. To solve the barking issue, at least near the front door, [rrustvold] built a spray bottle turret to teach the dog through classical conditioning.

As you can see from the image, it’s all about pulling the trigger on a standard spray bottle at the right time. This machine only sprays when two conditions are met: it hears noise (like barking) and detects motion (like overzealous tail wagging). It also has heat-seeking abilities thanks to a Raspberry Pi thermal camera.

To do the actual spraying, there’s a DC motor mounted behind the bottle which turns a pulley that’s mounted to its shaft. Around the pulley is a string that wraps around the spray bottle’s trigger. To complete the build, everything is mounted on a lazy Susan so there’s nowhere for Fido to hide-o.

If you’ve a dog whose bite is worse than its bark, consider building a custom dog door to keep it out of the cat box.

The 2024 Home Sweet Home Automation contest has officially wrapped — we’re counting the votes now, so stay tuned for an announcement about the winners shortly.

A red 3D-printed Raspberry Pi-based document scanner

Raspberry Pi Scanner Digitizes On The Cheap

It’s pretty important in 2024 to be able digitize documents quickly and easily without necessarily having to stop by the local library or buy an all-in-one printer. While there are plenty of commercial solutions out there, [Caelestis Cosplay] has created a simple document scanner that takes documents, as [Caelestis Cosplay] puts it, from papers to pixels.

The build is probably what you’re expecting — it’s essentially a Raspberry Pi (in this case a 4B), a V2 Pi camera, and a handful of custom 3D-printed parts. [Caelestis Cosplay] says they had never designed anything for printing before, and we think it looks great. There’s also a buzzer to indicate that the scan is starting (one beep) or has completed (two beeps), a ‘ready’ indicator, and a ‘working’ indicator.

Everything you’d need to build your own is available over on Instructables, including document scanner and controller scripts. Be sure to check it out in action after the break, and see it quickly scan in a document and put it on a thumb drive.

Looking for a 3D scanner? Check out the OpenScan project.

Continue reading “Raspberry Pi Scanner Digitizes On The Cheap”

The Next Evolution Of The Raspberry Pi Recovery Kit

At Hackaday, the projects we cover are generally a one-off sort of thing. Somebody makes something, they post it online, we share it with our audience — rinse and repeat. If a project really captures people’s imaginations, it might even inspire a copy or two, which is gratifying for everyone involved. But on the rarest of occasions, we run across a project like [Jay Doscher]’s Recovery Kit.

To say that the Recovery Kit was an inspiration to others would be putting it mildly. Revolutionary would be more like it, as it resulted in more “Pi-in-a-Pelican” builds than we could possibly count. So it’s only natural that [Jay] would return to the well and produce a second version of his heavy-duty cyberdeck.

Continue reading “The Next Evolution Of The Raspberry Pi Recovery Kit”

The PhotonPower Zero board laying on a desk surface

PhotonPower Zero For Effortless Solar Pi Zero Projects

A Pi Zero doesn’t need much to sustain itself, and it’s projects like the PhotonPower Zero that remind us of it its low appetite when we need this reminder most. The PhotonPower Zero board lets you power a Pi Zero board from a solar cell, with a LiIon backup, and a microcontroller for power management. Created by [David Murray], this board’s been a perfect solution for quite a few projects of his, and now he is sharing the design so that we can create outdoor-suited devices as easily as he’s been able to.

Tested for months in Australian summer and winter conditions alike, the design pulls no punches and has everything you might need. Like any self-respecting power addon, it has a management microcontroller for going as low-power as you’d like, communicating the battery data to the Pi Zero, and being able to safely shut it down when needed. If you fancy what this board does, [David Murray] tells you all, both in the video and in the associated posts!

One of the best parts about this board is that it’s fully open-source – schematics, KiCad PCB source files, and even 3D designs are available in the GitHub repo. You could source all the parts right now and build a fleet of solar-powered Zeros, and if you want the hard parts to be done for you, there’s a Kickstarter campaign that lets you get a PhotonPower Zero board without self-assembly. We’ve covered similar boards before – powering a Pi Zero isn’t lost art, and, there’s a lot to learn from this project specifically. Such boards are especially tempting, given that the latest Pi Zero W 2 is the most efficient Pi Zero to date – outdoor-capable 24/7 powered devices with a fair bit of CPU have never been this close!

Continue reading “PhotonPower Zero For Effortless Solar Pi Zero Projects”

anfractuosity's test setup showing the Pi under test and a few pieces of equipment used to perform the attack

Cold Boot Attack You Can Do With A Pi

A cold boot attack is a way to extract RAM contents from a running system by power cycling it and reading out RAM immediately after loading your own OS. How easy is it for you to perform such an attack? As [anfractuosity] shows, you can perform a cold boot attack with a Raspberry Pi, with a reasonably simple hardware setup and a hefty chunk of bare-metal code.

[anfractuosity]’s setup is simple enough. The Pi 4 under attack is set up to boot from USB drive, and a relay board has it switch between two possible USB drives to boot from: one with a program that fills RAM with , and another with a program that extracts RAM out through UART. The process is controlled by another Pi controlling the relays through GPIOs, that also monitors the target Pi’s UART and uses it as a channel to extract memory.

The outcomes are pretty impressive. After 0.75s of power-down, most of the image could be extracted. That’s without any cooling, so abusing a can of electronics duster is likely to improve these results dramatically. Want to play with cold boot attacks? [anfractuosity]’s code is great for getting your feet wet. Furthermore, the code examples provided serve as a wonderful playground for general memory attack research.

Raspberry Pi not fun enough for you anymore? Well then, you can always start playing with Android phones!

The board in question, with a Pi Pico soldered on, with old PCBs for macropads being used as captouch electrodes

Give Your Pi Pico Captouch Inputs For All Your Music Needs

Unlike many modern microcontrollers, RP2040 doesn’t come with a native capacitive touch peripheral. This doesn’t mean you can’t do it – the usual software-driven way works wonderfully, and only requires an external pullup resistor! In case you wanted a demonstration or you have a capacitive touch project in mind, this lighthearted video by [Jeremy Cook] is a must watch, and he’s got a healthy amount of resources for you in store, too!

In this video, [Jeremy] presents you with a KiCad schematic and an PCB design you can use to quickly add whole 23 capacitive touch sensing inputs to a Pi Pico! The board is flexible mechanically, easy to assemble as [Jeremy] demonstrates, and all the pins involved can still be used as regular GPIOs if you’d like. Plus, it’s fully open-source, can easily be assembled on your own, and available on Tindie too!

Of course, such a board doesn’t get created for no reason – [Jeremy] has a healthy amount of musical creations and nifty ideas to show off. We quite liked the trick of using old PCBs as capacitive touch sensing, using copper fills as electrodes – which has helped create an amusing “macropad of macropads”, and, there’s quite a bit more to see.

If capacitive touch projects ever struck a chord with you and you enjoy music-related hacking, [Jeremy]’s got a whole YouTube channel you ought to check out. Oh, and if one of the musical projects in the video caught your eye, it might just be the one we’ve featured previously! Continue reading “Give Your Pi Pico Captouch Inputs For All Your Music Needs”

A Threat Level Monitor For Everyone

A TV news pundit might on any given evening in 2024 look at the viewers and gravely announce that we are living in uncertain times. Those of us who’ve been around for a bit longer than we’d like to admit would see that, scratch our heads, and ask “Have we ever not lived in uncertain times?” If all this uncertainty is getting to you though, you can now reassure yourself as [Ian Williams] has, with a threat level monitor which displays the UK’s current level of projected fear threat level.

The build is fairly straightforward in hardware terms, with a Raspberry Pi Zero and a Pimoroni e-paper display pHAT. The software grabs the current level of doom from in this case the UK government’s website with a nifty bit of Python code, and turns it into an easy to read alert level bar.

So if you’re genuinely worried that the sky might fall upon your head you can now gain reassurance from a small piece of electronic hardware. If you feel things are really going south though, how about converting your basement into a fallout shelter?