A Handy OSHW USB Cable Tester For Your Toolkit

There’s no shame in admitting you’ve been burned by a cheapo USB cable — ever since some bean counter realized there was a few cents to be saved by producing “power only” USB cables, no hardware hacker has been safe. But with this simple tester from [Álvaro Prieto] in your arsenal, you’ll never be fooled again.

It’s about as straight-forward a design as possible, utilizing nothing more than a two dozen LEDs, their associated resistors, and a common CR2032 coin cell. Simply plugging both sides of your cable into the various flavors of USB connectors on the tester will complete the necessary circuits to light up the corresponding LEDs, instantly telling you how many intact wires are inside the cable. So whether you’re dealing with some shady cable that doesn’t have the full complement of conductors, or there’s some physical damage that’s severed a connection or two, you’ll know at a glance.

A sage warning for most of the devices we build.

Obviously the tester is designed primarily for the 24 pins you’ll find in a proper USB-C connector, but it’s completely backwards compatible with older cables and connectors. We appreciate that he even included the chunky Type B connector, which we’ve always been fond of thanks to its robustness compared to the more common Mini and Micro variants.

Keep in mind though that this tester will only show you if there’s a connection between two pins, it won’t verify how much power it can actually handle. For that, you’ll need some extra equipment.

See The Forbidden Cigarette Machine In Action

[Fraens] has been designing a number of fantastic 3D printed machines and making great videos that demonstrate how they work. The last installment was an automatic cigarette stuffing machine, and it’s got a number of pretty complex motions, and somehow manages to get the job done.

While [Fraens] usually uploads STL files for all of his machines, this one is forbidden! Selling automatic cigarette loaders is illegal in Europe, and it’s not clear how close to the legal edge posting them up on Thingiverse is. So until the legal dust settles, you’re going to have to be content with the fantastic video, also embedded below.

But honestly, the devil’s sticks aren’t good for your health anyway, and you’re probably just in it for the mechanicals. Think for a moment about the problem – you’ve got a hopper of tobacco fibers that all like to stick together, and you need to pack them into an easily squished lightweight paper tube. These tubes aren’t easy to handle either. The solution to both of these calls for solenoid-powered tappers that agitate both into place.

There’s also a 3D printed rack and pinion to do the pushing, and a cool stepper-driven revolver mechanism to put the empty papers into just the right place. The machine leans heavily on 3D printing, but also on simple hardware-store parts like aluminum and brass tubes. [Fraens]’s builds are always simple but simultaneously very slick, and you’ll learn a lot from watching it all go together.

And when you’re done, check out some others from [Fraens]. We’ve been impressed by his sewing machine, braiding machine, and even a power loom.

Continue reading “See The Forbidden Cigarette Machine In Action”

A PCB with several points highlighted by a projection system

Augmented Reality Workbench Helps You To Debug Your Boards

No matter how advanced your design skills, the chances are you’ll need to spend some time chasing bugs in your boards after they come back from the assembly house. Testing and debugging a PCB typically involves a lot of cross-checking between the board, the layout and the schematic, which quickly becomes tiresome even for mildly complex designs. To make this task a bit easier, [Ishan Chatterjee] and colleagues at the University of Washington have designed the Augmented Reality Debugging Workbench, or ARDW for short.

The ARDW is a setup consisting of a lab workbench with an antistatic mat, a selection of measurement instruments and a PC. You can simply place your board on the bench, open the schematic and layout in KiCAD and start measuring and debugging your design as you normally would, but the real magic happens when you select a new icon in KiCAD that exports the schematic and layout to the ARDW system. From that moment, you can select components in your schematic and have them highlighted not only on the layout, but on the physical board in front of you as well. This is perhaps best demonstrated visually, as the team members do in the video embedded below.

The real-life highlighting of components is achieved thanks to a set of cameras that track the motion of everything on the desk as well as a video projector that overlays information on top of the PCB. All of this enables a variety of useful debugging features: for example, there’s an option to highlight pin one on all components, enabling a simple visual check of each component’s orientation. You can select all Do Not Populate (DNP) instances and immediately see if all highlighted pads are empty. If you’re not sure which component you’re looking at, just point at it with your multimeter probe and it’s highlighted on the schematic and layout. You can even place your probes on a net and automatically log the voltage for future reference, thanks to a digital link between the multimeter and the ARDW software.

In addition to designing and building the ARDW, the team also performed a usability study using a group of human test subjects. They especially liked the ability to quickly locate components on crowded boards, but found the on-line measurement system a bit cumbersome due to its limited positional accuracy. Future work will therefore focus on improving the resolution of the projected image and generally making the system more compact and robust. All software is freely available on the project’s GitHub page, and while the current system looks a little complex for hobbyist use, we can already imagine it being a useful tool in production environments.

It’s not even the first time augmented reality has been used for PCB debugging: we saw a somewhat similar system at the 2019 Hackaday Superconference. AR can also come in handy during the design and prototyping phase, as demonstrated by this AR breadboard.

Continue reading “Augmented Reality Workbench Helps You To Debug Your Boards”

PCB Hotplate Has Integrated Heating Element Traces

Normally when we talk about PCBs and hotplates, we’re talking about reflowing solder. In this build from [Arnov Sharma], though, the PCB itself is the hotplate!

The idea was to create a compact hotplate for easily reflowing small PCBs. To achieve that, [Arnov] designed a board with a thick coil trace that acts as a heating element. The full coil trace has a resistance of 1.9 ohms, and passing electricity through it generates plenty of heat. Running off a 12 volt supply, the mini hotplate is capable of reaching a maximum temperature of 214°C. Higher voltages can push that figure higher.

The board is intended to self-regulate, with an ATtiny13 onboard and a thermistor to measure temperature. However, in the initial design, this feature didn’t quite work properly. Version 2 is intended to include a better temperature sensor and a OLED screen for displaying the current temperature to the user.

We’ve seen other tiny hotplate builds before, too. They’re great for smaller projects and for hacking on the go! Video after the break.

Continue reading “PCB Hotplate Has Integrated Heating Element Traces”

DIY Streamdeck Helps You Professionalize Your Twitch Show

The one thing that separates the pros on Twitch from the dilettantes is the production values. It’s all about the smooth transitions, and you’ll never catch the big names fiddling with dodgy software mid-stream. The key to achieving this is by having a streamdeck to help control your setup, like this straightforward design from [Electronoobs]. (Video, embedded below.)

The build relies on an Arduino Micro, which is a microcontroller board perfectly equipped to acting as a USB macro keyboard. It’s paired with a Nextion LCD touchscreen that displays buttons for various stream control features, like displaying a “Be Right Back” screen or cuing up video clips. The build also features bigger regular buttons for important quick-access features like muting a mic. It’s all wrapped up in a 3D printed housing, with some addressable RGB LEDs running off another Arduino to add some pizazz. The neat trick is that the build sends keycodes for F13-F24, which allows for the streamdeck’s hotkeys to avoid conflicting with any other software using conventional keyboard hotkeys.

It’s a useful tool that would be of use to anyone streaming on Twitch or other platforms. Alternatively, you could repurpose an old phone to do a similar job. Video after the break.

Continue reading “DIY Streamdeck Helps You Professionalize Your Twitch Show”

Bicycle Inner Tube Becomes Rugged Pencil Case

If you’re a cyclist that lives in an area with poorly-maintained infrastructure, you’ll likely have plenty of punctured inner tubes begging for reuse. Consider crafting them into a rugged, hard-wearing pencil case with this design from [Yorkshire Lass].

[Yorkshire Lass] does a great job of not only explaining the basic design of the pencil case, but also the unique techniques required to work with inner tubes in this manner. For best results, the tube must first be straightened by stretching it for some time along a flat board. Strips of the rubber must then be cut to suit, and then assembled into the pattern to make the pencil case. Sewing up the case also requires some special techniques outside those used in regular sewing. That’s largely down to the fact that rubber can’t be pinned in place without leaving a permanent hole in the material. Thankfully, the write-up explains all the traps for those new to sewing inner tubes, which we’d have to suspect is most of us.

Assembled properly, you’ll end up with a pencil case made of far tougher material than most. Plus, it makes a great fashion accessory to flaunt to other bicycle or recycling evangelists at your school, college, or workplace. Even better, there’s scope to run a group craft session with your local bike group given everyone surely has a few dud mountain bike tubes laying around.

We’ve seen some other neat hacks intended to store pens and pencils around the workshop. Meanwhile, if you’ve got your own great reuse ideas for old bicycle inner tubes, do drop us a line!

3D Printer Repurposed For Light-Duty Lab Automation Tasks

Laboratory automation equipment is expensive stuff, to such a degree that small labs are often priced out of the market. That’s a shame, because there are a lot of tedious manual tasks that even modest labs would benefit from automating. Oh well — that’s what grad students are for.

But it actually isn’t that hard to bring a little automation to the lab, if you follow the lead of [Marco], [Chinna], and [Vittorio] and turn a 3D printer into a simple lab robot. That’s what HistoEnder is — a bog-standard Creality Ender 3 with a couple of special modifications that turn it into a tool for automating histology slide preparation. Histology is the study of the anatomy of tissues and uses various fixing and staining techniques to make microscopic features visible. In practice, this means moving baskets of glass slides back and forth between jars of different solutions, a job that’s perfect for a simple Cartesian gantry lab robot with a small work envelope and light loads.

None of the printer modifications are permanent; the 3D printed accessories — a hook for the slide basket and a carrier for standard histology staining jars — can quickly come off the printer to return it to its regular duty. All it takes to run HistoEnder is a bit of custom G-code and some careful alignment of the jar carrier on the print bed. We suppose the bed heater could even be used to warm up the fixing and staining solutions. There’s a brief video of HistoEnder in action embedded in the tweet below.

This isn’t the first time this team has repurposed technology for the lab — remember the fitness band that was turned into an optical densitometer?

Continue reading “3D Printer Repurposed For Light-Duty Lab Automation Tasks”