Remoticon Video: How To Reverse Engineer A PCB

You hold in your hand a circuit board from a product you didn’t make. How does the thing work? What a daunting question, but it’s both solvable and approachable if you know what you’re doing. The good news is that Eric Schlaepfer knows exactly what he’s doing and boiled down the process of reverse engineering printed circuit boards into this excellent workshop. It was presented live during the 2020 Hackaday Remoticon, and the edited video, which you’ll find below, was just published. Slides for the talk have been published on the workshop project page.

Need proof that he has skills that we all want? Last year Eric successfully reverse-engineered the legendary Sound Blaster audio card and produced his own fully-functional drop-in replacement called the Snark Barker. And then re-engineered it to work with the ancient MCA bus architecture. Whoa.

Continue reading “Remoticon Video: How To Reverse Engineer A PCB”

Taking Over The Amazing Control Panel Of A Vintage Video Switcher

Where does he get such wonderful toys? [Glenn] snagged parts of a Grass Valley Kalypso 4-M/E video mixer switcher control surface from eBay and since been reverse engineering the button and display modules to bend them to his will. The hardware dates back to the turn of the century and the two modules would have been laid out with up to a few dozen others to complete a video mixing switcher console.

[Glenn’s] previous adventures delved into a strip of ten backlit buttons and gives us a close look at each of the keyswitches and the technique he used to pull together his own pinout and schematic of that strip. But things get a lot hairier this time around. The long strip seen above is a “machine control plane” module and includes a dozen addressible character displays, driven by a combination of microcontrollers and FPGAs. The square panel is a “Crosspoint Switch Matrix” module include eight individual 32 x 32 LCDs drive by three dedicated ICs that can display in red, green, or amber.

[Glen] used an STM8 Nucleo 64 to interface with the panels and wrote a bit of code to help map out what each pin on each machine control plane connector might do. He was able to stream out some packets from the plane that changed as he pressed buttons, and ended up feeding back a brute-force of that packet format to figure out the LED display protocols.

But the LCDs on the crosspoint switch were a more difficult nut to crack. He ended up going back to the original source of the equipment (eBay) to get a working control unit that he could sniff. He laid out a man-in-the-middle board that has a connector on either side with a pin header in the middle for his logic analyzer. As with most LCDs, the secret sauce was the initialization sequence — an almost impossible thing to brute force, yet exceedingly simple to sniff when you have a working system. So far he has them running under USB control, and if you are lucky enough to have some of this gear in your parts box, [Glen] has painstakingly recorded all of the details you need to get them up and running.

Hackaday Podcast 095: Booting FreeDOS From A Vinyl Record, Floating On Mushrooms, And Tunneling Through A Living Room

Hackaday editors Mike Szczys and Elliot Williams are talking turkey about the world of hardware hacking. This short episode brings news updates about the Nintendo Game and Watch hacking progress, the sad farewell to Areceibo, the new chip from Espressif, and the awesome circuit sculptures from our recent contest. We wrap up the show with a lightning round of quick hacks.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (17 MB)

Places to follow Hackaday podcasts:

Continue reading “Hackaday Podcast 095: Booting FreeDOS From A Vinyl Record, Floating On Mushrooms, And Tunneling Through A Living Room”

Alfred Jones Talks About The Challenges Of Designing Fully Self-Driving Vehicles

The leap to self-driving cars could be as game-changing as the one from horse power to engine power. If cars prove able to drive themselves better than humans do, the safety gains could be enormous: auto accidents were the #8 cause of death worldwide in 2016. And who doesn’t want to turn travel time into something either truly restful or alternatively productive?

But getting there is a big challenge, as Alfred Jones knows all too well. The Head of Mechanical Engineering at Lyft’s level-5 self-driving division, his team is building the roof racks and other gear that gives the vehicles their sensors and computational hardware. In his keynote talk at Hackaday Remoticon, Alfred Jones walks us through what each level of self-driving means, how the problem is being approached, and where the sticking points are found between what’s being tested now and a truly steering-wheel-free future.

Check out the video below, and take a deeper dive into the details of his talk.

Continue reading “Alfred Jones Talks About The Challenges Of Designing Fully Self-Driving Vehicles”

DOOM Running On The Nintendo Game & Watch

Today the newly-released Nintendo Game & Watch can play DOOM. Sure, there are caveats…this is a watered down version due to the restraints of the hardware itself. But the important thing is that this shows the hardware has been fully owned. This is code written to replace the firmware that ships on the STM32 within, and that makes this a gorgeous little hardware platform that is completely open to homebrew hacking.

Honestly, you had to assume this was going to happen pretty quickly considering the effort being thrown into it. We first reported on Tuesday that the EEPROM memory which stores the ROMs on the Game and Watch had been decoded. Shortly after that was published, [stacksmashing] and [Konrad Beckmann] were showing test patterns on the display and mentioning the audio was working as well. Turns out they were able to dump the stock firmware despite the chip being security locked.

We’ll have to wait for more details on exactly how to dump firmware, but [stacksmashing] drops enough of a mention in the video below to confirm the obvious. A common approach to dumping code from a locked microcontroller is to find a vulnerability that grants execution of custom code. Being able to run just a few lines of your own code is enough set up something as simple as looping through all internal flash memory addresses and dumping them over a few GPIO pins. In this case our two heroes discovered some ARM code was being loaded from the EEPROM onto the STM32, and managed to inject their own directives to perform the dump. They have promised full details soon.

What we have today is a pretty tricky hack not just to load code, but to get DOOM to run on meager hardware specs. Notably, 128 k of SRAM and 1.3 MB of external RAM. There’s also a bottleneck with the 1.1 MB of FLASH for storing game files. The textures were stripped down, and memory allocation was rewritten, but the proof of concept is there and the game runs. Homebrew, here we come!

Continue reading “DOOM Running On The Nintendo Game & Watch”

No Wonder These Projects Won The Circuit Sculpture Contest

There are five winners of the Hackaday Circuit Sculpture contest, and every one of them comes as no surprise, even in a tightly packed race to the top.

Beginning with the gorgeous photo above, we have [Eirik Brandal’s] waldian being named the most beautiful. Imagine this hanging on your living room wall, then head over and listen to the video demo as it’s light-actuated synthesizer chimes like distant (or maybe not so distant) church bells. This isn’t a one-off dip into circuit sculpture for [Eirik], we featured his broader body of work back in 2018, all of it worth checking out in more depth.

The glowing mask is actually made of PCB. The seams are secured with super glue bolstered with baking soda. The labor behind this one is intense. As we mention back in September, the project took place over about two years, mostly due to the sheer volume of cutting and sanding [Stephen Hawes] needed to do to bring together so many pieces. This one grabbed him the most artistic award.

[Jiří Praus] takes the top spot for best video with his luminescent RGB LED sphere. We swooned over this one when it first dropped back in December. [Jiří] shows off a combination of patience and ingenuity by using a 3D-printed mold to hold each LED while he soldered brass rod in place to serve as both electrical and mechanical support.

Speaking of molds, one of the challenges was to show off the best jig for creating a circuit sculpture. [Inne’s] Soft Soldering Jig provides the channels needed to keep crisp right angles on the brass rod as you work, with voids to position components at intersections for soldering. Drawing on the advice of numerous circuit sculpture success from people like [Mohit Bohite] and [Jiří Praus], he was looking for a way to easily position everything on a surface that would not be burnt by the soldering iron. The answer comes in the form of Silicone jigs made with 3D-printed molds.

Finally we have the Binary Calculator project which won the most functional award. While it does operate as a binary calculator, the beauty of it is not to be overlooked. Among its many attributes are a set of cherry-wood keycaps that were milled for the project and a bell-jar display stand where the calculator rests and serves as a binary clock when not in use. You may remember seeing our feature of this project last week.

As prizes, the binary calculator, orb, and wall sculpture creators will each be receiving $200 in goodies from Digi-Key who sponsored the contest and will be featuring entries in a 2021 wall calendar. Creators of the soldering jig and the PCB mask will receive a $100 Tindie gift card.

Desktop Wind Tunnel Brings Aerospace Engineering To The Home Gamer

Computer simulation is indispensable in validating design and used in every aspect of engineering from finite element analysis to traffic simulation to fluid dynamics. Simulations do an amazing job and at a fraction of the time and expense of building and testing a scale model. But those visceral ah-ha moments, and some real-world gremlins, can be easier to uncover by the real thing. Now you don’t need a university research or megacorp lab to run aerodynamic study IRL, you can just build a functional desktop wind tunnel for a pittance.

[Mark Waller] shows off this tidy little design that takes up only about two feet of desk space, and includes the core features that make a wind tunnel useful. Air is pulled through the tunnel using a fan mounted at the exhaust side of the tunnel. The intake is the horn-like scoop, and he’s stacked up a matrix of drinking straws there to help ensure laminar flow of the air as it enters the tunnel. (The straw trick is frequently used with laminar flow water fountains). It also passes through a matrix of tubes about the diameter of a finger at the exhaust to prevent the spin of the fan from introducing a vortex into the flow.

For analysis, five tubes pipe in smoke from an vape pen, driven into the chamber by an aquarium pump. There’s a strip of LEDs along the roof of the tunnel, with a baffle to prevent the light shining on the black rear wall of the chamber for the best possible contrast. The slow-motion video after the break shows the effectiveness of the setup.

Whether you’re a Hackaday Editor cutting their own glider wing profiles using foam and hot wire, or just want to wrap your head around how different profiles perform, this will get you there. And it’ll do it at a fraction of the size that we’ve seen in previous wind tunnel builds.

Continue reading “Desktop Wind Tunnel Brings Aerospace Engineering To The Home Gamer”