Fewer Millimeters Make A Useful ESP32 Devboard

Sometimes the most useful hacks aren’t the flashiest, they’re the ones that improve an already great tool and make something better. Through hole components are still the fastest and perhaps most satisfying way to prototype a new electronics project so it’s extra frustrating when the happy hacker discovers their new devboard is too wide to fit in a standard breadboard. [Tobias] had the same thought and redesigned the standard ESP32 “NodeMCU” style devboard to be almost exactly the same, but narrower.

Interactive BOMs make assembly a snap

Not to trivialize, but that’s pretty much it. And we love it! The new design retains the great support of the original devboard but adds a few nice tweaks. Obviously there’s the small size change that allows it to fit on a standard 5×5 breadboard leaving sockets available on either side for interfacing. Even in this smaller size [Tobias] managed to retain the boot mode and reset buttons though the overall pinout has changed slightly. And for easier connections ye olde micro USB socket has been swapped for sleek modern USB-C. You have cables for that common standard now, right?

How do you get one? As far as we know [Tobias] isn’t selling these but the design is completely open source and the design, fab, and BOM files are all in the github repository. [Tobias] even went so far as to include the extremely handy interactive BOM to speed up hand assembly. The real trick here is that the board is designed to facilitate the extremely inexpensive turnkey assembly now available from our favorite fab houses, with an example cost of $8/piece for a run of five. The repo includes a properly formatted BOM and fab files to make ordering them a snap. See the bottom of the README for details about what to order.

A Low-Cost Current Probe For IoT Applications

When it comes to the Internet of Things, many devices run off batteries, solar power, or other limited sources of electricity. This means that low power consumption is key to success. However, often these circuits draw relatively small currents that are difficult to measure, with plenty of transient current draw from their RF circuits. To effectively measure these low current draws, [Refik Hadzialic] built a cheap but accurate current probe.

The probe consists of a low value resistor of just 0.1 Ω, acting as a current shunt in series with the desired load. By measuring the voltage drop across this known resistor, it’s possible to calculate the current draw of the circuit.

However, the voltage drop is incredibly small for low current draws, so some amplification is needed. [Refik] does a great job of explaining his selection process, going deep into the maths involved to get the gain and part choice just right. The INA128P instrumentation amplifier from Texas Instruments was chosen, thanks to its good Common Mode Rejection Ratio (CMRR) and gain bandwidth.

The final circuit performs well, competing admirably with the popular uCurrent Gold measurement tool. While less feature-packed, [Refik]’s circuit appears to perform better in the noise stakes, likely due to the great CMRR rating of the TI part. It’s a great example of how the DIY approach can net solid results over and above simply buying something off the shelf.

Current sensing is a key skill to have in your toolbox, and can even help solve laundry disputes. Video after the break.

Continue reading “A Low-Cost Current Probe For IoT Applications”

384 Neon Bulbs Become Attractive Display

Neon lights have inspired much prose over the years, with their attractive light output receiving glowing adulation. [Pierre Muth] is a big fan, and decided to spend lockdown creating something suitably pretty for his desk.

An 8×8 segment of the total panel. The display draws 40W at 5V with all pixels on at the same time.

The project consists of an 8×48 matrix display constructed out of INS-1 (ИНC-1) tubes. These tiny neon tubes are 6.5 mm in diameter, showing a bright orange dot of light when powered up. Requiring just 100 V and 0.5 mA to light, they’re a touch easier to drive than the famous Nixie.

[Pierre] decided to go all out, wishing to replicate the capabilities of smart LEDs like the WS2812. These contain a microcontroller built in to each LED, so [Pierre] would have to do the same. Each of the 384 neon tubes got its own bespoke PCB, containing a PIC16F15313 microcontroller, step up voltage circuitry, and a 6-pin connector. (Whoah!) When each bulb was soldered to its PCB, they were then plugged into a backplane. An ESP32 was then employed to drive the display as a whole.

Creating a display in this fashion takes a huge amount of work, with most of it being soldering the 384 individual bulb PCBs containing 11 components each. We have a lot of respect for [Pierre]’s work ethic to get this done during lockdown, and the final result is a gloriously retro neon matrix display. We’ve featured other neon matrixes recently, too. Video after the break. Continue reading “384 Neon Bulbs Become Attractive Display”

Tiny Ethernet Switch Gets Even Smaller

As a project gets more complicated, some kind of internal communication network is often used to that all of the various modules and sensors can talk with each other. For hardware hackers like us, that usually means SPI, I2C, or maybe even good old fashioned UART. But if you’re pushing a lot of data around, like live video feeds from multiple cameras, you’ll need something a bit faster than that.

Which is why [Josh Elijah] has created the SwitchBlox Nano, a three port 10/100 Ethernet switch that fits on a one inch square PCB. All you need to do is provide it with power, with a generous input range of 5 to 50 volts, connect your devices to the Molex Picoblade connectors on the board, and away you go. There’s even a 5 V 1 A regulated output you can use to run your downstream devices.

If you’ve got a feeling that you’ve seen something very similar on these pages earlier in the year, you’re not imagining things. Back in April we covered the original five port SwitchBlox in a post that garnered quite a bit of attention. In fact, [Josh] tells us that the design of this new switch was driven largely by the feedback he got from Hackaday readers. The Nano is not only smaller and cheaper than the original, but now maintains full electrical isolation between each port.

The average Hackaday reader is as knowledgeable as they are opinionated, and we’re glad [Josh] was able to put the feedback he received to practical use. We’re proud that our community has had a hand in refining successful commercial products like the Arduboy handheld game system and the Mooltipass hardware password keeper. Now it looks like we can add a tiny Ethernet switch to the list of gadgets we’ve helped push up the hill. Maybe we should get a stamp or something…

Clacker Hacker: Hot Rod Switch Mods

Whether you’re a programmer, gamer, writer, or data entry specialist, the keyboard is an extension of your nervous system. It’s not so much a tool as it is a medium for flow — for being in the zone. So I think it’s only natural that you should care deeply about your keyboard — how it looks, how it sounds, and above all, how it feels to finger-punch those helmeted little switches all the live-long day. That’s my excuse, anyway.

It might surprise you that mechanical keyboard switches can be modified in a number of ways. Depending on what you want from your keyboarding experience, you can make switches feel lighter or less scratchy, quiet them down, or tighten up any wobble in the housing. Why would you want to do this? Because customization is fun. Because electromechanical things are awesome, and because it’s fun to take switches apart and put them back together again. Because it’s literally hacking and this is Hackaday.

This is a pair of plates from a macro keeb I’m making that will sit directly in front of my trackball.

I got into switch modding because I wanted to put Cherry clears in my dactyl, but worried that they would take too much force to actuate and wear my fingers out. So I bought some really light (39g) springs and was really looking forward to swapping them into the clears, but they just don’t work. Like, physically. Slider goes down, slider gets stuck. It will come back up, but only if I hit it again and smear my finger to the side a bit at the same time. Those springs must be too weak to return clear sliders.

I took this as a sign that I should suck it up and use browns instead. After all, no one else has to know what my sliders look like. While I was opening switches, I tried out one of these super-light springs in a brown, thinking maybe they wouldn’t have to go to waste. Not only did the lighter spring work in the brown, it felt pretty nice. It’s hard to imagine how a whole keeb would feel based on a single switch, but if you can gather a handful and snap them into a plate to riffle your fingers over them, well, it’s probably close enough to a full keyboard to get a good feel for whatever mod you’re doing.

Continue reading “Clacker Hacker: Hot Rod Switch Mods”

Grok The Z80 With This Simulator

Many of us will have at some point encountered a Z80 microprocessor, whether we’ve bare-metal programmed for it, or simply had a go at blasting some invaders on a game system using one. Like all the processors of its era, it’s got a relatively simple and accessible internal block diagram, so there’s a good chance that readers well even know how it works, too. But do any of know how it really works, down to the gate, transistor, and net level? [Goran] does, because he’s written a Z80 netlist simulator that allows the running of code alongside the examination of the chip and its signals. It’s not particularly fast, achieving a modest 2.3kHz clock speed when run of a fairly high-end PC, but we’re guessing readers needing to run Z80 code for anything other than learning would use the real thing anyway.

There’s a video of the software in operation which we’ve placed below the break, and we can see it will be a fascinating tool even to people who aren’t dedicated reverse engineers. To be able to bring up a logic analyzer view of the internals of a processor while it is in operation is truly astounding if you are used to it as a black box, and to have logic diagrams at your fingertips rather than puzzling out individual transistors really gives a window into what is going on.

This isn’t the only such simulator out there, in the past we’ve mentioned Visual6502, when we covered the Monster 6502.

Continue reading “Grok The Z80 With This Simulator”

Digging Deep Into SD Card Secrets

To some, an SD card is simply an SD card, notable only for the amount of storage it provides as printed on the label. However, just like poets, SD cards contain multitudes. [Jason Gin] was interested as to what made SanDisk’s High Endurance line of microSDXC cards tick, so he set out to investigate.

Naturally, customer service was of no help. Instead, [Jason] started by scraping away the epoxy covering which hides the card’s test points. Some delicate soldering was required to hook up the test points to a breakout board, while also connecting the SD interface to a computer to do its thing. A DS Logic Plus signal analyzer was used to pick apart the signals going to the chip to figure out what was going on inside.

After probing around, [Jason] was able to pull out the NAND Flash ID, which, when compared to a Toshiba datasheet, indicates the card uses BiCS3 3D TLC NAND Flash. 3D NAND Flash has several benefits over traditional planar Flash technology, and SanDisk might have saved [Jason] a lot of time investigating if they’d simply placed this in their promotional material.

We’ve seen other similar hacks before, like this data recovery performed via test points. If you’ve been working away on SD cards in your own workshop, be sure to let us know!