Counting Without Transistors

The Hackaday Prize is all about Building Hope. We want to see hardware creators change the world with microcontrollers and breadboards. That’s a noble goal, but it also doesn’t mean you can’t have fun. That’s exactly what [Yann] is doing with a pile of surplus Soviet components, a bunch of bodge wire, and exactly zero transistors. He’s building a hexadecimal display module using only relays and diodes. It’s absurd, but still very very cool.

The inspiration for this build comes from homebrew computing. With this, there’s a recurring problem of displaying the status of a bus. Sure, a bank of LEDs will work, but then you have to count to F. The better solution to this is a hexadecimal display. The best solution to this problem is using Numitrons — seven segment Nixies, basically — and doing it all with relays and diode steering.

This module accepts four bits as an input and uses a clever arrangement of diodes to turn those four signals into the digits 0-F. Yes, it’s hexadecimal, but that’s just what you do when you’re building your own computer.

Right now, [Yann] has one module on a slim-profile protoboard that should stack easily enough for an 8 or even a 16-bit wide bus. That’s four tubes and hundreds of diodes for the 16-bit version, but the good news is all of these modules are identical, vastly simplifying the construction of the display panel of a homebrew computer.

Fail Of The Week: The Spot Welder Upgrade That Wasn’t

Even when you build something really, really nice, there’s always room for improvement, right? As it turns out for this attempted upgrade to a DIY spot welder, not so much.

You’ll no doubt recall [Mark Presling]’s remarkably polished and professional spot welder build that we featured some time ago. It’s a beauty, with a lot of thought and effort put into not only the fit and finish but the function as well. Still, [Mark] was not satisfied; he felt that the welder was a little underpowered, and the rewound microwave oven transformer was too noisy. Taking inspiration from an old industrial spot welder, he decided to rebuild the transformer by swapping the double loop of battery cable typically used as a secondary with a single loop of thick copper stock. Lacking the proper sized bar, though, he laminated multiple thin copper sheets together before forming the loop. On paper, the new secondary’s higher cross-sectional area should carry more current, but in practice, he saw no difference in the weld current or his results. It wasn’t all bad news, though — the welder is nearly silent now, and the replaced secondary windings were probably a safety issue anyway, since the cable insulation had started to melt.

Given [Mark]’s obvious attention to detail, we have no doubt he’ll be tackling this again, and that he’ll eventually solve the problem. What suggestions would you make? Where did the upgrade go wrong? Was it the use of a laminated secondary rather than solid bar stock? Or perhaps this is the best this MOT can do? Sound off in the comments section.

Continue reading “Fail Of The Week: The Spot Welder Upgrade That Wasn’t”

When Detecting Lines Is Harder Than Expected

[Conor Patrick] is no stranger to hardware development, and he’s had an interesting project for the past few months. He’s attempting to create a tool to convert images of technical drawings (such as footprints for electronic components) into digital formats that can be imported into other tools. This could automate turning a typical footprint drawing like the one shown into an actual part definition in a CAD program, which could really speed up the creation of custom parts.

Key to the entire concept is the detection of lines in a black-and-white technical drawing. To some people this won’t sound like a particularly challenging problem; choose one or another baked-in line detection function, maybe with a bit of pre or post-processing, and that should be that. It turns out that detecting lines can be harder than expected, and as usual the devil is in the detail.

When [Conor] tried some existing methods for detecting lines, the results appeared good at first but came up short in frustrating ways. Software did not appreciate that in a technical drawing, a line is a single unbroken unit from point A to point B. Without that assumption, what should be a single line sometimes had sections missing, or single lines were detected as multiple segments instead of a unit. Lines that crossed other lines complicated things. Unwanted lines like a “1” or the lower half of a “Y” were being detected. There had to be a better way.

In the end, a custom solution that took proper advantage of the nature of the source images and made the correct assumptions is what made all the difference. With some intelligent threshold setting combined with looking at vertical and horizontal line instances separately, it was possible to locate lines and their lengths far more accurately than any other method he had tried. The system doesn’t handle sloped lines yet, but it might be possible to simply iterate through rotations of the image while applying the same method. If you have a better solution, [Conor] wants to hear from you.

Of course, garbage in means garbage out and sadly not all technical drawings measure up.

GuerillaClock Could Save This City Thousands

They say necessity is the mother of invention. But if the thing you need has already been invented but is extremely expensive, another mother of invention might be budget overruns. That was the case when [klinstifen]’s local government decided to put in countdown clocks at bus stops, at a whopping $25,000 per clock. Thinking that was a little extreme, he decided to build his own with a much smaller price tag.

The project uses a Raspberry Pi Zero W as its core, and a 16×32 RGB LED matrix for a display. Some of the work is done already, since the bus system has an API that is readily available for use. The Pi receives the information about bus schedules through this API and, based on its location, is able to determine the next bus arrival time and display it on the LED matrix. With the custom 3D printed enclosure and all of the other material, the cost of each clock is only $100, more than two orders of magnitude less expensive.

Hopefully the local government takes a hint from [klinstifen] and decides to use a more sane solution. In the meantime, you might be able to build your own mass transit clock that you can use inside your own house, rather than at the train station, if you’re someone who has a hard time getting to the bus stop on time.

Continue reading “GuerillaClock Could Save This City Thousands”

Blueprints Make It Easy To Make (Some) Alexa Skills

If you can code, you can create an Alexa skill — the programs that allow an Amazon Echo or similar device interact with you. What if you can’t code or you are just too lazy to do all the setup? Amazon now has Blueprints that can help anyone make a skill. The only problem is the skills you can create are pretty limited. In addition, they are only available to your Alexa devices.

The idea is simple. You start with a template — OK, a blueprint. This is a model application that does something like giving you a compliment or a joke on demand. When you open the blueprint, you’ll see a list of things it can say. You can edit the list, including adding or deleting things. Then you name the new skill. In a few minutes, your skill will be live on your devices.

Continue reading “Blueprints Make It Easy To Make (Some) Alexa Skills”

Computers May Someday Need A Drink

“We want to put water right into your processor.” If that statement makes you sweat, that is good. Sweating is what we’re talking about, but it’s more involved than adding some water like a potted plant. Sweating works naturally by allowing liquid to evaporate, and that phase change is endothermic which is why it feels cool. Evaporative coolers that work in this way, also known as swamp coolers, haven’t been put into computers before because they are full of sloshy water. Researchers in South Korea and the United States of America have been working on an evaporative cooling system mimicking the way some insects keep themselves cool by breathing through their exoskeletons while living in damp soil.

Springtails are little bugs that have to keep the water and air separate, so they don’t drown in the wet dirt where they live. Mother Nature’s solution was for them to evolve to do this with columns that have sharp edges at the exit. Imagine you slowly add water to a test tube, it won’t spill as soon as you reach the top, it will form a dome. This is the meniscus. At a large scale, say a river dam, as soon as you get over the dam you would expect spillage, but at the test tube level you can see a curve. At the scale of the springtail, exuded water will form a globe and resist water pressure. That resistance to water pressure allows this type of water cooling to self-regulate. Those globes provide a lot of surface area, and as they evaporate, they allow more water to replenish the globe. Of course, excessive pressure will turn them into the smallest squirt guns.

We have invented a lot by copying Mother Nature. Velcro was inspired by burrs, and some of our most clever robots copy insects. We can also be jerks about it.

3D Drone Video

If you enjoy flying quadcopters, it is a good bet that you’ll have a drone with a camera. It used to be enough to record a video for later viewing, but these days you really want to see a live stream. The really cool setups have goggles so you can feel like you are actually in the cockpit. [Andi2345] decided to go one step further and build a drone that streams 3D video. You can see a video of the system, below.

Outdoors, there’s probably not a lot of advantage to having a 3D view, but it ought to be great for a small indoor drone. The problem is, of course, a small drone doesn’t have a lot of capacity for two cameras. The final product uses two cameras kept in sync with a sync separator IC and a microcontroller, while an analog switch intersperses the frames.

On the viewing side, a USB frame grabber and a Raspberry Pi splits the images again. At first, the system used an LCD screen married with a Google Cardboard-style goggle, but eventually, this became a custom Android application.

Continue reading “3D Drone Video”