Why Some Chips Have Inconvenient Pinouts

If you’ve ever handled a chip with a really strange or highly inconvenient pinout and suspected that the reason had something to do with the inner workings, you may be interested to see [electronupdate]’s analysis of why the 4017 Decade Counter IC has such a weirdly nonintuitive pinout. It peeks into an IC design dating from the 1970s to see an example of the kind of design issues that can affect physical layout.

Inside the 4017. Want to make sense of how lines and shapes on a silicon wafer make an IC work? With the right teachers, it’s simple.

In the case of the 4017, once decapped and the inner workings exposed, things became more clear. Inside the chip are a bunch of flip-flops and NAND gates, laid out in a single layer. Some of the outputs (outputs 5 and 1 for example, physically on pins 1 and 2 respectively) share the same flip-flop.

The original design placed the elements in a way that made the most logical sense for routing and layout, which resulted in nice and tidy inner workings but an apparently illogical pinout. A lot of this is probably feeling familiar to anyone who has designed and routed a single-layer PCB, where being limited to one layer makes it important to get the most connections as directly near one another as possible.

Chip design has of course come a long way since the 70s, but there is forever some level of trade-off to be made between outward tidiness and inner design harmony. The next time you’re looking at a part with an apparently illogical pinout, there’s a fair chance it makes far more sense on the inside.

If any of you are interested in decapping ICs yourselves to see what’s inside, we saw that it’s possible with commonly available chemicals, not just nasty ones.

Continue reading “Why Some Chips Have Inconvenient Pinouts”

A Little Rewiring Teaches A Creality Ender 3 New Tricks

The Creality Ender 3 is part of the new wave of budget 3D printers, available for less than $250 from many online retailers. For the money, it’s hard to complain about the machine, and it’s more than suitable for anyone looking to get make their first steps into the world of FDM printing. But there’s certainly room for improvement, and as [Simon] shows in a recent blog post, a little effort can go a long way towards pushing this entry-level printer to the next level.

The first step was to replace the printer’s stepper drivers with something a bit more modern. Normally the Ender 3 uses common A4988 drivers, but [Simon] wanted to replace them with newer Trinamic drivers that offer quieter operation. Luckily, Trinamic makes a drop-in replacement for the A4988 that makes installation relatively easy. You’ll need to change out a few caps and remove some resistors from the board to make everyone play nice, but that shouldn’t pose a challenge to anyone who knows their way around a soldering iron.

Beyond quieter running steppers, the Trinamic TMC2208 drivers also offer direct UART control mode. Of course the Ender’s board was never designed for this, so the MCU doesn’t have enough free pins to establish serial communications with the three drivers (for the X, Y, and Z axes). But [Simon] realized if he sacrificed the SD card slot on the board, the six pins that would free on the controller could be cut and rewired to the driver’s UART pins.

Combined with the Klipper firmware, these relatively minor modifications allows him to experiment with printing at speeds far greater than what was possible before. Considering the kind of headaches that a ~$200 printer would have given you only a few years ago, it’s impressive what these new machines are capable of; even if it takes a few tweaks.

HackIt: Why Aren’t We Hacking On The LED Printer?

Strings of LEDs are a staple of the type of project we see here at Hackaday, with addressable devices such as the WS2812 in particular having changed beyond recognition what is possible on a reasonable budget. They’ve appeared in all kinds of projects, but are perhaps most memorable when used in imaging projects such as screen-like arrays or persistence-of-vision systems. There’s another addressable LED product that we haven’t seen here, which is quite a surprise considering that it can be found with relative ease in junk piles and has been on the market for decades. We’re talking about the LED printer, and the addressable LED product in question is a very high density array of LEDs the width of a page, designed to place an image of the page to be printed on the toner transfer drum.

Continue reading “HackIt: Why Aren’t We Hacking On The LED Printer?”

A Barn Find 6502 Is Restored

The phrase “Barn find” is normally associated with the world of older cars, where enthusiasts live in the hope that they may one day stumble upon a dusty supercar lurking unloved for decades on a remote farm. It’s not so often found in the context of electronics, but that’s the phrase that [John Culver] uses for a mid-1970s Atari arcade board that had been through a very hard time indeed and was in part coated with cow dung. It’s interesting because it sports a very early example of a MOS 6502 in a ceramic package, whose date code tells us was manufactured in week 22 of 1976.

Finding a microprocessor, even a slightly rare one, is not that great an event in itself. What makes this one interesting is the state it was in when he got it, and the steps he used to retrieve it from the board without it sustaining damage, and then to clean it up and remove accumulated rust on its pins. We are fast approaching a point at which older microprocessors become artifacts rather than mere components, and it’s likely that more than one of us with an interest in such things may one day have to acquire those skills.

We’re rewarded at the end with a picture of the classic chip passing tests with flying colours, and the interesting quirk that this is a chip with the famous rotate right bug that affected early 6502s. If you are interested in the 6502 then you should definitely read our colleague [Bil Herd]’s tribute to its recently-departed designer, [Chuck Peddle].

A Tiny USB Hub For All Your Hardware Modding Needs

Going all the way hack to the heady days of Eee PC modding, hardware hackers have been on the hunt for small USB hubs that can easily be liberated from their enclosures and integrated into whatever project they happen to be working on. From time to time you see recommendations out there for makes and models which lend themselves to this sort of repurposing, but it’s seemed more difficult than necessary to source such a basic component.

Which is why [RETROCUTION] has developed a USB hub that’s not only extremely small, but relatively easy to assemble with only six components. Plus best of all, they are dirt cheap.

When you add up the cost of getting the PCBs made and buying all the SMD components, the per-unit price of these hubs is only going to be a few dollars. If you’ve got what it takes to make the PCBs in-house, even better. Considering how much easier these things could make other projects, it seems more than worth the upfront cost.

The star of the show is the FE1.1s, a four port USB 2.0 controller in a SSOP-28 package. As of this writing, it goes for about 25 cents from the usual overseas sources (even less, for larger orders). Add to the mix a few 10 μF ceramic capacitors, a 2.7 kΩ resistor, and a 12 MHz crystal.

There’s no provision for actual USB ports in the design, but they would just take up space anyway; this hub is intended to be directly soldered to the other devices. Incidentally, to reduce the number of traces and pads on the PCB, there aren’t power lines for the downstream devices either. So you’ll need to power them separately.

The passives are 0603, but the crystal is a good old fashioned through-hole component. [RETROCUTION] assembles the boards with a solder paste stencil and a hot air station, but if you’ve got a little practice, it’s certainly something you could do with an iron. With such a straightforward design, you could build a lifetime supply of these itty-bitty hubs in an afternoon. That’s certainly our plan, anyway.

Continue reading “A Tiny USB Hub For All Your Hardware Modding Needs”

Light The Way To Every Component

How do you organize your stock of components and modules? If an unruly pile of anti-static bags and envelopes from China stuffed into a cardboard box sounds familiar, then you need help from [Dimitris Tassopoulos]. He’s organized his parts into drawers and created a database, then linked it via an ESP8266 and a string of addressable LEDs to light up the individual drawer in which any given component resides. It’s a genius idea, as you can see in action in the video below the break.

Behind the scenes is a web server sitting atop an SQL database, with a PHP front end. It’s running on a Banana Pi board, but it could just as easily be running on any other similar SBC. The ESP8266 has a REST API to which the webserver connects when a component is sought, and from that it knows which LED to light.

The LED strip is not the tape with which most readers will be familiar, but a string of the type we might be more used to as Christmas lights. These have a 100mm spacing between LEDs, allowing them to be easily positioned behind each drawer. The result is a very effective parts inventory system. We’re not entirely sure that it would entirely banish the tide of anti-static bags here, but we’re impressed nevertheless.

Continue reading “Light The Way To Every Component”

New Part Day: LED Driver Is FPGA Dev Board In Disguise

Our new part of the day is the ColorLight 5A-75B, a board that’s meant to drive eight of those ubiquitous high-density color LED panels over gigabit Ethernet. If you were building a commercial LED wall, you’d screw a bunch of the LED panels together, daisy-chain a bunch of these boards to drive them, supply power, and you’d be done. Because of that high-volume application, these boards are inexpensive, around $15 each, and available as quickly as you can get stuff shipped from China.

But we’re not here to talk commercial applications. Managing fast Ethernet and pushing so many pixels in real time is a task best handled by an FPGA, and [Tom Verbeure] noticed that these things were essentially amazing FPGA development boards and started hacking on them. [q3k] put it up on GitHub, and you can follow along with the chubby75 reverse engineering project to dig into their secrets.

While the first generations of these boards used the old-standby Spartan 6, things got interesting for fans of open FPGA tools when newer versions were found using the Lattice ECP5-25 chips, the little brother of the stonking big chip [Sprite_TM] used on the 2019 Hackaday Supercon badge. If you want to grab one you’re looking for ColorLight boards marked with revision 6 or 7 as of this writing.

What does this mean? For the price of a gourmet hamburger, you get an FPGA that’s big enough to run a RISC-V softcore, two 166 MHz, 2 MB SDRAMS, flash for the FPGA bitstream, a bazillion digital outputs on 5 V level shifters, and two gigabit Ethernet ports. The JTAG port is broken out in 0.1″ headers, and it works with OpenOCD, which is ridiculously convenient. How’s that for a well-stocked budget FPGA dev board that’s served by a completely open toolchain? Continue reading “New Part Day: LED Driver Is FPGA Dev Board In Disguise”