Iron Tips: Soldering Headphones And Enamel Wire

We’ve all had that treasured pair of headphones fail us. One moment we’re jamming out to our favorite song, then, betrayal. The right ear goes out. No wait. It’s back. No, damn, it’s gone. It works for a while and then no jiggling of the wire will bring it back. So we think to ourselves, we’ve soldered before. This is nothing. We’ll just splice the wire together.

So we open it up only to be faced with the worst imaginable configuration: little strands of copper enamel wire intertwined with nylon for some reason. How does a mortal solder this? First you try to untwine the nylon from the strands. It kind of works, but now the strands are all mangled and weird. Huh. Okay. well, you kind of twist them together and give a go at soldering. No dice. Next comes sandpaper, torches, and all sorts of work-a-rounds. None of them seem to work. The best you manage is sound in one ear. It’s time to give up.

Soldering this stuff is actually pretty easy. It just takes a bit of knowledge about how assembly line workers do it. Let’s take a look.

Continue reading “Iron Tips: Soldering Headphones And Enamel Wire”

Weaponizing Elementary Science Experiments

[austiwawa] was playing around with one of those simple linear motors people build as friendly little science experiments. There’s an AA battery in the middle of a set of magnets. When you put it inside of a spring it zips around inside until you run out of spring or magic pixies in the battery.

Of course, the natural question arose, “How do I make it go fast!? Like fast!” After making explosion and woosh noises for a bit (like any good hacker would) he settled down and asked a more specific question. If I made the coil the barrel of an air gun, and then shot the battery out… would it go faster?

So, he built an air cannon. It took some ingenuity and duct tape, but he managed to line the barrel with a copper coil. After that he built an experimental set-up, because making something dangerous is only okay if it’s science. That’s the difference between sensible adults and children.

He shot three “dead” rounds through the cannon, and got a baseline result. These dead rounds were made so by placing the magnets at the improper polarity to forego the motion-boosting properties. Then he shot three live ones through. It went measurably faster! Neat!

What’s the silliest thing you’ve ever seen properly characterized? Let us know in the comments below.

Continue reading “Weaponizing Elementary Science Experiments”

Squoze Your Data

I have a confession to make. I enjoy the challenge of squeezing software into a tiny space or trying to cut a few more cycles out of a loop. It is like an intricate puzzle. Today, of course, there isn’t nearly as much call for that as there used to be. Today even a “small” microcontroller has a ton of memory and resources.

Even so, there’s still a few cases where you need to squeeze those last few bytes out of memory. Maybe you are trying to maximize memory available for some purpose. Maybe you are anticipating mass production and you are using the smallest microcontroller you can find. Or maybe you’re doing the 1 kB Challenge and just want some advice.

One way to find techniques to maximize resources is to look at what people did “in the old days.” Digital Equipment computers once had a special character set called Squoze (or sometimes DEC Radix-50). This technique can be useful when you need to get a lot of strings into memory. The good news is that you can reliably get 3 characters into 2 bytes (or, as DEC did, 6 characters into 4 bytes). The bad news is that you have to pick a limited character set that you can use. However, that’s not always a big problem.

Continue reading “Squoze Your Data”

IP Over QR Codes

We’ve seen networks built over some interesting mediums, but QR codes has to be a new one. [Eric Seifert] decided to try to use QR codes to make an IP connection. He used these visual codes to create a bi-directional connection between two camera-equipped computers. He’s a persistent chap, because it works: in one of his videos, he shows an SSH connection between two devices.

He faced a number of challenges on the way. Although there is plenty of code to read QR codes, the data that can be encoded and read from them is limited. There is a binary mode that can be used with QR codes, but it is really inefficient. [Eric] decided to use base32 coding instead, packing the data into each frame as alphanumeric text. Each QR code image that is created and received is numbered, so the system can keep track and request any lost images. He also had some problems with keeping the data consistent between the encoded and decoded versions, so he had to add some packing to the data before it would work.  It uses Python-pytun to create a TUN/TAP device that carries the data.

The speed of the connection is rather slow: in his demo video, the two computers take over a minute to exchange keys for an SSH connection, and [Eric] measured the speed of the connection at about 100 bits per second. But even getting something like this working at all is a significant achievement. He has published his code on GitHub.

We’ve featured the work of [Eric] before: he created a data connection using an iPod FM transmitter.

Continue reading “IP Over QR Codes”

Levitating Table Makes The Sound Of This Holochess Jukebox

A bubbling Wurlitzer juke would be a prized addition to the classic picture of a man cave — brass-railed bar, kegerator, pool table, tin signs and neon on the walls. But it would take a particularly geeky abode to give a proper home to this Millenium Falcon holochess table jukebox. And a particularly awesome one at that.

dsc02100It all started with a very detailed and realistic replica of a holochess table made by [Jim Shima]’s friend. A lot of time and care went into the prop, and [Jim] was determined not to alter the look while installing the media player gear, consisting of a Raspberry Pi running OSMC and a 160-watt power amp.

The speakers were problematic – there was nowhere convenient to mount them except under the brushed aluminum playing surface of the table. The sound quality was less than acceptable, so rather than poke unsightly holes in the table, [Jim] devised a servo to lift the table while the music is playing.

An LCD monitor and wireless keyboard slightly detract from the overall look; we’ll give [Jim] a pass until he can come up with a holographic display to finish the build right. But we are disappointed that he didn’t use “Mad About Me” by Figrin D’an and the Modal Nodes as the demo tune in the video below.

It’s a nice build, and you’ll want to check out [Jim]’s Hyperdyne Labs for more drool-worthy props and effects. And for another fandom jukebox, look over this jukebox that’s bigger on the inside.

Continue reading “Levitating Table Makes The Sound Of This Holochess Jukebox”

The Future Travels Of The Travelling Hackerbox

For the past year, I’ve been organizing a very special project over on hackaday.io. It’s the Travelling Hacker Box, a box full of random electronics junk, sibling to the The Great Internet Migratory Box Of Electronics Junk, and a project that has already traveled more than 25,000 miles. Earlier this month, I said the Hackerbox is going international, I asked for contributors to receive the project in faraway lands, and now it’s time for the final report. This is where the Travelling Hackerbox will be going over the next year.

Continue reading “The Future Travels Of The Travelling Hackerbox”

Faulty Parking Meter Tracking System? RFID To The Rescue!

How often do you see problems that need fixing? How often do you design your own solutions to them — even if they won’t be implemented at scale? Seeing that many of the municipal parking lots in his native Sri Lanka use a paper ticketing system which is prone to failure, [Shazin Sadakath] whipped up his own solution: an efficient RFID tag logging system.

Digging out an HZ-1050 RFID reader — as well an RFID card and two tags — [Sadakath] set to work connecting it to his Raspberry Pi and cooking up a batch of code and a dashboard to work with. A Python script — using a PiGPIO library — reads the Wiegand Format RFID number, storing it in an SQLite3 database. A Bootstrap, Javascript, and JQuery trifecta make up the dashboard that pulls the RFID info from said server and organizes it into a functional format.

Continue reading “Faulty Parking Meter Tracking System? RFID To The Rescue!”