The Tide Is High, And This Clock Lets You Know

In case you happen to have an ocean nearby, you’re probably familiar with its rising and falling tides. And if mudflat hiking is a thing in your area, you’re also aware of the importance of good timing and knowing when the water will be on its way back. Tide clocks will help you to be prepared, and they are a fun alternative to your usual clock projects. If you’re looking for a starting point, [rabbitcreek] put together an Arduino-based tide clock kit for educational purposes.

If you feel like you’re experiencing some déjà vu here, this indeed isn’t [rabbitcreek]’s first tide clock project. But unlike his prior stationary clock, he has now created a small and portable, coin-cell version to take with you out on the sea. And what shape would better fit than a 3D printed moon — unfortunately the current design doesn’t offer much waterproofing.

For the underlying tide calculation itself, [rabbitcreek] uses just like in his previous project [Luke Miller]’s location-based library for the ubiquitous DS1307 and DS3213 real-time clocks. Of course, if you also want to keep track of other events on your clock, why not set up calendar events for the next rising tide?

A DIY Balcony Crane Lifts Groceries For The Lazy But Patient

If necessity is the mother of invention, then laziness is probably its father. Or at least a close uncle. Who hasn’t thought, “There has to be a better way to do this, one that doesn’t involve me burning precious calories”?

Motivational laziness seems to increase with potential energy, as anyone who needs to haul groceries up four flights of stairs will tell you. This appears to be where this balcony-mounted drill-powered crane came from. Starting with a surplus right-angle gearbox and drum, [geniusz K] fabricated the rest of the crane from steel plate and tubing. We like the quality of fabrication and the tip on making slip couplings from bits of square tubing. The finished product got a nice coat of brown paint to match the balcony railing; keeping the neighbors happy is always important. He tested the crane with a 20-kg weight before installing it on the balcony and put it to work hauling groceries up three stories. Check out the build and the test in the video below.

While it won’t set any speed records, at least the drill is doing the work. But what if you’re impatient as well as lazy? Aside from being two-thirds of the way to programming greatness, you may have to up the game. A heavy-lift quadcopter, perhaps?

Continue reading “A DIY Balcony Crane Lifts Groceries For The Lazy But Patient”

Source Of Evil – A Botnet Code Collection

In case you’re looking for a variety of IRC client implementations, or always wondered how botnets and other malware looks on the inside, [maestron] has just the right thing for you. After years of searching and gathering the source code of hundreds of real-world botnets, he’s now published them on GitHub.

With C++ being the dominant language in the collection, you will also find sources in C, PHP, BASIC, Pascal, the occasional assembler, and even Java. And if you want to consider the psychological aspect of it, who knows, seeing their malicious creations in their rawest form might even give you a glimpse into the mind of their authors.

These sources are of course for educational purposes only, and it should go without saying that you probably wouldn’t want to experiment with them outside a controlled environment. But in case you do take a closer look at them and are someone who generally likes to get things in order, [maestron] is actually looking for ideas how to properly sort and organize the collection. And if you’re more into old school viruses, and want to see them run in a safe environment, there’s always the malware museum.

One-byte binary LED display

See Binary On Your Breadboard

When you’re debugging a board which has an ESP32, Raspberry Pi, or Arduino, it’s easy to slap on a small LCD display or connect via WiFi to see what’s wrong. At least, that’s what the kids are doing. But what if you’re old-school or you don’t have one of those pimped-out, steroid-filled boards? A resistor and an LED will often suffice. Powering the LED means one thing and not powering it means another. And with seven more LEDs you can even display 0-255 in binary.

[Miguel] is clearly in the latter camp. To make debugging-with-LEDs easy, he’s come up with an 8-LED board complete with resistors. He’s even included the Gerber files needed for you to make your own. One row of pins are all connected together and the other row are not. So whether you’re using common cathode or common anode depends on how you orient the LEDs when you solder them in place. You might perhaps have one board of each type at the ready.

But who are we kidding? This is just plain fun to have on a breadboard. Show your prototype doohickey to a friend and you know they’ll be drawn to the little binary counter in the corner pulsing 42 or counting down until it starts flashing 255.

At risk of getting too feature-rich, you could then add two keys for a binary keyboard or add more LEDs to display 32-bit binary Unix Epoch time and see how long until your friends figure that one out.

Continue reading “See Binary On Your Breadboard”

A Switching Power Supply, 1940s-Style

“They don’t build ’em like they used to.” There’s plenty of truth to that old saw, especially when a switch-mode power supply from the 1940s still works with its original parts. But when said power supply is about the size of a smallish toddler and twice as heavy, building them like the old days isn’t everything it’s cracked up to be.

The power supply that [Ken Shirriff] dives into comes from an ongoing restoration of a vintage teletype we covered recently. In that post we noted the “mysterious blue glow” of the tubes in the power supply, which [Ken] decided to look into further. The tubes are Thyratrons, which can’t really be classified as vacuum tubes since they’re filled with various gasses. Thyratrons are tubes that use ionized gas – mercury vapor in this case – to conduct large currents. In this circuit, the Thyratrons are used as half-wave rectifiers that can be rapidly switched on and off by a feedback circuit. That keeps the output voltage fixed at the nominal 140V DC required by the teletype, with a surprisingly small amount of ripple. The video below is from a series on the entire restoration; this one is cued to where the power supply is powered up for the first time. It’s interesting to see the Thyratrons being switched at about 120 Hz when the supply is under load.

Cheers to [Ken] and his retrocomputing colleagues for keeping the old iron running. Whether the target of his ministrations is a 1974 scientific calculator or core memory from an IBM 1401, we always enjoy watching him work.

Continue reading “A Switching Power Supply, 1940s-Style”

Shoelace-Tying Robot With Only Two Motors

Many things that humans do are very difficult for machines. Case in point: tying shoelaces. Think of the intricate dance of fingers crossing over fingers that it takes to pass off a lace from one hand to the other. So when a team of five students from UC Davis got together and built a machine that got the job done with two hooks, some very clever gears, and two motors, we have to say that we’re impressed. Watch it in action on Youtube (also embedded below).

The two-motor constraint would seem at first to be a show-stopper, but now that we’ve watched the video about a hundred times, we’re pretty convinced that a sufficiently clever mechanical engineer could do virtually anything with two motors and enough gears. You see, the secret is that one motor is dedicated to moving a drive gear back and forth to multiple destinations, and the other motor provides the power.

This being Hackaday, I’m sure that some of you are saying “I could do that with one motor!” Consider that a challenge.

Meanwhile, if you need to see more gear-porn, check out this hummingbird automaton. Or for the miracles of cam-driven machines, check out [Fran Blanche]’s work with the Maillardet Automaton.

Continue reading “Shoelace-Tying Robot With Only Two Motors”

Modular Keyboards For CAD, Gaming, And Video Editing

Of all the input devices, the keyboard is the greatest. This comes at a cost, though: there were times back in the Before Days, when video and music editing applications came with custom keyboards. There were Pro Tools keyboards, Final Cut keyboards, and innumerable Adobe keyboards. What’s the solution to this problem? More keyboards, obviously, and this time we’ll make them modular.

For his Hackaday Prize entry, [Cole B] is building modular, programmable USB keyboards. It’s got everything: a standard 3×3 keypad, a keyboard that’s just four potentiometers, a keyboard that’s a rotary encoder, and a keyboard that’s a set of faders.

The design of these keyboards is inherently modular, and that means there needs to be a way to connect all these modules together, preferably without a bunch of USB cables strewn about. Right now, the best idea [Cole] is working with is pogo pins and magnets. It’s a great idea although Apple Thinks Differently™ and probably wouldn’t be too keen on seeing the whole ‘magnets and pins’ idea stolen out from under them.

Nevertheless, it’s an excellent project that shows how far you can go with manufacturing on a limited budget. These are fantastic keyboard modules already, and the connector scheme already pushes this project into the upper echelon of keyboard hacks.