A wooden platform for a litter box

Track Your Cat’s Weight Through This Internet-Connected Litter Box

With feline obesity on the rise, keeping track of your cat’s weight is an important part of keeping them healthy. However, a weighing session can be anything from a routine job to a painful procedure, depending on your cat’s temperament. [Andy]’s cat Ellie is one of those who dislike being weighed, so in order to track her weight without drama [Andy] got creative and built an internet-connected weighing platform for her litter box.

The platform consists of two pieces of MDF held apart by two load cells, which are hooked up to an ESP8266. The ESP reads out the load cells and reports its findings to the Adafruit IO platform through its WiFi connection, sending updates to [Andy] whenever litter box use has been detected. The cat’s weight can be simply calculated by subtracting the weight of the unused litter box from the weight measured when it’s in use.

A smartphone pop-up message from an IoT litter boxGetting reliable readings from the load cells was a bit of a challenge, since the measured weight fluctuated wildly as Ellie moved around the litter box. A combination of waiting for the readings to settle and using timeouts to discard the effect of brief movements resulted in reasonably stable measurements. The resolution was even good enough to measure the difference in litter weight before and after use. We’re not sure what’s the practical value of knowing how much your cat poops each time, but if the data is there you might as well log it.

[Andy] also imagines smart-home features of the IoT litter box: for example, he could run an air purifier or send in the Roomba after heavy usage. This is not even the first internet-connected litter box we’ve featured; we’ve seen one connected to the Thingspeak platform, as well as one that sends poop alerts through Twitter. If you’re not around to clean up the mess, an automatic fume extractor might come in handy.

Continue reading “Track Your Cat’s Weight Through This Internet-Connected Litter Box”

the dongle developed by Marcel, with a USB-A plug on one end and an SMD antenna on the other

Hackaday Prize 2022: House Ventilation Reverse-Engineered And Automated

[Marcel] thought – what if he had more control over his house ventilation system? You could add some nifty features, such as automatically ventilating your house in the mornings when everyone’s away, only creating noise when nobody’s around to hear it. Sadly, most ventilation systems are not automation-friendly at all – he was lucky, however, as his system came with a wireless remote. [Marcel] reverse-engineered this remote, created a USB dongle speaking the same protocol, and tied it into his Home Assistant setup!

The remote in question is Orcon R15, with an Atmel MCU talking to a CC1101 chip through SPI. He sniffed the SPI communications when pressing different buttons, figured out the protocol by comparing the recordings, and built a test setup with a spare Arduino and CC1101 module. It worked, and he set out to design a separate dongle, using an ATMega32U4. The dongle looks pretty neat, and fits a Hammond enclosure – what’s not to like?

Then he set out to develop the firmware, and didn’t disappoint on that front either. His code doesn’t just imitate the original remote perfectly in terms of control, it also has user-friendly pairing flow, keeps track of the system’s current state, and still lets the original remote be used in parallel. Eagle files for the PCB are available on the project page, with the code and a PDF schematic available in the GitHub repo. This entire journey is described in the Hackaday.io page, and we would recommend you check it out for all the insights it provides!

Ventilation systems don’t tend to be designed for automation, and it’s endearing to see hackers working on conquering this frontier. Last time we’ve seen a ventilation system hack, it had the additional challenge of being landlord-friendly, and we think the hacker nailed it!

Automatic Water Turret Keeps Grass Watered

Summer is rapidly approaching (at least for those of us living in the Northern Hemisphere) and if you are having to maintain a lawn at your home, now is the time to be thinking about irrigation. Plenty of people have built-in sprinkler systems to care for their turf, but this is little (if any) fun for any children that might like to play in those sprinklers. This sprinkler solves that problem, functioning as an automatic water gun turret for anyone passing by.

This project was less a specific sprinkler build and more of a way to reuse some Khadas VIM3 single-board computers that the project’s creator, [Neil], wanted to use for something other than mining crypto. The boards have a neural processing unit (NPU) in them which makes them ideal for computer vision projects like this. The camera input is fed into the NPU which then directs the turret to the correct position using yaw and pitch drivers. It’s built out of mostly aluminum extrusion and 3D printed parts, and the project’s page goes into great details about all of the parts needed if you are interested in replicating the build.

[Neil] is also actively working on improving the project, especially around the turret’s ability to identify and track objects using OpenCV. We certainly look forward to more versions of this build in the future, and in the meantime be sure to check out some other automated sprinkler builds we’ve seen which solve different problems.

Continue reading “Automatic Water Turret Keeps Grass Watered”

HAL 9000 Becomes A Helpful Voice Assistant

There have been many robots and AIs in science fiction over the years, from Astro Boy to Cortana, or even Virgil for fans of the long-forgotten Crash Zone. However, all these pale into insignificance in front of the cold, uncaring persona of the HAL 9000. Thus, [Jürgen Pabel] thought the imposing AI would make the perfect home assistant.

The build is based on a Raspberry Pi Zero 2, which boasts more grunt than the original Pi Zero while still retaining good battery life and a compact form factor. It’s hooked up with a 1.28″ round TFT display which acts as the creepy glowing eye through which HAL is supposed to perceive the world. There’s naturally a speaker on board to deliver HAL’s haunting monotone, and it’s all wrapped up in an tidy case that really looks the part. It runs on the open-source voice assistant Kalliope to help out with tasks around the home.

[Jürgen]’s page shares all the details you need to make your own, from the enclosure construction to the code that laces everything together. It’s not the first HAL 9000 we’ve seen around these parts, either. Video after the break.

Continue reading “HAL 9000 Becomes A Helpful Voice Assistant”

Point Out Pup’s Packages With This Poop-Shooting Laser

When you’re lucky enough to have a dog in your life, you tend to overlook some of the more one-sided aspects of the relationship. While you are severely restrained with regard to where you eliminate your waste, your furry friend is free to roam the yard and dispense his or her nuggets pretty much at will, and fully expect you to follow along on cleanup duty. See what we did there?

And so dog people sometimes rebel at this lopsided power structure, by leaving the cleanup till later — often much, much later, when locating the offending piles can be a bit difficult. So naturally, we now have this poop-shooting laser turret to helpfully guide you through your backyard cleanup sessions. It comes to us from [Caleb Olson], who leveraged his recent poop-posture monitor as the source of data for where exactly in the yard each deposit is located. To point them out, he attached a laser pointer to a cheap robot arm, and used OpenCV to help line up the bright green spot on each poop.

But wait, there’s more. [Caleb]’s code also optimizes his poop patrol route, minimizing the amount of pesky walking he has to do to visit each pile. And, the same pose estimation algorithm that watches the adorable [Twinkie] make her deposits keeps track of which ones [Caleb] stoops by, removing each from the worklist in turn. So now instead of having a dog control his life, he’s got a dog and a computer running the show. Perfect.

We joke, because poop, but really, this is a pretty neat exercise in machine learning. It does seem like the robot arm was bit overkill, though — we’d have thought a simple two-servo turret would have been pretty easy to whip up.

Continue reading “Point Out Pup’s Packages With This Poop-Shooting Laser”

A wooden picture frame with an e-ink display

Receive Virtual Postcards On This Beautiful E-Ink Photo Frame

Sending postcards to loved ones used to be standard procedure for travelers back when travel was glamorous and communications were slow. While some travelers still keep this tradition alive, many have replaced stamps and post offices with instant messaging and social media — faster and more convenient, but a lot less special than receiving a postcard with a handwritten message from a faraway land.

[Cameron] designed a postcard picture frame that aims to bring back a bit of that magic. It’s a wooden frame that holds an e-ink display, which shows pictures sent to it by your friends. All they need to do is open the unique link that you sent them beforehand and upload an interesting photo; the picture frame will cycle through the submissions based on an adjustable schedule. A web interface allows you to change settings and delete any inappropriate images.

A black PCB with an ESP32 mounted on itThe wooden frame is beautifully made, but the sleek black PCB inside is an true work of art. It holds a battery and a USB-C charging circuit, as well as an ESP32 that connects to WiFi, stores images and downscales them to the 800×480 monochrome format used by the display. [Cameron] has not accurately measured the current consumption, but estimates that it should work for about one year on a single charge thanks to the extremely low power requirements of e-ink displays.

Having your friends decide on the images shown in your house is an interesting idea, if you can trust them to keep it decent. If you like to have more control over your e-ink display, have a look at this solar-powered model or this wall-mounted newspaper display.

Continue reading “Receive Virtual Postcards On This Beautiful E-Ink Photo Frame”

Engineering Vs Pigeons

We’ve all been there. Pigeons are generally pretty innocuous, but they do leave a mess. If you have a convertible or a bicycle or even just a clean car, you probably don’t want them hanging around. [Max] was tired of a messy balcony, so like you might approach any engineering problem, he worked his way through several possible solutions. Starting with plastic crows, and naturally ending with an automated water gun.

The resulting robotic water gun that targets pigeons with openCV is a dandy project and while we don’t usually advocate shooting at neighborhood animals, we don’t think a little water will be any worse than the rain for the pigeons. The build started with a cheap electric water pistol. A Wemos D1 Mini ESP8266 development board provides the brainpower. The water pistol wouldn’t easily take rechargeable batteries, plus it is a good idea to separate the logic supply and the pump motors, so the D1 gets power from a USB power bank separate from the gun’s batteries.

That leaves the camera. An old iPhone 6S with a 3D printed bracket feeds video to a Python script that uses openCV. If looks for changes using a very particular algorithm to detect that something is moving and fires the gun. It doesn’t appear that it actually tracks the pigeons, so maybe that’s a thought for version 2.

Was it successful? Maybe, but it does seem like the pigeons learned to avoid it. We still think azimuth and elevation on the gun would help.

Most of the time when we see pigeon hacking it is to use them for nefarious purposes. [Max] should be glad he doesn’t have to deal with lions.