Stress-Testing An Arduino’s EEPROM

Every time one of us flashes an Arduino’s internal memory, a nagging thought in the backs of our minds reminds us that, although everything in life is impermanent, nonvolatile re-writable memory is even more temporary. With a fixed number of writes until any EEPROM module fails, are we wasting writes every time we upload code with a mistake? The short answer is that most of us shouldn’t really be concerned with this unless we do what [AnotherMaker] has done and continually write data until the memory in an Arduino finally fails.

The software for this is fairly simple. He simply writes the first 256 ints with all zeros, reads them to make sure they are all there, and then repeats the process with ones. After iterating this for literally millions of times continuously over the course of about a month he was finally able to get his first read failure. Further writes past this point only accelerated the demise of the memory module. With this method he was able to get nearly three million writes before the device failed, which is far beyond the tens or hundreds of thousands typically estimated for a device of this type.

To prove this wasn’t an outlier, [AnotherMaker] repeated the test, and did a few others while writing to a much smaller amount of memory. With this he was able to push the number of cycles to over five million. Assuming the Arduino Nano clone isn’t using an amazingly high-quality EEPROM we can safely assume that most of us have nothing to worry about and our Arduinos will be functional for decades to come. Unless a bad Windows driver accidentally bricks your device.

Continue reading “Stress-Testing An Arduino’s EEPROM”

A six digit Nixie clock on a desktop

Upcycled Nixie Clock Fit For A Friend

Building a clock from parts is a rite of passage for makers, and often represents a sensible introduction into the world of electronics. It’s also hard to beat the warm glow of Nixie tubes in a desktop clock, as [Joshua Coleman] discovered when building a Nixie tube clock for a friend.

The original decision to upcycle the chassis from an unrepairable Heathkit function generator came a little undone after some misaligned cutting, so the front panel ended up being redesigned and 3D printed. This ended up being serendipitous, as the redesigned front panel allowed the Nixie tubes to be inset within the metal chassis. This effect looks great, and it also better protects the tubes from impact damage.

Sourcing clones of the 74141 Nixie driver ICs ended up being easier than anticipated, and the rest of the electronics came together quickly. The decoders are driven by an Arduino, and the IN-4 Nixie tubes are powered by a bespoke 170 volt DC power supply.

Unfortunately four of the tubes were damaged during installation, however replacements were readily available online. The gorgeous IN-4 Nixie tube has a reputation for breaking easily, but is priced accordingly on auction sites and relatively easy to source.

The build video after the break should get any aspiring Nixie clock makers started, but the video description is also full of extra information and links for those needing help getting started.

We’re not short on clock hacks here at Hackaday, so why not check out a couple more? This retro-inspired LED clock looks like its right out of a parallel universe, or maybe this stunning Nixie clock driven by relays will strike your fancy.

Continue reading “Upcycled Nixie Clock Fit For A Friend”

Custom Macro Keyboard With Sweet Backlighting

From the smallest 60% keyboards for those with no desk space to keyboards with number pads for those doing data entry all day, there’s a keyboard size and shape for just about everyone. The only problem, even with the largest keyboards, is that they’re still fairly limited in what they can do. If you find yourself wishing for even more functionality, you might want to build something like this custom macro keyboard with built-in LED backlighting.

Rather than go with a standard mechanical keyboard switch like a Cherry MX, this build is based around TS26-2 pushbuttons with built-in LED lighting. [atkaper] only really needed one button for managing the mute button on MS Teams, but still built a total of eight switches into this keyboard which can all be individually programmed with different functions. The controller is an Arduino Leonardo and the enclosure was 3D printed.

Paired with the classic IBM Model M keyboard, this new macro keyboard adds plenty of functionality while also having control over LED backlighting. Macro keyboards are incredibly useful, especially with their ability to easily change function with control over the software that runs on them. The key to most builds is the 32U4 chip found in some Atmel microcontrollers which allows it to easily pass keyboard (and mouse) functionality to any computer its plugged in to.

Accessible Arduino Mouse Helps

We enjoy access to cheap stuff because of the mass market for things like mice, keyboards, and cell phones. But if you need a device that doesn’t have mass appeal, you will have to pay a lot more if you can find it at all. However, with modern techniques like 3D printing and Arduino-like microcontrollers being cheap and simple to use, you now have the option to build that special one-of-a-kind device. Case in point: [Davy’s] mouse for people who have brain or nervous system disorders. This particular device is helping a 6-year-old who can’t manipulate a normal mouse.

The device uses an Arduino Pro and an MPU-6050 accelerometer and gyroscope. The original design uses machined aluminum, but 3D printing should work, too. There’s something wrong with the link to the design files in the post, but it is easy to find the correct link.

Continue reading “Accessible Arduino Mouse Helps”

REMOTICON 2021 // Hal Rodriguez And Sahrye Cohen Combine Couture And Circuitry

[Hal Rodriguez] and [Sahrye Cohen] of Amped Atelier focus on creating interactive wearable garments with some fairly high standards. Every garment must be pretty, and has to either be controllable by the wearer, through a set of sensors, or even by the audience via Bluetooth. Among their past creations are a dress with color sensors and 3D-printed scales on the front that change color, and a flowing pantsuit designed for a dancer using an accelerometer to make light patterns based on her movements.

Conductive Melody — a wearable musical instrument that is the focus of [Sahrye] and [Hal]’s Remoticon 2021 talk — was created for a presentation at Beakerhead Festival, a multi-day STEAM-based gathering in Calgary. [Sahrye] and [Hal] truly joined forces for this one, because [Sahrye] is all about electronics and costuming, and [Hal] is into synths and electronic music. You can see the demo in the video after the break.

The dress’s form is inspired by classical instruments and the types of clothing that they in turn inspired, such as long, generous sleeves for harp players and pianists. So [Hal] and [Sahrye] dreamed up a dress with a single large playable sleeve that hangs down from the mid- and upper arm. The sleeve is covered with laser-cut conductive fabric curlicues that look like a baroque interpretation of harp strings. Play a note by touching one of these traces, and the lights on the front of the dress will move in sync with the music.

[Sahrye] started the dress portion of Conductive Melody with a sketch of the garment’s broad strokes, then painted a more final drawing with lots of detail. Then she made a muslin, which is kind of the breadboard version of a project in garment-making where thin cotton fabric is used to help visualize the end result. Once satisfied with the fit, [Sahrye] then made the final dress out of good fabric. And we mean really good fabric — silk, in this case. Because as [Sahrye] says, if you’re going to make a one-off, why not make as nicely as possible? We can totally get behind that.

[Sahrye] says she is always thinking about how a wearable will be worn, and how it will be washed or otherwise cared for. That sequined and semi-sheer section of the bodice hides the LEDs and their wiring quite well, while still being comfortable for the wearer.

Inside the sleeve is an MPRP121 capacitive touch sensor and an Arduino that controls the LEDs and sends the signals to a Raspberry Pi hidden among the ruffles in the back of the dress.

The Pi is running Piano Genie, which can turn eight inputs into an 88-key piano in real time. When no one is playing the sleeve, the lights have a standby mode of mellow yellows and whites that fade in and out slowly compared to the more upbeat rainbow of musical mode.

We love to see wearable projects — especially such fancy creations! — but we know how finicky they can be. Among the lessons learned by [Sahrye] and [Hal]: don’t make your conductive fabric traces too thin, and silver conductive materials may tarnish irreparably. We just hope they didn’t have to waste too much conductive fabric or that nice blue silk to find this out.

Continue reading “REMOTICON 2021 // Hal Rodriguez And Sahrye Cohen Combine Couture And Circuitry”

A desktop LED implementation of the arcade game Cyclone

Going Around In Circles With Homemade Arcade Classic Cyclone

The classic arcade game Cyclone has attracted many players, along with their coins, thanks to its simple yet addictive gameplay. In its most basic form it consists of a light racing around a circular track, which the player then has to stop at exactly the right place. Arduino enthusiast [mircemk] made a home version of this game, which allows addicts to keep playing forever without running out of quarters.

Instead of an arcade cabinet, this smaller version has an upright 3D-printed ring that holds 60 WS2812 LEDs. A further six in the center of the ring act as a score counter. An Arduino in the base drives the LEDs and runs the game, which is based on an earlier iteration built by [oKeeg]. An interesting addition is a large homemade “arcade button”, which is large and sturdy enough to withstand any abuse inflicted on it by a frustrated player.

Retro-style sound effects and flashing light sequences give the game a bit of an arcade vibe, even without a big cabinet and piles of coins. Simple LED games like this are always great eye-catchers in any home or office; if you like this one, be sure to check out other LED games like the handheld LEDBOY, the one-dimensional dungeon crawler TWANG, and this LED racing game. Continue reading “Going Around In Circles With Homemade Arcade Classic Cyclone

Rotary Phone MIDI Controller Still Makes Calls

[Kevin] has long wanted to do something musical with a vintage rotary phone and an Arduino, and has finally done so and committed the first of several experiments to HTML in a five-part series. He found a nice old British Telecom number, but it had been converted to plug and socket wiring to work on the modern system. Because of this, [Kevin] wanted to keep it completely functional as a phone. After all, it ought to work fine until 2025, when pulse dialing will no longer be supported in [Kevin]’s locality.

As you can likely understand, [Kevin] was keen to interface with the phone from the outside and leave the inside untouched. He used a sacrificial ADSL filter’s PCB to break out the socket, and added a pull-up resistor between the pin and 5 V.

Pretty quickly, [Kevin] figured out that when the phone is on the hook, it gives a constant high signal, where as the picking up the phone presents as a high signal going low, and dialing each number results in pulses of that quantity that alternate between high and low. Continue reading “Rotary Phone MIDI Controller Still Makes Calls”