Hacking A Cat Litter Box

[Joseph DiGiovanni] is the owner of a Litter Robot 4. It’s a convenient mechanized litter box for cats that can clean itself to reduce unwelcome odors inside the home. He wanted to run automations based on the operation of the litter box, but was not eager to use the manufacturer’s cloud service to do it. Instead, he set about reverse engineering the device for his own ends.

Since the Litter Robot 4 relies on an ESP32 microcontroller for external connectivity, it was entirely possible for [Joseph] to whip up a custom firmware for the device instead. He started with ESPHome as a base, which is a popular firmware used for building smarthome devices based on Espressif hardware. The architecture of the Litter Robot 4 helped in this regard. It uses a PIC microcontroller to handle the low level hardware control, while the ESP32 is responsible for connecting to the cloud over WiFi. This allowed [Joseph] to mess with the connectivity features and get the device hooked up to Home Assistant without compromising the basic mechancial functionality of the device or any of the safety features.

All [Joseph] had to do was figure out how the original hardware’s ESP32 talked to the PIC and emulate that in his own firmware, which was achieved with some snooping and data capture and processing with an LLM. This was used as a basis to whip up an ESPHome firmware that could integrate the hardware neatly with Home Assistant.

Files are on Codeberg for those eager to tinker. It’s not the first time we’ve looked at cat litter management, and it won’t be the last. Video after the break.

Continue reading “Hacking A Cat Litter Box”

Homebrew 68K Machine Has A PCI Bus

The Peripheral Component Interconnect (PCI) bus was first introduced all the way back in 1992. It quickly became the standard way to interface add-on cards on the PC platform, supplanting earlier buses like ISA and various other oddball standards. You wouldn’t expect to see a PCI bus on a Motorola-based machine, but [maniek86]’s homebrew rig offers just that. 

That’s a lot of soldering.

This computer is a beautiful piece of homebrew engineering, constructed out of protoboard and loose wires rather than any fancy PCB. At the heart of the build lies a Motorola 68000 running at 10 MHz. It’s got 1 MB of SRAM, 4 KB of ROM, and a MC68681P acting as a UART, timer source, and I/O controller. Where things get special, though, is in the inclusion of a Xilinx Spartan II FPGA (XC2S100), which acts as a PCI bridge. It provides the machine with two 32-bit 5-volt PCI slots which are interrupt capable, albeit with no bus mastering. A XC95144XL CPLD also sits present to act as glue logic to help lace everything together.

[maniek86] does a great job of explaining exactly why the PCI bus was hard to implement, and how it was pulled off in the end. The guide also covers how the system was able to interface various cards, from a PCI serial expansion to a Cirrus VGA adapter. It’s all good stuff.

We’ve featured other work from [maniek86] before, too, like this brilliant 486-based single-board computer. Video after the break.

Continue reading “Homebrew 68K Machine Has A PCI Bus”

Uninvasive EEG Interface Could Be Used To Play Games

These days, most of us interface with our computing devices in the same old-fashioned ways—via keyboards, mice, and touchscreens. The idea of a more direct brain-to-machine interface remains appealing to many. [Ildar Rakhmatulin] and [Youssef El Abbass] have been working on just such a device, with an eye to using it for gaming.

The device is referred to as Octopus 16, so named because it combines sixteen EEG electrodes into a single compact package, along with the required common reference and ground. The contacts themselves are pogo pins, assembled into a coin-sized cluster. The device is strapped to the head, pushing the contacts against the scalp, and data from the electrodes is then siphoned off to a host machine via Bluetooth Low Energy. The EEG signals are picked up with a pair of Texas Instruments ADS131M08 ADCs, each with 8 channels, with a resolution of 24-bits to capture fine detail in whatever the brain is doing. An ESP32 microcontroller is responsible for grabbing the ADC output and trucking it out over Bluetooth.

The rig is designed for use with the PiEEG software platform. The team have experimented with the device, showing it off by using the EEG signals to detect an individual’s focus state and using that to feed into simple game environments.

Ultimately, what has been shown so far is not so different from the old Force Trainer toy, but the design might prove useful if you’re looking into doing EEG experiments on a budget. Just do your due diligence to make sure you’re getting more signal than noise out of those lovely 24-bit ADCs. Video after the break.

Continue reading “Uninvasive EEG Interface Could Be Used To Play Games”

Hacking A $6000 Cotton Candy Machine To Fully Control It

Some of the cotton candy options by the machine. The Chinese text reads 'flower type'.
Some of the cotton candy options by the machine. The Chinese text reads ‘flower type’.

Having a fully automated cotton candy vending machine in your possession is a great thing, but not if you do not have full access to its software. With [Block’s Retro Repairs] getting ghosted by the manufacturer on regaining account access to the machine he bought used for $300, there was little left but to try and break into the system.

We previously covered the journey in getting the vending machine back into a state where it’d actually reliably produce cotton candy again, a process which is quite tedious and temperamental. After a lot of fiddling with sensors and temperature settings this was fixed, but still left the issue that as a vending machine it should allow the owner to set prices and such. Sadly this could only be done remotely via a special account, which access to had been left with the previous owner.

Despite the very custom exterior, the vending machine runs what is effectively an Android system, consisting of an industrial computer board wired into a lot of stepper drivers and other control boards. To the extreme delight of everyone involved, it was possible to access the Ct Terminal application with adb and its product database on the device’s storage. Unfortunately writing back a changed database file didn’t change anything in the UI, so for a few months the project languished.

After nearly bricking the system and ending up factory resetting the control software including temperatures, it actually improved the performance of the machine and produced cotton candy, so that was one win. Ultimately the solution was to modify the original app, but a combination of weak coding skills and the app being in Chinese  led him to use free LLM coding chatbots to assist here.

This resulted in a custom settings menu being added with the ability to modify pricing, no need for online access any more and a very nice cotton candy vending machine for the private arcade where presumably friends and family can enjoy cheap or even free cotton candy. Finally having the machine sealed against ant intrusion was also a major improvement.

Continue reading “Hacking A $6000 Cotton Candy Machine To Fully Control It”

Tearing Down Aircraft Weather Radar Avionics

If you’re flying high in the sky, it’s useful to know if there’s turbulence, heavy rain, or other nasty weather ahead. Onboard weather radar is a useful tool that pilots use to scope out conditions ahead. [Thomas Scherrer] came into possession of a weather radar display from a vintage aircraft, and decided to tear it apart for our viewing pleasure. 

The unit in question is a Bendix PPI-1 plan position indicator. This particular 1971 example was scored from a McDonnell-Douglas DC9. [Thomas] only has the display itself, not the radar that would feed it or the power supply to turn it on. Still, even just the readout unit is super interesting to look inside. Right off the bat, there’s a neat dimming filter on the front, and the case itself is really beautifully designed for service. The design is very much of its time, full of neat wire harnesses and chunky through-hole components.  There are some neat surprises inside, too, like an interesting device shaped like a triangular prism whose purpose we won’t spoil here.

If you’re wondering what one of these units looks like in action, you can see such an example on YouTube. The display basically lights up in areas where there were stronger radar returns indicating weather to be avoided.

We love radars around these parts, and we feature them all the time. Video after the break.

Continue reading “Tearing Down Aircraft Weather Radar Avionics”

Duplicating Parts Using Silicone Molds

[Do As I Do] had a simple task to complete. A couple of small parts needed to be duplicated in some quantity, with good dimensional accuracy and surface finish. There are a number of ways you might go about this, particularly if you have the original tooling or a machine shop on hand. In this case, however, the plan was to duplicate the parts with silicone molds.

The first step, naturally, was to produce the silicone molds. Doing this involved some craft supplies, with glossy paper and hot glue used to create a vessel for casting silicone around the original parts. The silicone itself was mixed carefully and poured into the vessels, and soon enough [Do As I Do] had a pair of negative molds that could be used to produce duplicates of the original. The original parts were removed, and the silicone molds were filled with resin over and over again to make as many duplicates as were needed.

This was a simple enough project with straightforward geometry that suited the process. More challenging parts would require more care in mold prep and more advanced techniques. Depending on material choice for the duplicate parts and other factors like intended final application, extra steps like degassing may be necessary, too. Still, for a quick guide on duplicating a simple plastic part, it’s hard to beat.

We’ve featured other silicone mold jobs before, like these impressive recreated tail light lenses. Video after the break.

Continue reading “Duplicating Parts Using Silicone Molds”

Delta Pen Plotter Draws In Multiple Colors

If you’re building your first plotter, or you just like thinking in right angles, you’d probably consider a Cartesian design for your build. [András Vujovits] went another route with his project, building an impressive delta pen plotter with a useful tool changer, to boot.

The build relies on a unique motion system, wherein two NEMA 17 stepper motors drive either side of the linkage to control the position of the end effector—in this case, a pen carriage. By controlling the position of each side of the mechanism, it’s possible to move the pen through XY space. Running the show is an Arduino Nano, fitted with a GRBL shield and appropriate stepper motor drivers.

The magnetic tool changer is particularly nifty, too. It allows the plotter to grab a different ink at will to add more color to the drawing. It’s well-designed, with the plotter able to change inks without losing accuracy or otherwise fumbling the switchover. The plotter uses Muji ball point pens, which are available in a range of colors and draw with slick, clean lines. It’s also quite a fast plotter, thanks in part to [András]’s efforts to keep the pen carriage light by using a smart mechanism to offload the pen lifting actuator to the main body.

[András] has plans available, but you’re going to have to pay for them. Still, it’s always nice to see a new machine in the wild. Video after the break.

Continue reading “Delta Pen Plotter Draws In Multiple Colors”