Smart Pet Feeder Is Well Engineered

Having pets can sometimes be more demanding than raising kids. Pet owners obviously love and adore their pets, but anything that can be done to reduce their “chores” can be a welcome relief. One big pain point is feeding them at the right time and in the right amount, especially when it comes to cats. As the saying goes, “Dogs have Masters, Cats have Staff! ”

[Sebastian] had had it with his cat [Strachu] nagging him at odd hours for food. Luckily, [Sebastian] is a skilled maker, and his IoT Cat Feeder is not only practical, but also extremely well engineered. He designed and built it from scratch, and the beautiful, final version shows the effort he put in to it. His requirements were quite straightforward. It had to integrate with his home automation system, had to dispense food based on a regular schedule, send him a notification at other times of the day when the feeder detected the cat so he could decide if the cat deserved a special treat or not, and allow him to manually dispense cat food. Finally, he also wanted it to be easy to take apart so he could wash the parts that are in contact with food.

For the electronics, [Sebastian] designed a custom board to hold the ESP12F module and all the other associated parts. Everything, other than the stepper motor is mounted on the PCB. A PIR sensor is used for cat detection. A piezo buzzer lets the cat know that food is ready. A push button can be used to manually dispense food when required. The ESP8266 is flashed with ESPhome which allows control via simple yet powerful configuration files and control them remotely through the Home Assistant addon. If you’re interested in taking a look under the hood, [Sebastian] walks through some of the key code blocks on the ESP side, as well as the various configuration and setting options for the Home Assistant.

But by far the most effort he needed was in getting the mechanical design perfected. He had to go through several rounds of prototype iterations – after all, his cat deserved the very best in feeder design. The basic parts of the design are simple – a stepper motor drives an auger that pushes the cat food from the main container and deposits it in the bowl. Check out the detailed assembly instructions and pictures on his blog. The best part of his design is how easy it is to take it apart the feeder for cleaning. The stepper motor is held in place by a snap fit end piece without using any screws. The main body then just slides out from the top of the electronics box. Check out [Sebastian]’s cat feeder video after the break for details.

If this design makes you hanker to make one for your cat too, head over to his blog post and provide your mail address and [Sebastian] will send all the files for the project.

If your cat isn’t satisfied with dry food nuggets, you probably ought to build this Automated Cat Feeder That Handles Wet Food With Aplomb.

Continue reading “Smart Pet Feeder Is Well Engineered”

Large Format Lego Camera Is A Bit Near-Sighted

Photography doesn’t have to be expensive, something that’s especially true in the realm of film photography, where the imperfections of the medium can be half the appeal. There are many DIY plans and kits available for analog cameras, but [bhiga143] had couple spare components and a pile of small, colorful bricks lying around, so he decided to build a functional 4×5″ film camera out of Lego.

Details are light for this build, but with a little knowledge about camera structure we can guess at what’s going on inside. Simplicity makes for robust design, and what we have here is in effect a box with a lens on one side and photographic film on the other. The center section of the front, which actually supports the lens, is capable of sliding in and out to adjust focus. On the far side (not pictured) is a slot just wide enough to insert a standard film holder.

The camera really is a hack. [bhiga143] stayed true to the “Lego” part of Lego camera, so there is no glue, no black paper lining, and no frills. The tripod is whatever stack of books lay underneath it. The lens is, quote, “barely functional”. There are light leaks galore, and it can’t focus beyond about 3 feet (1 meter). But every one of those points just makes us love it more. Every nugget of imperfection is a few words added to the story each picture tells. And we honestly can’t wait to see more pictures.

Other Lego cameras we’ve seen have been smaller and less colorful, but using a simple pinhole lens can reduce the overall cost. Of course, you’re not limited to Lego if you want to build your own pinhole camera. Although, the ubiquitous plastic bricks can also be useful in later stages of the film photography process.

A Superheterodyne Receiver With A 74xx Twist

In a world with software-defined radios and single-chip receivers, a superheterodyne shortwave radio might not exactly score high on the pizzazz scale. After all, people have been mixing, filtering, and demodulating RF signals for more than a century now, and the circuits that do the job best are pretty well characterized. But building the same receiver using none of the traditional superhet trappings? Now that’s something new.

In what [Micha] half-jokingly calls a “74xx-Defined Radio”, easily obtained discrete logic chips, along with some op-amps and a handful of simple components, take the place of the tuned LC circuits and ganged variable capacitors that grace a typical superhet receiver. [Micha] started by building an RF mixer out of a 74HC4051 analog multiplexer, which with the help of a 2N3904 phase splitter forms a switching mixer. The local oscillator relies on the voltage-controlled oscillator (VCO) in a 74HC4046 PLL, a chip that we’ve seen before in [Elliot Williams]’ excellent “Logic Noise” series. The IF filter is a simple op-amp bandpass filter; the demodulator features an op-amp too, set up as an active half-wave rectifier. No coils to wind, no capacitors to tune, no diodes with mysterious properties — and judging by the video below, it works pretty well.

It may not be the most conventional way to tune in the shortwave bands, but we always love the results of projects that are artificially constrained like this one. Hats off to [Micha] for the interesting trip down the design road less travelled.

Continue reading “A Superheterodyne Receiver With A 74xx Twist”

The Wright Stuff: First Powered Flight On Mars Is A Success

When you stop to think about the history of flight, it really is amazing that the first successful flight the Wright brothers made on a North Carolina beach to Neil Armstrong’s first steps on the Moon spanned a mere 66 years. That we were able to understand and apply the principles of aerodynamics well enough to advance from delicate wood and canvas structures to rockets powerful enough to escape from the gravity well that had trapped us for eons is a powerful testament to human ingenuity and the drive to explore.

Ingenuity has again won the day in the history of flight, this time literally as the namesake helicopter that tagged along on the Mars 2020 mission has successfully flown over the Red Planet. The flight lasted a mere 40 seconds, but proved that controlled, powered flight is possible on Mars, a planet with an atmosphere that’s as thin as the air is at 100,000 feet (30 km) above sea level on Earth. It’s an historic accomplishment, and the engineering behind it is worth a deeper look.

Continue reading “The Wright Stuff: First Powered Flight On Mars Is A Success”

AVR Reverse Engineering Hack Chat

Join us on Wednesday, April 21 at noon Pacific for the AVR Reverse Engineering Hack Chat with Uri Shaked!

We’ve all become familiar with the Arduino ecosystem by now, to the point where it’s almost trivially easy to whip up a quick project that implements almost every aspect of its functionality strictly in code. It’s incredibly useful, but we tend to lose sight of the fact that our Arduino sketches represent a virtual world where the IDE and a vast selection of libraries abstract away a lot of the complexity of what’s going on inside the AVR microcontroller.

While it’s certainly handy to have an environment that lets you stand up a system in a matter of minutes, it’s hardly the end of the story. There’s a lot to be gained by tapping into the power of assembly programming on the AVR, and learning how to read the datasheet and really run the thing. That was the focus of Uri Shaked’s recent well-received HackadayU course on AVR internals, and it’ll form the basis of this Hack Chat. Then again, since Uri is also leading a Raspberry Pi Pico and RP2040 course on HackadayU in a couple of weeks, we may end up talking about that too. Or we may end up chatting about something else entirely! It’s really hard to where this Hack Chat will go, given Uri’s breadth of interests and expertise, but we’re pretty sure of one thing: it won’t be boring. Make sure you log in and join the chat — where it goes is largely up to you.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, April 21 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.
Continue reading “AVR Reverse Engineering Hack Chat”

8-Bit Computer Addresses LEDs

Homebrew 8-bit computers tend to have fairly limited displays, often one or more seven-segment displays and an array of LEDs to show the values of RAM or perhaps some other states of the computer. [Duncan] is in the process of building just such an computer, but wondered if there was a way to create a more visually appealing display while still keeping the computer true to its 8-bit roots. With some interesting TTL logic he was able to create this addressable RGB LED display to some remarkable results.

The array works by controlling the WS2812B LED strips with a specific timing cycle which was pioneered by [Tim] for a different project. [Tim] was able to perform this timing cycle with some simple Assembly code, which means that [Duncan] could convert that code into TTL gate logic relatively easily. Using 74LS02 NOR chips gets the job done as far as timing goes, and the pulses are then fed into a shift register and support logic which then creates the signal for the LED strips.

When everything is said and done, [Duncan] has a fully addressable 16×16 RGB LED array as a display for his 8-bit computer without violating any of his design principles and keeping everything to discrete TTL logic chips and a stick of RAM. It’s a unique method of display that might go along really well with any other homebrew computer like this one that’s also built with 74LS chips.

Space Propulsion: Separating Fact From Science Fiction

An unfortunate property of science-fiction is that it is, tragically, fiction. Instead of soaring between the stars and countless galaxies out there, we find ourselves hitherto confined to this planet we call Earth. Only a handful of human beings have ever made it as far as the Earth’s solitary moon, and just two of our unmanned probes have made it out of the Earth’s solar system after many decades of travel. It’s enough to make one despair that we’ll never get anywhere near the fantastic future that was seemingly promised to us by science-fiction.

Yet perhaps not all hope is lost. Over the past decades, we have improved our chemical rockets, are experimenting with various types of nuclear rockets, and ion thrusters are a common feature on modern satellites as well as for missions within the solar system. And even if the hype around the EMDrive vanished as quickly as it had appeared, the Alcubierre faster-than-light drive is still a tantalizing possibility after many years of refinements.

Even as physics conspires against our desire for a life among the stars, what do our current chances look like? Let’s have a look at the propulsion methods which we have today, and what we can look forward to with varying degrees of certainty.

Continue reading “Space Propulsion: Separating Fact From Science Fiction”