Where Do You Connect The Shield?

When it comes to polarizing and confusing questions in electronics, wiring up shields is on the top-10 list when sorted by popularity. It’s a question most of us need to figure out at some point – when you place a USB socket symbol on your schematic, where do you wire up the SHIELD and MP pins?

Once you look it up, you will find Eevblog forum threads with dozens of conflicting replies, Stackexchange posts with seven different responses plus a few downvoted ones, none of them accepted, and if you try to consult the literature, the answer will invariably be “it depends”.

I’m not a connector-ground expert, I just do a fair bit of both reading and hacking. Still, I’ve been trying to figure out this debate, for a couple years now, re-reading the forum posts each time I started a new schematic with a yet-unfamiliar connector. Now, of course, coming to this question with my own bias, here’s a summary you can fall back on.

Consumer Ports

Putting HDMI on your board? First of all, good luck. Then, consider – do you have a reason to avoid connecting the shield? If not, certainly connect the shield to ground, use jumpers if that’s what makes you comfortable, though there’s a good argument that you should just connect directly, too. The reason is simple: a fair few HDMI cables omit GND pin connections, fully relying on the shield for return currents. When your HDMI connection misfires, you don’t want to be debugging your HDMI transmitter settings when the actual No Signal problem, as unintuitive as it sounds, will be simply your shield not being grounded – like BeagleBone and Odroid didn’t in the early days. By the way, is a DVI-D to HDMI adapter not working for you? Well, it might just be that it’s built in a cheap way and doesn’t connect the shields of the two sockets together – which is fixable.

Continue reading “Where Do You Connect The Shield?”

Hackaday Podcast Episode 288: Cyanotypes, Antique 21-Segment Displays, And The Voynich Manuscript In A New Light

It’s Friday the 13th, and despite having to dodge black cats and poorly located ladders, Elliot and Dan were able to get together and run down the best hacks of the first week of September. Our luck was pretty good, too, seeing how we stumbled upon a coffee table that walks your drink over to you on Strandbeest legs, a potato that takes passable photographs, and a cool LED display three times better than a boring old seven-segment.

If you’ve never heard of the Voynich manuscript, you’re in luck too, because we got a chance to look inside this medieval comic book literally, with multispectral analysis. Is your cruise ship too short? No worries, just lop it in two and add a section. Speaking of cutting things up, that’s what you need to do to see how your plus-size DIY rocket engine performed after test firing.

And finally, it was a sweep for Jenny this week with our “Can’t Miss” articles, where she both pines for a simpler, smaller web experience and wonders what the future holds for biomass fuels.

 

Download the zero-calorie MP3.

Continue reading “Hackaday Podcast Episode 288: Cyanotypes, Antique 21-Segment Displays, And The Voynich Manuscript In A New Light”

Recreating A Popular Faux-Nixie Clock

There’s a good chance you’ve seen “Nixie clocks” on the Internet that replace the classic cold cathode tubes with similarly sized LCD panels. The hook is that the LCDs can show pictures and animations of Nixie tubes — or pretty much anything else for that matter — to recreate the look of the real thing, while being far cheaper and easier to produce. It’s a hack for sure, and that’s the way we like it.

[Trung Tran] liked the idea, but didn’t just want to buy a turn-key clock. So he’s decided to build his own version based on the ESP32-S3. The WiFi-enabled microcontroller syncs up to the latest time via NTP, then uses a PCF8563 real-time clock (RTC) module to keep from drifting too far off the mark. The six displays, which plug into the custom PCB backplane, can then show the appropriate digits for the time. Since they’re showing image files, you can use any sort of font or style you wish. Or you could show something else entirely — the demo video below shows off each panel running the Matrix “digital rain” effect.

Continue reading “Recreating A Popular Faux-Nixie Clock”

This Week In Security: Malicious Rollback, WHOIS, And More

It’s time to talk about Microsoft’s patch Tuesday, and the odd vulnerability rollback that happened. CVE-2024-43491 has caught some attention, as it’s a 9.8 on the CVSS scale, is under active exploitation, and results in Remote Code Execution (RCE). Yikes, it sounds terrible!

First off, what actually happened? The official statement is that “build version numbers crossed into a range that triggered a code defect”. We don’t know the exact details, but it’s something like an unsigned integer that was interpreted as a signed integer. A build number could have rolled over 32767, and what was intended to be 32768 or higher suddenly became −32767. Lots of “if greater than or equal” logic breaks down in that situation. Because of a logic flaw like this, certain versions of Windows 10 were unintentionally opting out of some historical security fixes.

And that’s where the high CVSS score and active exploitation descriptor comes from. This is simply the highest score of the resurgent flaws, and an acknowledgement that they have been exploited in the past. The good news is that this only applies to Windows 10 build 1507, so either the original install without any of the major updates installed, or one of the Windows 10 Enterprise Long-Term Servicing Branch (LTSB) versions. It seems that the March 2024 monthly security update introduced the problem, and it wasn’t fixed until this month’s updates. Continue reading “This Week In Security: Malicious Rollback, WHOIS, And More”

Doing MIDI With Discrete Logic Is Neat, If Not Particularly Useful

MIDI is normally baked into the chipset of a synthesizer, or something you use a microcontroller to handle. But that’s not the only way to speak the language! [Kevin] decided to have some fun doing MIDI with discrete logic instead, with some pretty neat results.

[Kevin] had previously built a control voltage step sequencer called the Baby8, which relied on 4017 counter ICs. He later realized he could repurpose three of his old Baby8 PCBs to create something that could generate MIDI using nothing more than discrete logic. The stack of three boards generate a simple MIDI message—in this case, a two-byte Program Change command. At 8 bits per byte, plus a start and stop bit, that comes out to 20 bits in total. The bits to be sent are configured via the switches on the PCBs, and clocked out through the counter ICs via a clock running at the MIDI baud rate of 31,250 Hz.

Obviously, it’s not very practical to code your MIDI commands manually via DIP switches and then clock them out in this fashion. But—it does work, and you can do it! If you wanted to build an old-school logic circuit that just spits out simple short MIDI commands, this is one way to go about it.

We’ve seen [Kevin]’s work before, too, like this neat musical rotary phone build.

Continue reading “Doing MIDI With Discrete Logic Is Neat, If Not Particularly Useful”

Simple PCB Agitator Gets The Job Done

These days, PCB fab houses are just about everywhere, and you can’t go buy a taco without walking past eight of them. Still, some out there still like to etch their PCBs at home. If that sounds like you, you might see some value in [Chris Borge]’s PCB agitator. 

The design mostly relies on 3D printed parts, including the main body. It has a heavy base which is filled with concrete to keep it nicely weighed down on the table. A table for holding a PCB and fluid tank is then installed on top, via a bearing which allows it to pivot in one axis. An Arduino Nano commands the agitation of the table top, and hence the PCB etching tank, with a servo used to actually shift the table back and forth.

It’s a simple design — far simpler than some of the advanced coffee-making hardware we’ve seen recently. Regardless, it gets the job done, and done well! In testing, it accelerated [Chris]’s etching jobs significantly, we’re talking hours here. Meanwhile, if you don’t have a 3D printer on hand, you could always try building one out of junk instead!

Continue reading “Simple PCB Agitator Gets The Job Done”

There’s Already A Nixie Addon For The 2024 Supercon Badge

Nixie tubes are cool, and hackers like them. Perhaps for those reasons more than any other, [Kevin Santo Cappuccio] has developed a very particular Simple Add-On for the 2024 Hackaday Supercon badge.

Rad, no?

The build began with a Burroughs 122P224 Nixie tube, and a HV8200 power supply. The latter component is key—it’s capable of turning voltages as low as 3 V into the 180V needed to power a Nixie. Then, an 18-position selector switch was pulled out of a resistance substitution box, and [Kevin] whipped up a basic DIY slip ring using some raw copper clad board.

Smoosh it all together, and what do you get? It’s a Nixie tube you can spin to change the number it displays. Useful? Hardly, unless you want to display varying glowing numbers to people at unreadable angles. Neat? Very. Just don’t touch any of the pins carrying 180 V, that’ll sting. Still, [Kevin] told us it’s pretty tucked away. “I’m totally comfortable touching it, but also would get sued into oblivion selling these on Amazon,” he says.

As [Kevin] notes in his post, the 2024 badge is all about the add-ons— and there’s actually a contest! We suspect [Kevin] will have a strong chance of taking out the Least Manufacturable title.

If you need more information about the Simple Add-On (SAO) interface, [Brian Benchoff] posted the V1.69bis standard on these very pages back in 2019. Apparently the S used to stand for something else. Video after the break.

Continue reading “There’s Already A Nixie Addon For The 2024 Supercon Badge”