Hacking Developers With A Cat Feeder: Who’s A Good Kitty?

Most of us probably know the drudgery of getting through some coding work, with just tedious hours of monkeying around stretching ahead of us. What if this tedium were to be interrupted by an occasional reward when we did something productive, like pushing a commit or other measure of progress? That’s roughly the concept that [John Partee] started off with when his gaze fell upon one of those automated cat feeders. Cat or developer, who doesn’t like to hear the tinkle of a tasty treat falling into their bowl?

The target pet feeder is a PetKit Fresh Element Solo, which allows for objects with a size of 12×12 mm (any orientation) to be fed through the feeding mechanism. Fortunately [John]’s favorite dark chocolate-covered almonds treat fit these requirements, and he set to work to figure out the REST API call needed to trigger a manual feeding event on the cat feeder device, employing the existing PyPetKit Python library that does the heavy lifting of connecting to and communicating with PetKit’s servers, as the feeder is of course an IoT device.

This means that the event flow still depends on PetKit’s “cloud”, which may inspire some enterprising hackers to make a stand-alone version, the development of which may be assisted by [John]’s solution through a regular treat. Before taking such a solution into use, be sure to discuss it with any pets you have, as they may not quite comprehend why there’s no reward for them whenever the *tinkle* sound occurs.

Continue reading “Hacking Developers With A Cat Feeder: Who’s A Good Kitty?”

3d printed fish feeder system with food basin, electronic housing with red button on top and servo attached on the side. A pile of food is coming out of the 3D printed fish feeder mechanism. In the middle of the picture is a can of goldfish pellet food. On the right is a hand interacting with a propped up cell phone, setting a time.

Sleep Easy With The Fishes Well Fed

Sometimes daily tasks, like feeding pets, can feel like a real chore. To help with alleviate the mundane aspects of daily life, [Erik Berglund] has created an automatic fish feeder, complete with 3D print files, firmware, and an Android app for complete control over scheduling and feeding.

The mechanics of the fish feeder include a screw conveyor system that pushes the food pellets fed from a food store basin. The screw conveyor is driven by a Feetech FS5106R servo which provides enough force to overcome jamming that might occur with pellets getting stuck in the conveyor system. [Erik Berglund] writes that the system can dispense about 0.9 g/s and that it’s designed for granulated food, as flakes have problems because “their low density and large surface area tend to get them stuck in the throat of the hopper” — an issue that we’ve looked into previously.

[Erik Berglund] used [coberdas]’s fish feeder as the base, upgrading it with a better servo, adding a Raspberry Pi Zero W along with software for the Pi and an Android application to control the schedule of feedings. There’s also a DS1307 real time clock module to keep precision time and a push button for “manual” feeding. If you’re looking to follow along at home, you can find the Python scripts that run on the Pi and the source code for the Android application in their respective GitHub repositories.

Continue reading “Sleep Easy With The Fishes Well Fed”

Ceiling Fan Adds CO2 Sensor

Ceiling fans seem to be an oft-misunderstood or overlooked household appliance. As such, they seem to have missed a lot of the IoT wave. Sure, you can get smart controllers for them to plug into your home automation system of choice, but these mostly rely on temperature sensors, simple timers, or voice commands. There’s a lot more to a ceiling fan than maintaining a comfortable temperature, as [EJ] demonstrates with this smarter ceiling fan build.

A big part of the job of a ceiling fan is to improve air circulation, which can help a room from feeling “stuffy”. This feeling is usually caused by excess CO2 as a result of respiration in an area where the air is not moving enough to exhaust this gas. Not only does [EJ]’s controller make use of a temperature monitor for controlling the fan automatically, but there is also a CO2 sensor integrated to improve this aspect of air quality when needed.

The entire build is based on a Raspberry Pi Zero, and nothing needed to be changed about the ceiling fan itself for this added functionality because it already included a radio-based remote control. With some monitoring of the signals produced by the remote, the Raspberry Pi was programmed to mimic these commands when the surrounding sensors captured a condition where [EJ] would want the fan on. There’s also a manual control button as well, so the fan control is not entirely in the hands of the computer.

For a little more detailed information about this build, there’s a separate project page which details a lot of the information about the RF waveform capturing and recreation. And, if you want to take your fan to the next level, take a look at this one which focuses on building a smartphone app to control the fan instead.

Chandelier Mimics The Solar Analemma

The solar analemma is the shape the sun traces out when photographed each day at the same time and same location for a whole year – but you probably knew that already. [makendo] decided to use this skewed figure-eight shape as the inspiration for a chandelier, and the results are stunning.

A laser cutter was used to cut out segments of the analemma shape in plywood, such that they could slot together into the full form. These were then glued together on to a plywood sheet as a template to cut out the full-size form in a single piece. Some laminate edging was then added and the entire thing was given a coat of black gloss paint. String lights were cut up to provide the many globe fittings required, and installed on the back of the chandelier.

[makendo] notes that with a full 51 bulbs in the chandelier, it’s way too bright for most dining room settings. A dimmer is thus used to tone down the output to reduce eyestrain at mealtimes. It’s a fun build, and we’ve always loved light fixtures that are inspired by astronomy. If you like the moon more than the sun, though, there’s a build for you too!

An orange and white cat eats from a bowl with a hinged cover. The cat and the bowl are on top of an MDF platform.

Load Cells To Get The Right Pet The Right Food

If you have more than one pet, you may know how hard it is to tell how much each furry friend is eating. If you introduce prescription foods, then this minor annoyance can have a major impact on your pet’s health. Facing this dilemma, [tomasdiazwahl] set out to make a pet feeder that feeds his pets exactly what they need when they approach the feeder.

Using the ever-popular Arduino Uno, the feeder is connected to a platform that uses load cells to detect the pet’s weight. The weight data is then used to identify which animal is looking for food. Once the pet is identified, the correct food bowl opens. It seems this prototype only has one food chamber to keep unauthorized pets from eating the special food, but the basic idea should be extensible to two or more chambers. While some existing solutions read the pet’s microchip or NFC collars to determine who’s at the feeder, [tomasdiazwahl] decided against these given the fickleness of trying to reliably get a reader at the correct position relative to the pet. As long as you don’t have multiple pets with the same weight, it should work just fine.

This project has a nice mix of woodworking, 3D printing, and electronics showing what can be accomplished when you aren’t afraid to mix techniques. We also really appreciate that [Tomasdiazwahl] spent the extra time to include a testing procedure and safety mechanism into the project. Designing a device to improve your pet’s health shouldn’t come with a safety risk!

This isn’t the first cat feeder we’ve covered that uses weight to tell the difference between the pets, and if you want a simpler project to start with, check out this Simple Auger Pet Feeder.

The CPSC Says Plug To Socket, Not Plug To Plug, Please

When the power goes out, it goes without saying that all the lights and sockets in a house stop working. Savvy rural homeowners stock up with candles, batteries, LED lights, and inverters.  More foolhardy folks simply hook up their home electrical system to a generator using a mains lead with a plug on one end between the generator and a wall socket. This should be so obviously dangerous as to be unnecessary, but it’s become widespread enough that the US Consumer Product Safety Commission has issued a warning about the practice. In particular, they’re concerned that there’s not even a need to wire up a lead, as they’re readily available on Amazon.

The dangers they cite include electrocution, fire hazard from circumventing the house electrical protection measures, and even carbon monoxide poisoning because the leads are so short that the generator has to be next to the socket. Hackaday readers won’t need telling about these hazards, even if in a very few and very special cases we’ve seen people from our community doing it. Perhaps there’s a flaw in the way we wire our homes, and we should provide a means to decouple our low-power circuits when there’s a power cut.

It’s likely that over the coming decades the growth of in-home battery storage units following the likes of the Tesla Powerwall will make our homes more resilient to power cuts, and anyone tempted to use a plug-to-plug lead will instead not notice as their house switches to stored or solar power. Meanwhile, some of us have our own ways of dealing with power outages.

Plug image: Evan-Amos, Public domain.

A Pill Dispenser For The Person With Everything

Sorting out pills is a mildly tedious task, and one that’s ripe for a bit of automation. It’s a task that [Mellow] has taken on enthusiastically, with the result of an extremely well-designed dispenser that has a stack of hoppers with servos controlled by an ESP8266 that dispense the pills required on time.

There are a series of videos of which we’ve put the latest below the break, showing the various iterations of this project. Earlier versions used multiple microcontrollers rather than the single ESP, and his sensor choice is both simple and ingenious. A single vibration sensor detects the pills falling upon it, resulting on an extremely compact electronics set-up and the base of the 3D printed stack.

We’re struck by this design, by its simplicity, ingenuity, and its pleasing aesthetics with the use of a piece of perfboard and a load of heatshrink to make an extremely tidy wiring loom. We’re not sure we’ll ever need a pill dispenser like it, but if we did we don’t think we could come up with a better design.

You might be surprised to find that pill dispensers have appeared here before.

Continue reading “A Pill Dispenser For The Person With Everything”