Reset Your Router The Modern Way

Many Hackaday readers will be settling back into their lives after a holiday period crammed into some family matriarch’s house along with too many assorted relatives, having given up their speedy internet connection for whatever passes for broadband wherever Granny lives. The bargain-basement router supplied by the telephone company will have spent the period wilting under the pressure of a hoard of teenagers watching other teenagers inanities on YouTube, and the Christmas ritual of Resetting The Router will have been performed multiple times.

A very simple schematic for the resetter.
A very simple schematic for the resetter.

Wouldn’t it be nice if your router simply reset itself every time it crashed or the Internet connection went down? [Cyb3rn0id] has a solution (Italian original here), in the form of an ESP8266 that pings an online service every few seconds, and turns the router off and on again via a power relay in the event that the ping attempt is repeatedly unsuccessful. It’s brilliantly simple, requiring only a single GPIO and a MOSFET to fire the relay with an LED indicator for good measure, and it’s built upon a piece of prototyping board. The router power is switched on the low-voltage side for safety.

The software is pretty basic and has the WiFi credentials hard-coded into it, so we’re guessing a version with a web interface could be built. But as a personal device for easing the pain of router crashes it gets our vote despite that shortcoming.

This isn’t the first router resetter we have seen here, but a previous model still required human intervention.

The Mother Of All Demos, 50 Years On

If you’re like me, chances are pretty good that you’ve been taught that all the elements of the modern computer user interface — programs running in windows, menus, icons, WYSIWYG editing of text documents, and of course, the venerable computer mouse — descended from the hallowed halls of the Xerox Corporation’s Palo Alto Research Center in the early 1970s. And it’s certainly true that PARC developed these technologies and more, including the laser printer and object-oriented programming, all of which would grace first the workplaces of the world and later the homes of everyday people.

But none of these technologies would have existed without first having been conceived of by a man with a singular vision of computing. Douglas Engelbart pictured a future in which computers were tools to sharpen the human intellectual edge needed to solve the world’s problem, and he set out to invent systems to allow that. Reading a Twitter feed or scanning YouTube comments, one can argue with how well Engelbart’s vision worked out, but there’s no arguing with the fact that he invented almost all the trappings of modern human-computer interaction, and bestowed it upon the world in one massive demonstration that became known as “The Mother of All Demos.”

Continue reading “The Mother Of All Demos, 50 Years On”

2600-Inspired Handheld Brings The Faux Woodgrain

The Atari 2600 is a console from a very different time, when home appliances, furniture, and even automobiles were all covered in fake vinyl woodgrain veneer. Somehow it was the in thing for a decade, and then immediately became tacky overnight. Regardless, if you want to evoke the era, that’s what you do – and that’s exactly what [Christian] did with this handheld RetroPie build.

An early concept sketch shows off [Christian]’s art skills.
The technical side of things is fairly routine in these parts – a Pi Zero runs RetroPie so you can play emulated games from the mid-90s and earlier. It’s the visual presentation that we particularly enjoy. The look of the early Atari is evoked through clever use of materials. The body is in black plastic, with blocky red buttons for controls. It’s finished with a vinyl woodgrain applique around the screen, and we think it’s a wonderful aesthetic.

The files to print your own are available on Thingiverse, and [Christian] has provided a basic guide to sourcing similar parts. It’s all common stuff, readily available on eBay or elsewhere.

We love seeing retro throwbacks like this – the tiny Macintosh Plus from the 2017 Superconference is a particular highlight.

Compiling NodeMCU For The ESP32 With Support For Public-Private Key Encryption

When I began programming microcontrollers in 2003, I had picked up the Atmel STK-500 and learned assembler for their ATtiny and ATmega lines. At the time I thought it was great – the emulator and development boards were good, and I could add a microcontroller permanently to a project for a dollar. Then the ESP8266 came out.

I was pretty blown away by its features, switched platforms, except for timing-sensitive applications, and it’s been my chip of choice for a few years. A short while ago, a friend gave me an ESP32, the much faster, dual core version of the ESP8266. As I rarely used much of the computing power on the ESP8266, none of the features looked like game changers, and it remained a ‘desk ornament’ for a while.

About seven weeks ago, support for the libSodium Elliptic Curve Cryptography library was added. Cryptography is not the strongest feature of IoT devices, and some of the methods I’ve used on the ESP8266 were less than ideal. Being able to more easily perform public-private key encryption would be enough for me to consider switching hardware for some projects.

However, my preferred automated build tool for NodeMCU wasn’t available on the ESP32 yet. Compiling the firmware was required – this turned out to be a surprisingly user-friendly experience, so I thought I’d share it with you. If I had known it would be so quick, this chip wouldn’t have sat on my desk unused quite so long!  Continue reading “Compiling NodeMCU For The ESP32 With Support For Public-Private Key Encryption”

A Practical Portable Wii Emerges From The Memes

A few months ago, [Shank] built what will almost certainly go down in history as the world’s smallest portable Nintendo Wii. As it turns out, the Wii motherboard is home to a lot of unnecessary hardware, and with a careful hand and an eye for detail, it’s possible to physically cut it down to a much smaller unit; allowing this particularly tenacious hacker to put an actual Wii, along with everything else required to make it portable, into an Altoids tin.

As you might expect, between the cramped controls, comically short battery life, and the fact that the whole thing got hot to the touch during use, it was a miserable excuse for a portable console. But the incredible response the project received inspired [Shank] to dust off an earlier project: a far more practical portable Wii that he calls PiiWii. This time around the handheld is a more reasonable size, a useful battery life, and proper controls. It even has an integrated “Sensor Bar” so you can use real Wii Remotes with it. It might not be the prettiest portable console conversion we’ve ever seen, but it certainly ranks up there as one of the most complete.

[Shank] actually “finished” the PiiWii some time ago, but in his rush to complete the project he got a little overzealous with the hot glue and ended up with a device that was difficult to diagnose and fix when things started to go wrong. He shelved the project and moved on to his Altoids tin build, which helped him refine his Wii shrinking skills. With a clearer head and some more practical experience under his belt, the PiiWii was revamped and is clearly all the better for it.

Unlike previous Wii portables we’ve seen, there’s no attempt at adding GameCube controller ports or video out capability. It’s built to be a purely handheld system, and that focus has delivered a system that’s roughly the size of the original Game Boy Advance. Beyond the cleverly sliced Wii motherboard, the inside of the PiiWii features a 3.5 inch display, a custom designed audio amplifier PCB, four 3400 mAh cells which deliver a run time of around four hours, a 3DS “slider” analog stick, and a generous helping of Kapton tape in place of hot glue.

If there’s any criticism of the PiiWii, it’s likely going to be about the system’s boxy exterior. But as [Shank] explains, there’s an excellent reason for that: it’s literally built into a project box. He simply took a commercially available ABS project box, the Polycase SL 57, and made all his openings on the front with a laser cutter. Other than the fact taking a laser to ABS releases hydrogen cyanide, he found it a good way to quickly knock out a custom enclosure.

Last year we took a look his ridiculously small Altoids tin Wii, and while that was an impressive project to be sure, we’re glad he revisited the PiiWii and showed that a portable Wii can be more than just a novelty. Compared to other systems, the Wii doesn’t seem to get the portable treatment that often, so we’re always glad to see somebody come in and do the concept justice.

Continue reading “A Practical Portable Wii Emerges From The Memes”

An Easy Way To MIDI Sync Your Eurorack Build

Eurorack synthesizer builds are known for a lot of things; simplicity isn’t necessarily one of them. However, not everything on a modular synthesizer build has to be inordinately complicated, a mess of wires, or difficult to understand. [little-scale] has built a neat and tidy module that might just find a place in your setup – the Chromatic Drum Gate Sync. The handy little device is based on a Teensy, and uses its USB MIDI libraries to make synchronizing hardware a snap.

The device has 12 channels, each responding to a single MIDI note. A note on message is used to set a gate high, and a note off message to set it low again. This allows very fine grained control of gates in a modular setup. The device can also output a variety of sync signals controlled by the USB MIDI clock – useful for keeping your modular rack in time with other digitally controlled synths.

It’s a build that espouses [little-scale]’s usual aesthetic – clean and tidy, with a focus on compactness. All the required details to build your own are available on Github.

We’ve seen the collision of [little-scale] and Teensy hardware before – with this rig playing 8 SEGA soundchips in unison.

DIY Ribbon Element Upgrades A Studio Microphone

For those with some experience with pro audio, the term “ribbon microphone” tends to conjure up an image of one of those big, chunky mics from the Golden Age of radio, the kind adorned with the station’s callsign and crooned into by the latest heartthrob dreamboat singer. This DIY ribbon mic is none of those things, but it’s still really cool.

Of course the ribbon mic isn’t always huge, and the technology behind it is far from obsolete. [Frank Olsen]’s ribbon mic starts out with gutting a run-of-the-mill studio mic of its element, leaving only the body and connector behind. The element that he constructs, mostly from small scraps of aluminum and blocks of acrylic, looks very much like the ribbon element in commercial mics: a pair of magnets with a thin, corrugated strip of foil suspended between them. The foil was corrugated by passing it through a jig that [Frank] built, which is a neat tool, but he says that a paper crimper used for crafting would work too. There’s some pretty fussy work behind the cartridge build, but everything went together and fit nicely in the old mic body. The video below was narrated using the mic, so we know it works.

Fun fact: the ribbon microphone was invented by Walter Schottky. That Walter Schottky. Need more on how these mics work? Our colleague [Al Williams] has you covered with this article on the basics.

Continue reading “DIY Ribbon Element Upgrades A Studio Microphone”