Adding Buttons to the ESP-12 – The Cheat Way

[Buger] had an ESP-12F and wanted to play with nodeMCU, but found they were lacking buttons for reset & flash. We’ve all been there – mucking about with a project on a breadboard, trying to save the time required to solder up a button by shorting pins with wire or bending component legs to touch. This either doesn’t work or ends up bricking the microcontroller when it inevitably goes wrong. [Buger] found a tidier solution to adding buttons to the ESP-12F with the minimum of effort.

It’s the spirit of deadbug applied to buttons. One side of a piece of wire is soldered to the pin needing to be pulled down. Component leg offcuts are ideal for this. The other end of the wire is bent up and left to float over the metal shield of the ESP-12, which is connected to ground. When you want the pin to go low, press the wire into the shield, grounding it. Let it go, and the pin returns high again, assuming your pullup resistors are all in order.

It’s a quick hack that’s much more robust than trying to hold two ends of a piece of hookup wire in place. It’s also still easier than trying to find a tactile switch solder leads to, and you don’t end up having it hanging off the board either.

For deadbug construction taken to an impressive conclusion, check out this clock built out of discrete components.

[Thanks to Richard Marko for the tip!]

Soda Bottles Used as Heat-Shrink for Wood Joinery

Nobody is likely to confuse it with the beautiful joinery that makes fine furniture so desirable. But as a practical technique, using plastic bottles as heat-shrink tubing for composite joints is pretty nifty, and the pieces produced are not without their charm.

Undertaken as an art project to show people what can be done with recycled materials, [Micaella Pedros]’ project isn’t a hack per se. She started with bottles collected around London and experimented with ways to use them in furniture. The plastic used in soda and water bottles, polyethylene terephthalate (PET), turns out to shrink quite a bit when heated. Rings cut from bottles act much like large pieces of heat-shrink tubing, but with more longitudinal shrinkage and much more rigidity. That makes for a great structural component, and [Micaella] explored several ways to leverage the material to join wood. Notches and ridges help the plastic grip smoother pieces of wood, and of course the correct size bottle needs to be used. But the joints are remarkably strong – witness the classic leaning-back-in-a-chair test in the video below.

Its aesthetic value aside, this is a good technique to file away for more practical applications. Of course, there are plenty of ways to recycle soda bottles, including turning them into cordage or even using them as light-pipes to brighten a dark room.

Continue reading “Soda Bottles Used as Heat-Shrink for Wood Joinery”

The Latest In 3D Printed Part Smoothing: Use A Brush

Part smoothing for 3D printed parts, especially parts printed in ABS, has been around for a while. The process of exposing an ABS part to acetone vapor turns even low-resolution prints into smooth, glossy 3D renderings that are stronger than ever. The latest improvement in part smoothing for 3D printed parts is now here: use a brush. Published in Nature‘s Scientific Reports, researchers at Waseda University have improved the ABS + acetone part smoothing process with a brush.

According to the authors of the paper, traditional filament-based printing with ABS has its drawbacks. The grooves formed by each layer forms a porous surface with a poor appearance and low rigidity. This can be fixed by exposing an ABS part to acetone vapor, a process we’ve seen about a million times before. The acetone vapor smoothing process is indiscriminate, though; it smooths and over-smooths everything, and the process involves possible explosions.

The researcher’s solution is a felt tip pen-like device that selectively applies acetone to a 3D printed part. Compared to the print over-smoothed in a vat of acetone vapor, more detail is retained. Also, there’s a ready market for felt tip pens and there isn’t one for crock pots able to contain explosive vapor. This is, therefore, research that can be easily commercialized.

Say It With Me: Aliasing

Suppose you take a few measurements of a time-varying signal. Let’s say for concreteness that you have a microcontroller that reads some voltage 100 times per second. Collecting a bunch of data points together, you plot them out — this must surely have come from a sine wave at 35 Hz, you say. Just connect up the dots with a sine wave! It’s as plain as the nose on your face.

And then some spoil-sport comes along and draws in a version of your sine wave at -65 Hz, and then another at 135 Hz. And then more at -165 Hz and 235 Hz or -265 Hz and 335 Hz. And then an arbitrary number of potential sine waves that fit the very same data, all spaced apart at positive and negative integer multiples of your 100 Hz sampling frequency. Soon, your very pretty picture is looking a bit more complicated than you’d bargained for, and you have no idea which of these frequencies generated your data. It seems hopeless! You go home in tears.

But then you realize that this phenomenon gives you super powers — the power to resolve frequencies that are significantly higher than your sampling frequency. Just as the 235 Hz wave leaves an apparent 35 Hz waveform in the data when sampled at 100 Hz, a 237 Hz signal will look like 37 Hz. You can tell them apart even though they’re well beyond your ability to sample that fast. You’re pulling in information from beyond the Nyquist limit!

This essential ambiguity in sampling — that all frequencies offset by an integer multiple of the sampling frequency produce the same data — is called “aliasing”. And understanding aliasing is the first step toward really understanding sampling, and that’s the first step into the big wide world of digital signal processing.

Whether aliasing corrupts your pristine data or provides you with super powers hinges on your understanding of the effect, and maybe some judicious pre-sampling filtering, so let’s get some knowledge.

Continue reading “Say It With Me: Aliasing”

The Hard Way of Cassette Tape Auto-Reverse

The audio cassette is an audio format that presented a variety of engineering challenges during its tenure. One of the biggest at the time was that listeners had to physically remove the cassette and flip it over to listen to the full recording. Over the years, manufacturers developed a variety of “auto-reverse” systems that allowed a cassette deck to play a full tape without user intervention. This video covers how Akai did it – the hard way.

Towards the end of the cassette era, most manufacturers had decided on a relatively simple system of having the head assembly rotate while reversing the motor direction. Many years prior to this, however, Akai’s system involved a shuttle which carried the tape up to a rotating arm that flipped the cassette, before shuttling it back down and reinserting it into the deck.

Even a regular cassette player has an astounding level of complexity using simple electromechanical components — the humble cassette precedes the widespread introduction of integrated circuits, so things were done with motors, cams, levers, and switches instead. This device takes it to another level, and [Techmoan] does a great job of showing it in close-up detail. This is certainly a formidable design from an era that’s beginning to fade into history.

The video (found after the break) also does a great job of showing glimpses of other creative auto-reverse solutions — including one from Phillips that appears to rely on bouncing tapes through something vaguely resembling a playground slide. We’d love to see that one in action, too.

One thing you should never do with a cassette deck like this is use it with a cassette audio adapter like this one.

Continue reading “The Hard Way of Cassette Tape Auto-Reverse”

The Think Tank at the Chicago Unconference

On Saturday the Hackaday community turned out in force to try something new. The first Hackaday Unconference was held in three places at the same time, and I was in Chicago and was amazed at the turnout and variety of presentations. The image above sums up the concept quite well, everyone shows up ready to give an eight minute talk, but as a whole, no one knows what to expect. Well, we should have known to expect awesome and that’s what we got.

As usual, people are excellent… to one another and in adapting to the fluid nature of the day. Pumping Station: One, a renowned Hackerspace in the Avondale neighborhood near downtown Chicago, opened their doors for us. Not knowing how many people to expect we set up two presentation rooms with a third on deck just in case it was needed.

We just barely squeezed everyone in one room for the first track but ended up splitting into two for part of the day. Here you can see that second room filling up. Even so we still had a handful of presentations that didn’t get a chance to shine — we simply must do this again so they can have the chance and because I had such a great time!

Continue reading “The Think Tank at the Chicago Unconference”

Mood Lamp Also Warns of Nuclear Catastrophe

[Michal Zalewski] has radiation on the brain. Why else would he gut a perfectly-horrible floor lamp, rebuild the entire thing with high-power RGB LEDs, and then drive it with a microcontroller that is connected up to a Geiger-Müller tube? Oh right, because it also looks very cool, and Geiger tubes are awesome.

If you’ve been putting off your own Geiger tube project, and we know you have, [Michal]’s detailed explanation of the driver circuit and building one from scratch should help get you off the couch. Since a Geiger tube needs 400 volts DC, some precautions are necessary here, and [Michal] builds a relatively safe inverter and also details a relatively safe way to test it.

The result is a nice piece of decor that simultaneously warns you of a nuclear disaster by flashing lights like crazy, or (hopefully) just makes a nice conversation piece. This is one of the cooler Geiger tube hacks we’ve seen since [Robert Hart] connected up eighteen Geiger tubes, and used them to detect the direction of incoming cosmic rays and use that to compose random music (YouTube, embedded below).

[Michal] is also author of the most excellent Guerrilla Guide to CNC Machining and keeps good tabs on his background radiation.

Continue reading “Mood Lamp Also Warns of Nuclear Catastrophe”