An Arduino Nano Clone In A DIP-Sized Footprint

Nobody doubts the utility of the Arduino Nano and its many clones, and chances are good you’ve got at least one or two of the tiny dev boards within arm’s reach right now. But as small as it is, the board still takes up a fair amount of real estate, especially on solderless breadboards during the prototyping phase of a project. Wouldn’t it be nice to shrink down the Nano just a bit and regain a couple of rows for plugging in components and jumpers?

It looks like [Albert van Dalen] thought so, and he managed to get a Nano’s functionality — and then some — onto a DIP-26 footprint. The aptly named “Nano DIP,” which at 33 mm x 10 mm — about the same size as the ATmega328 on the Arduino Uno — will tickle the miniaturization fans out there. The board is built around an ATtiny3217 and has almost all of the Nano’s features, like a USB port, reset button, built-in LEDs, 5 V regulator, and preloaded bootloader. Its big extra feature is the 350-kilosamples-per-second 8-bit DAC, while sacrificing external crystal pins and a 3.3 V regulator.

To make the board cheap enough to manufacture, [Albert] elected a minimum component size of 0402, which made squeezing all the parts onto the board challenging. The MCU barely fits between the header pin pads, and the Micro USB jack had to be a vertical-mount type. It does the business, though, so if you’re looking to free up a little breadboard space, check it out.

Broken Lens Provides Deep Dive Into Camera Repair

While most of us are probably willing to pick up the tools and void the warranty on just about anything, often just to see what’s inside, many of us draw the line at camera gear. The tiny screws, the complex mechanisms, and the easily destroyed optical elements are all enough to scare off the average hacker. Not so for [Anthony Kouttron], who tore into a broken eBay Sigma lens and got it working again.

Now, to be fair, modern lenses tend to have a lot more in them that’s amenable to repair than back in the old days. And it seemed from the get-go that [Anthony]’s repair was going to be more electronic than optical or mechanical. The 45-mm lens was in fantastic shape physically, but wouldn’t respond to any controls when mounted to a camera body. Removing the lens bayonet mount exposed the main controller PCB, which is tightly packed with SMD components and connectors for the flex cables that burrow further into the lens to its many sensors and actuators. By probing traces with his multimeter, [Anthony] found a DC-DC converter on the main PCB with an unknown component nearby. This turned out to be an SMD fuse, and as luck would have it, it was open. Replacing the fuse got the lens working again, and while there’s always the nagging suspicion that whatever blew the fuse the first time could happen again, the repair seems to have worked.

Despite the simplicity of the fix, [Anthony] continued the teardown and shared a lot of tips and tricks for lens repairs, including where he would have looked next if the fuse had been good. One tip we loved was the use of double-sided tape to organize parts as they’re removed; this is particularly important with camera gear where screws or different lengths can make for a really bad day on reassembly.

Feeling the need to dive deeper into lens repair? This step-by-step repair should keep you satisfied.

Soldering The Elusive USB C Port

Many SMD components, including some USB C ports, have their terminals under the component. When installed, the pins are totally hidden. So, how do you solder or unsolder them? That’s the problem [Learn Electronics Repair] encountered when fixing a Lenovo Yoga, and he shows us his solution in the video below.

He showed the removal in a previous video, but removal is a bit easier since you can just heat up the area, yank the connector, and then clean up the resulting mess at your leisure. Installation is harder because once the socket is down, you no longer have access to the pads.

Continue reading “Soldering The Elusive USB C Port”

Hackaday Links Column Banner

Hackaday Links: March 31, 2024

Battlelines are being drawn in Canada over the lowly Flipper Zero, a device seen by some as an existential threat to motor vehicle owners across the Great White North. The story started a month or so ago, when someone in the government floated the idea of banning devices that could be “used to steal vehicles by copying the wireless signals for remote keyless entry.” The Flipper Zero was singled out as an example of such a nefarious device, even though relatively few vehicles on the road today can be boosted using the simple replay attack that a Flipper is capable of, and the ones that are vulnerable to this attack aren’t all that desirable — apologies to the 1993 Camry, of course. With that threat hanging in the air, the folks over at Flipper Devices started a Change.org petition to educate people about the misperceptions surrounding the Flipper Zero’s capabilities, and to urge the Canadian government to reconsider their position on devices intended to explore the RF spectrum. That last bit is important, since transmit-capable SDR devices like the HackRF could fall afoul of a broad interpretation of the proposed ban; heck, even a receive-only SDR dongle might be construed as a restricted device. We’re generally not much for petitions, but this case might represent an exception. “First they came for the Flipper Zero, but I did nothing because I don’t have a Flipper Zero…”

Continue reading “Hackaday Links: March 31, 2024”

A 555-Shaped Discrete Component 555

While the “should have used a 555” meme is strong around these parts, we absolutely agree with [Kelvin Brammer]’s decision to make this 555-shaped plug-in replacement for the 555 timer chip using discrete parts, rather than just a boring old chip.

As [Kelvin] relates, this project started a while back as an attempt to both learn EDA and teach students about the inner workings of the venerable timer chip. The result was a 555-equivalent circuit on a through-hole PCB, with the components nicely laid out into the IC’s functional blocks. As a bonus, the PCB was attached to an 8-pin header which could be plugged right in as a direct replacement for the chip.

Fast forward a few years, and [Kelvin] needed to learn yet another EDA package; what better way than to repeat the 555 project? It was also a good time to step into SMD design, as well as add a little zazzle. While the updated circuit isn’t as illustrative of the internal arrangement of the 555, the visual celebration of the “triple nickel” is more than worth it. And, just like the earlier version, this one has a header so you can just plug and chug — with style.

Want to know how the 555 came to be? We’ve covered that. You can also look at some basic 555 circuits to put your 555-shaped 555 to work. We’ve even seen a vacuum tube 555 if that’s more your thing.

LED Matrix Earrings Show Off SMD Skills

We’ll be honest with you: we’re not sure if the use of “LED stud” in [mitxela]’s new project refers to the incomprehensibly tiny LED matrix earrings he made, or to himself for attempting the build. We’re leaning toward the latter, but both seem equally likely.

This build is sort of a mash-up of two recent [mitxela] projects — his LED industrial piercing, which contributes the concept of light-up jewelry in general as well as the power supply and enclosure, and his tiny volumetric persistence-of-vision display, which inspired the (greatly downsized) LED matrix. The matrix is the star of the show, coming in at only 9 mm in diameter and adorned with 0201 LEDs, 52 in total on a 1 mm pitch. Rather than incur the budget-busting expense of a high-density PCB with many layers and lots of blind vias, [mitexla] came up with a clever workaround: two separate boards, one for the LEDs and one for everything else. The boards were soldered together first and then populated with the LEDs (via a pick-and-place machine, mercifully) and the CH32V003 microcontroller before being wired to the power source and set in the stud.

Even though most of us will probably never attempt a build on this scale, there are still quite a few clever hacks on display here. Our favorite is the micro-soldering iron [mitxela] whipped up to repair one LED that went missing from the array. He simply wrapped a length of 21-gauge solid copper wire around his iron’s tip and shaped a tiny chisel point into it with a file. We’ll be keeping that one in mind for the future.

Continue reading “LED Matrix Earrings Show Off SMD Skills”

Pimp My Pot Redux, Now Cheaper And Even Better

If there’s one thing we like around here more than seeing an improved version of a project we’ve already covered, it’s when the improvements make the original project cheaper. In the case of this LED ring light for pots and encoders, not only is it cheaper than its predecessors, it’s better looking and easier to integrate into your projects.

Right from its start, [upir]’s “Pimp My Pot” project has been all about bringing some zazzle to rotary controls. Knobs with a pointer and a scale on the panel are okay — especially when they go to eleven — but more lights mean more fun. The fun comes at a price, though; the previous version of “PMP” used an off-the-shelf LED ring light with a unit cost of about $10. Not the end of the world, perhaps, but prohibitive, and besides, where’s the fun in just buying a component specifically made for rotary control indication?

The new version shown in the video below is pin-compatible with the driver board [upir] used for the previous version, which is based on the MAX7219 display driver. Modifying the previous board to accommodate 32 white 0402 LEDs over a 270° arc was no mean feat. [upir] covers both creating the schematic and the PCB layout in some detail, providing his usual trove of tool-chain tips for minimizing the amount of manual work needed.

Wisely, [upir] chose to get his boards assembled by the vendor; getting all those LEDs to line up perfectly is a job best left to the robots. While the board is designed for use with pots that mount on either side, we much prefer mounting the pot’s shaft through the board, as it keeps the LEDs closer to the knob. The final price per board works out to about $6.30 in quantities of ten and falls to a trivial $1.70 each for lots of 1,000. Pretty sweet savings on a pretty sweet-looking build.

This is a cool use of a ring of LEDs, but if you prefer the finger kind, you can make that, too. You can do it the easy way or the hard way.

Continue reading “Pimp My Pot Redux, Now Cheaper And Even Better”