Everything You Ever Wanted To Know About The ULN2003

The ULN2003 IC is an extremely versatile part, and with the help of [Hulk]’s deep dive, you might just get some new ideas about how to use this part in your own projects.

Each of the seven outputs works like this simplified diagram.

Inside the ULN2003 you’ll find seven high-voltage and high-current NPN Darlington pairs capable of switching inductive loads. But like most such devices there are a variety of roles it can fill. The part can be used to drive relays or motors (either brushed or stepper), it can drive LED lighting, or simply act as a signal buffer. [Hulk] provides some great examples, so be sure to check it out if you’re curious.

Each of the Darlington pairs (which act as single NPN transistors) is configured as open collector, and the usual way this is used is to switch some kind of load to ground. Since the inputs can be driven directly from 5 V digital logic, this part allows something like a microcontroller to drive a high current (or high voltage, or both) device it wouldn’t normally be able to interface with.

While the circuitry to implement each of the transistor arrays isn’t particularly complex and can be easily built by hand, a part like this is a real space saver due to how it packs everything needed in a handy package. Each output can handle 500 mA, but this can be increased by connecting in parallel.

There’s a video (embedded below) which steps through everything you’d like to know about the ULN2003. Should you find yourself wanting a much, much closer look at the inner secrets of this chip, how about a gander at the decapped die?

Continue reading “Everything You Ever Wanted To Know About The ULN2003”

How To Find Replacement Parts When Model Numbers Don’t Match

[Sharad Shankar] repaired a broken TV by swapping out the cracked and malfunctioning image panel for a new one. Now, part-swapping is a great way to repair highly integrated modern electronics like televisions, but the real value here is something else. He documented his fix but the real useful part is his observations and guidance on how to effectively look for donor devices when the actual model of donor device can’t be found.

The usual approach to fixing a device by part swapping is to get one’s hands on two exact same models that are broken in different ways. But when it comes to consumer electronics with high turnovers — like televisions — it can be very difficult to actually locate any particular model once it’s no longer on shelves. [Sharad Shankar]’s broken TV was a 65″ TCL R646 purchased in 2021, and searching for a second 65″ TCL R646 was frankly like looking for a needle in a haystack. That’s when he got a visit from the good ideas fairy. Continue reading “How To Find Replacement Parts When Model Numbers Don’t Match”

Quad-Motor Electric Kart Gets A Little Too Thrilling

[Peter Holderith] has been on a mission to unlock the full potential of a DIY quad-motor electric go-kart as a platform. This isn’t his first rodeo, either. His earlier vehicle designs were great educational fun, but were limited to about a kilowatt of power. His current platform is in theory capable of about twenty. The last big change he made was adding considerably more battery power, so that the under-used motors could stretch their legs a little, figuratively speaking.

How did that go? [Peter] puts it like this: “the result of [that] extra power, combined with other design flaws, is terror.” Don’t worry, no one’s been hurt or anything, but the kart did break in a few ways that highlighted some problems.

The keyed stainless steel bracket didn’t stay keyed for long.

One purpose of incremental prototyping is to bring problems to the surface, and it certainly did that. A number of design decisions that were fine on smaller karts showed themselves to be inadequate once the motors had more power.

For one thing, the increased torque meant the motors twisted themselves free from their mountings. The throttle revealed itself to be twitchy with a poor response, and steering didn’t feel very good. The steering got heavier as speed increased, but it also wanted to jerk all over the place. These are profoundly unwelcome feelings when driving a small and powerful vehicle that lurches into motion as soon as the accelerator is pressed.

Overall, one could say the experience populated the proverbial to-do list quite well. The earlier incarnation of [Peter]’s kart was a thrilling ride, but the challenge of maintaining adequate control over a moving platform serves as a reminder that design decisions that do the job under one circumstance might need revisiting in others.

How To Lace Cables Like It’s 1962

Cable harnesses made wire management a much more reliable and consistent affair in electronic equipment, and while things like printed circuit boards have done away with many wires, cable harnessing still has its place today. Here is a short how-to on how to lace cables from a 1962 document, thoughtfully made available on the web by [Gary Allsebrook] and [Jeff Dairiki].

It’s a short resource that is to the point in all the ways we love to see. The diagrams are very clear and the descriptions are concise, and everything is done for a reason. The knots are self-locking, ensuring that things stay put without being overly tight or constrictive.

According to the document, the ideal material for lacing cables is a ribbon-like nylon cord (which reduces the possibility of biting into wire insulation compared to a cord with a round profile) but the knots and techniques apply to whatever material one may wish to use.

Cable lacing can be done ad-hoc, but back in the day cable assemblies were made separately and electrically tested on jigs prior to installation. In a way, such assemblies served a similar purpose to traces on a circuit board today.

Neatly wrapping cables really has its place, and while doing so by hand can be satisfying, we’ve also seen custom-made tools for neatly wrapping cables with PTFE tape.

Try Image Classification Running In Your Browser, Thanks To WebGPU

When something does zero-shot image classification, that means it’s able to make judgments about the contents of an image without the user needing to train the system beforehand on what to look for. Watch it in action with this online demo, which uses WebGPU to implement CLIP (Contrastive Language–Image Pre-training) running in one’s browser, using the input from an attached camera.

By giving the program some natural language visual concept labels (such as ‘person’ or ‘cat’) that fit a hypothetical template for the image content, the system will output — in real-time — its judgement on the appropriateness of such labels to what the camera sees. Again, all of this runs locally.

It’s maybe a little bit unintuitive, but what’s happening in the demo is that the system is deciding which of the user-provided labels (“a photo of a cat” vs “a photo of a bald man”, for example) is most appropriate to what the camera sees. The more a particular label is judged a good fit for the image, the higher the number beside it.

This kind of process benefits greatly from shoveling the hard parts of the computation onto compatible graphics cards, which is exactly what WebGPU provides by allowing the browser access to a local GPU. WebGPU is relatively recent, but we’ve already seen it used to run LLMs (Large Language Models) directly in the browser.

Wondering what makes GPUs so very useful for AI-type applications? It’s all about their ability to work with enormous amounts of data very quickly.

DIY Eye And Face Tracking For The Valve Index VR Headset

The Valve Index VR headset has been around for a few years now. It doesn’t come with eye or face tracking, but that didn’t stop inspired folks like [Physics-Dude] from adding DIY solutions in elegant and effective ways using a combination of hardware, open software, and 3D printable parts.

The whole assembly integrates tightly, thanks in part to the “frunk” designed into the Index for exactly this kind of thing.

This project leverages the EyeTrackVR project (and optionally, Project Babble for mouth tracking) which both have great applications particularly in social VR spaces.

These are open-source, self-contained and modular solutions intended for a variety of hardware platforms. Of course, every millimeter and gram tends to count when it’s something that gets worn on one’s head, so [Physics-Dude] tailored a solution specifically for the Valve Index. His project makes great use of the platform’s hacker-friendly hardware design.

[Physics-Dude] also makes excellent use of a certain widely-available “gumstick” style USB hub as an important part of his build. Combined with with the front-mounted USB port on the Index, it results in an extremely compact and tightly integrated solution that looks great. While it can be risky to rely on a particular off-the-shelf item in a build, doing so absolutely has its place here.

The documentation is fantastic, including welcome guidance on cable routing and step-by-step instructions. If you’ve been interested in adding eye tracking to a project, be sure to give it a look. Already have eye tracking in a project of your own? Tell us all about it!

Adaptive Chef’s Knife Provides Better Leverage

[Colleen] struggled with using a chef’s knife to cut a variety of foods while suffering from arthritis in her wrist and hand. There are knives aimed at people with special needs, but nothing suitable for serious work like [Colleen]’s professional duties in a commercial kitchen.

As a result, the IATP (Illinois Assistive Technology Program) created the Adaptive Chef’s Knife. Unlike existing offerings, it has a high-quality blade and is ergonomically designed so that the user can leverage their forearm while maintaining control.

The handle is durable, stands up to commercial kitchen use, and is molded to the same standards as off-the-shelf knife handles. That means it’s cast from FDA-approved materials and has a clean, non-porous surface. The pattern visible in the handle is a 3D printed “skeleton” over which resin is molded.

Interested? The IATP Maker Program makes assistive devices available to Illinois residents free of charge (though donations in suggested amounts are encouraged for those who can pay) but the plans and directions are freely available to anyone who wishes to roll their own.

Assistive technology doesn’t need to be over-engineered or frankly even maximally efficient in how it addresses a problem. Small changes can be all that’s needed to give people meaningful control over the things in their lives in a healthy way. Some great examples are are this magnetic spoon holder, or simple printed additions to IKEA furnishings.