Hackaday Links Column Banner

Hackaday Links: April 22, 2018

Eagle 9 is out. Autodesk is really ramping up the updates to Eagle, so much so it’s becoming annoying. What are the cool bits this time? Busses have been improved, which is great because I’ve rarely seen anyone use busses in Eagle. There’s a new pin breakout thingy that automagically puts green lines on your pins. The smash command has been overhauled and now moving part names and values is somewhat automatic. While these sound like small updates, Autodesk is doing a lot of work here that should have been done a decade ago. It’s great.

Crypto! Bitcoin is climbing up to $9,000 again, so everyone is all-in on their crypto holdings. Here’s an Arduino bitcoin miner. Stats of note: 150 hashes/second for the assembly version, and at this rate you would need 10 billion AVRs to mine a dollar a day. This array of Arduinos would need 2 Gigawatts, and you would be running a loss of about $10 Million per day (minus that one dollar you made).

Are you going to be at Hamvention? Hamvention is the largest amateur radio meetup in the Americas, and this year is going to be no different. Unfortunately, I’ll be dodging cupcake cars that weekend, but there is something of note: a ‘major broadcaster’ is looking for vendors for a ‘vintage tech’ television series. This looks like a Canadian documentary, which adds a little bit of respectability to this bit of reality television (no, really, the film board of Canada is great). They’re looking for weird or wacky pieces of tech, and items that look unique, strange, or spark curiosity. Set your expectations low for this documentary, though; I think we’re all several orders of magnitude more nerd than what would be interesting to a production assistant. ‘Yeah, before there were pushbutton phones, they all had dials… No, they were all attached to the wall…”

The new hotness on Sparkfun is a blinky badge. What we have here is a PCB, coin cell holder, color changing LED, and a pin clasp. It’s really not that different from the Tindie Blinky LED Badge. There is, however, one remarkable difference: the PCB is multicolored. The flowing unicorn locks are brilliant shades of green, blue, yellow, pink, purple, and red. How did they do it? We know full-color PCBs are possible, but this doesn’t look like it’s using a UV printer. Pad printing is another option, but it doesn’t look like that, either. I have no idea how the unicorn is this colorful. Thoughts?

Defcon is canceled, but there’s still a call for demo labs. They’re looking for hackers to show off what they’ve been working on, and to coax attendees into giving feedback on their projects.

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.