A vacuum tube computer next to a part of its schematic

This Colossal Vacuum Tube Computer Plays A Mean Game Of Pong

It doesn’t happen often that we report on new vacuum tube based computer designs. Today however, we’re pleased to introduce to you the Fast Reliable Electronic Digital Dot Computer, or Fred.Computer for short. It’s the brainchild of [Mike] who also brought us ENA, which we featured earlier.

Fred is a new design that reuses the parts that made up ENA. It has an 8-bit CPU, 16 bytes of RAM, 256 bytes of NVRAM, and runs at a clock speed of 11.3 kHz. With its 560 tubes drawing a total supply current of about 200 A it also provides a fair bit of heating to [Mike]’s study. The main logic is implemented through NOR gates, built from 6N3P dual-triode tubes sourced from Eastern Europe. These NOR gates are combined into more complex structures like latches, registers and even a complete ALU. A total of sixteen machine code instructions can be used to write programs; clever design allows Fred to perform 16, 32 or even 64-bit calculations with its 8-bit ALU.

A PCB with many reed relays
Need some RAM? There’s sixteen bytes right here.

An interesting addition is a new RAM design based on reed relays. [Mike] realised that relays are actually very similar to digital transmission gates and can therefore be used to make a simple static RAM cell. If you thought relays were too slow for RAM cells, think again: these reed relays can toggle at a mind-boggling 700 Hz, making them more than fast enough for Fred.

The main I/O device is a console that contains several pushbuttons as well as a 12 x 8 LED display. All of this makes Fred a fully-functional general-purpose computer that’s even capable of playing Pong (video, embedded below). [Mike]’s website is full of interesting detail on all aspects of vacuum tube computer design, and makes delightful reading for anyone tempted by the idea of building their own.

Can’t get enough of vacuum tube computers? Have a look at this 1-bit MC14500 implementation, marvel at this modern interpretation of an adding machine, or find out how IBM designed its logic in the 1950s.

Continue reading “This Colossal Vacuum Tube Computer Plays A Mean Game Of Pong”

A boy looking at a small wind turbine

Hackaday Prize 2022: A 3D Printed Portable Wind Turbine For Hikers

If you’re out in the wilderness and off the grid, but still need to charge your phone, the most obvious way to do that is by using a solar panel. Light, flat and without moving parts, they’re easy to store and carry on a hike. But they obviously don’t work in the dark, so what’s a hiker to do if they want to charge their devices at night? If you happen to be in a windy place, then [adriancubas] has the solution for you: a portable wind turbine that folds up to the size of a 2 L soda bottle.

[adrian] designed the turbine to be light and compact enough to take with him on multi-day camping trips. Nearly all parts are 3D printed in PLA, and although ABS or PETG would have been stronger, the current design seems to hold up well in a moderate breeze. The generator core is made from a stepper motor with a bridge rectifier and a capacitor to create a DC output. [adrian] estimates the maximum power output to be around 12 W, which should be more than enough to charge a few beefy power banks overnight.

All parts are available as STL files on [adrian]’s project page, so if you’re looking for some wind power to charge your gadgets on your next camping trip you can go ahead and build one yourself. While we’ve seen large 3D printed wind turbines before, and portable ones for hikers, [adrian]’s clever folding design is a neat step up towards making wind power almost as easy to use as solar power.

Continue reading “Hackaday Prize 2022: A 3D Printed Portable Wind Turbine For Hikers”

A lock picking robot

This 3D Printed Robot Can Actually Pick Locks

Lockpicking is more of an art than a science: it’s probably 10% knowledge and 90% feeling. Only practice will teach you how much torque to apply to the cylinder, how to sense when you’ve pushed a pin far enough, or what it feels like when a pin springs back. Surely a robot would never be able to replicate such a delicate process, wouldn’t it?

Well, not according to [Lance] over at [Sparks and Code], who thought that building a lock picking robot would be an interesting challenge. He started out with a frame to hold a padlock and a servo motor to apply torque. A load cell measures the amount of force applied. This helps to keep the lock under a constant amount of tension as each pin is picked in succession. Although slow, this method seemed to work when moving the pick manually.

The difficult part was automating the pick movement. [Lance] built a clever system driven by two motors that would keep the pick perfectly straight while moving it horizontally and vertically. This was hard enough to get working correctly, but after adding a few additional clamps to remove wobble in the leadscrew, the robot was able to start picking. A second load cell inside the pick arm would detect the amount of force on each pin and work its way across the lock, pin by pin.

At least, that was the idea: as it turned out, simply dragging the pick across all pins in one go was enough to open the lock. A much simpler design could have achieved that, but no matter: designing a robot for all these intricate motions was a great learning experience anyway. It also gave [Lance] a good platform to start working on a more advanced robot that can pick higher-quality locks in which the dragging technique doesn’t work.

We haven’t come across lockpicking robots before; perhaps the closest equivalent would be this 3D-printed Snap Gun. If you’re interested in all aspects of locks and how to apply them, check out our Physical Security Hack Chat with Deviant Ollam.

Continue reading “This 3D Printed Robot Can Actually Pick Locks”

An oscilloscope with its probes stored in drawers below it

Clever Scope Probe Drawers Keep Your Workbench Tidy

Probes are an essential component of a good oscilloscope system, but they have the nasty habit of cluttering up your workbench. If you have a four-channel scope, it’s not just several meters of cable that get in the way everywhere, but also four sets of all those little clips, springs, cable markers, and adjustment screwdrivers that need to be stored safely.

[Matt Mets] came up with a clever solution to this problem: a 3D printed cable organizer that neatly fits below your scope. It has four drawers, each of which has enough space to store a complete probe and a little compartment for all its accessories. A cable cutout at the front allows you to keep the probes plugged in even when they’re not in use.

It’s a beautifully simple solution to a common problem, and with the STL files available on Printables anyone with a cluttered workbench can build one for themselves. If, however, you’d like to keep those probes even closer at hand, have a look at these probe caddies. Continue reading “Clever Scope Probe Drawers Keep Your Workbench Tidy”

A small PCB with an OLED screen showing a Dinosaur Game

Hackaday Prize 2022: RunTinyRun Is A Fully Solar-Powered, Portable Dinosaur Game

Fully solar-powered handheld gadgets have so far mostly been limited to ultra-low power devices like clocks, thermometers and calculators. Anything more complicated than that will generally have a battery and some means to charge it. An entirely solar-powered video game console is surely out of reach. Or is it? As [ridoluc] shows, such a device is actually possible: the RunTinyRun gets all its power directly from the Sun.

To be fair, it’s not really a full-fledged game console. In fact it doesn’t even come close to the original Game Boy. But RunTinyRun is a portable video game with an OLED display that’s completely powered by a solar panel strapped to its back. It will run indefinitely if you’re playing outside on a sunny day, and if not, letting it charge for a minute or two should enable thirty seconds of play time.

The game it runs is a clone of Google’s Dinosaur Game, where you time your button presses to make a T-Rex jump over cacti. As you might expect, the game runs on an extremely minimalist hardware platform: the main CPU is an ATtiny10 six-pin micro with just 1 kB of flash. The game is entirely written in hand-crafted assembly, and takes up a mere 780 bytes. A 0.1 farad supercap powers the whole system, and is charged by a 25 x 30 mm2 solar cell through a boost converter.

RunTinyRun is a beautiful example of systems design within strict constraints on power, code size and board area. If you’re looking for a more capable, though slightly less elegant portable gaming console, have a look at this solar-powered Game Boy.
A Dinosaur Game implementation running on a breadboard setup

a 3D printed box with a Terminator head watching a camera

Machine Vision Helps You Terminate Failing 3D Print Jobs

If you’re a 3D printer user you’re probably familiar with that dreaded feeling of returning to your printer a few hours after submitting a big job, only to find that it threw an error and stopped printing, or worse, turned half a spool of filament into a useless heap of twisted plastic. While some printers come with remote monitoring facilities, [Kutluhan Aktar]’s doesn’t, so he built a device that keeps a watchful eye on his 3D printer and notifies him if anything’s amiss.

a 3D printed box with a Terminator head watching a cameraThe device does this by tracking the movement of the print head using a camera and looking for any significant changes in motion. If, for example, the Y-axis suddenly stops moving and doesn’t resume within a reasonable amount of time, it will generate a warning message and send it to its owner through Telegram. If all three axes stop moving, then either the print is finished or some serious error occurred, both of which require user intervention.

The camera [Kutluhan] used is a HuskyLens AI camera that can detect objects and output a set of 3D coordinates describing their motion. A set of QR-like AprilTags attached to the moving parts of the 3D printer help the camera to identify the relevant components. The software runs on a Raspberry Pi housed in a 3D-printed enclosure with a T-800 Terminator head on top to give it a bit of extra presence.

[Kutluhan]’s description of the project covers lots of detail on how to set up the camera and hook it up to a Telegram bot that enables it to send automated messages, so it’s an interesting read even if you’re not planning to 3D print something to check on your 3D printer. After all, software like Octoprint has many similar features, but having an independent observer can still be a good safety feature to prevent some types of catastrophic failure.

Continue reading “Machine Vision Helps You Terminate Failing 3D Print Jobs”

A man performing push-ups in front of a PC

Machine Learning Helps You Get In Shape While Working A Desk Job

Humans weren’t made to sit in front of a computer all day, yet for many of us that’s how we spend a large part of our lives. Of course we all know that it’s important to get up and move around every now and then to stretch our muscles and get our blood flowing, but it’s easy to forget if you’re working towards a deadline. [Victor Sonck] thought he needed some reminders — as well as some not-so-gentle nudging — to get into the habit of doing a quick workout a few times a day.

To this end, he designed a piece of software that would lock his computer’s screen and only unlock it if he performed five push-ups. Locking the screen on his Linux box was as easy as sending a command through the network, but recognizing push-ups was a harder task for which [Victor] decided to employ machine learning. A Raspberry Pi with a webcam attached could do the trick, but the limited processing power of the Pi’s CPU might prove insufficient for processing lots of raw image data.

[Victor] therefore decided on using a Luxonis OAK-1, which is a 4K camera with a built-in machine-learning processor. It can run various kinds of image recognition systems including Blazepose, a pre-trained model that can recognize a person’s pose from an image. The OAK-1 uses this to send out a set of coordinates that describe the position of a person’s head, torso and limbs to the Raspberry Pi through a USB interface. A second machine-learning model running on the Pi then analyzes this dataset to recognize push-ups.

[Victor]’s video (embedded below) is an entertaining introduction into the world of machine-learning systems for video processing, as well as a good hands-on example of a project that results in a useful tool. If you’re interested in learning more about machine learning on small platforms, check out this 2020 Remoticon talk on machine learning on microcontrollers, or this 2019 Supercon talk about implementing machine vision on a Raspberry Pi.

Continue reading “Machine Learning Helps You Get In Shape While Working A Desk Job”