Build A Fun CPU In Your Browser

A rite of passage for a digital designer is to build a CPU. That may seem a formidable task and if you are thinking of building a modern CPU like the one in your PC, it is. However, a simple CPU is well within the reach of anyone who can sling some logic gates or HDL. We’ve even seen CPUs built in Minecraft. Now you can play nandgame and build a CPU step-by-step in your browser.

The game is based on the popular From NAND to Tetris site. True to the name you start out with a single NAND gate as a tool. From there you build an inverter, an AND gate, adders, flip flops, registers, and the like. You get a little help from the accompanying text and there are some blacked out hints if you get stuck.

Continue reading “Build A Fun CPU In Your Browser”

An Upcycled Speaker Box With Hidden Features

At first glance, this fire engine red speaker box built by [NoshBar] looks straightforward enough. Just an MDF case and couple of drivers recovered from a trashed stereo. But the array of controls and connectors on the front, and a peek on the inside, shows there’s more to this particular project than meets the eye.

Built almost entirely from parts [NoshBar] found in the trash, construction started with some salvaged MDF IKEA shelves and their corresponding twist lock cam fittings. We don’t usually see those style cam fittings used to build DIY enclosures, but if it works for all those furniture manufacturers why not?

A pair of Sony stereo speakers he found gave up their internals, and a TPA3116 amplifier board off of eBay drives them. He’s wired up an audio pass-through mode for using headphones when the amplifier is powered off, and dual inputs so he can switch between PC and PS4.

But the audio components are only half of what’s inside that shiny red exterior. [NoshBar] packed in an ATX PSU and broke out the 3.3 V, 5 V, and 12 V lines to the front panel so he can use it as a bench power supply for his Arduino projects. It’s also home to a gigabit Ethernet switch and a Raspberry Pi acting as a file server.

We’re always amazed at what hackers are able to accomplish with parts they’ve literally pulled out of the trash, from a waterwheel to charge your phone to a functional CNC router. It seems there’s plenty of treasure in your local dumpster if you’re willing to get a little dirty.

The Engineering Of An Ultrasonic Phased Array

Ultrasonic phased arrays are one of the wonders of the moment, with videos of small items being levitated by them shared far and wide. We’ve all seen them and some of us have even wondered about building them, but what about the practical considerations? Just how would you drive a large array of ultrasonic transducers, and how would you maintain a consistent phase relationship between their outputs? It’s a problem [Niklas Fauth] has been grappling with over the three iterations so far of his ultrasonic phased array project, and you can follow his progress on the latest build.

The arrays themselves are a 16 by 16 grid of cheap ultrasonic transducers on a PCB, fed by HV583 high-voltage shift registers. These chips have proven to be particularly problematic, their drivers having a relatively high internal resistance which leaves them prone to overheating.

An interesting solution to a problem comes from the transducers having a polarity, but because it doesn’t matter in their usual application, that polarity not being marked. He’s overcome this by using the STM32 he has managing power alongside his BeagleBone to listen through a sensor as the ‘Bone supplies each transducer in turn with a known phase. An internal map can then be created, such that the appropriate phase can be applied on a transducer-by-transducer basis.

It’s the fascination with the subject that we find appealing, this is version three and version two worked. Most of us would make one and call it a day. It’s something we’ve seen before from [Niklas], after all this is someone who plays with turbomolecular pumps for fun. Meanwhile if you would like to learn more about ultrasonic arrays and acoustic levitation, it was the subject of one of this year’s Hackaday Belgrade talks.

Restoring 100-year-old vice

Restoring A 100 Year Old Vice To Pristine Condition

We love our vices. They hold pipes for us to saw away at, wood while we carve, and circuit boards so that we can solder on components. So we keep them in shape by cleaning and greasing them every now and then, [MakeEverything] went even further. He found a 100-year-old vice that was in very rough shape and which was going to be thrown out and did a beautiful restoration job on it.

It was actually worse than in rough shape. At some point, one of the jaws had been replaced by welding on a piece of rebar where the jaw would normally go. So he made entirely new jaws from solid brass as well as the pins to hold them firmly in place. We applaud his attention to detail. After removing all the old paint and corrosion, he painted it with a “hammered” spray paint to give it a nice hammered look. Though when he made the raised letters stand out by applying gold paint to them using an oil-based paint marker, we felt that was just showing off. The result is almost too gorgeous to use, but he assures us he will use it. You can see his process, as well as have a good look at the newly revived vice in the video below.

Continue reading “Restoring A 100 Year Old Vice To Pristine Condition”

Hackaday Links Column Banner

Hackaday Links: August 19, 2018

If you want to creep everyone out, [Hunter Irving] has your back. He found a weird, creepy knock-off Thomas the Tank Engine toy and mounted a servo to it. This animatronic face is really, really creepy and has the aesthetic of a pastel plastic hell of the forgotten toys destroyed in a day care in 1991. It probably smells like a thrift shop. This rosy-cheeked locomotive shall derail your soul. It sings karaoke.

Like badges? Sure you do. Ph0xx is the badge for the upcoming Fri3d Camp, a family hacker, maker, and DIY camp in Belgium with 600 attendees. The badge features an ESP-32, two 5×7 LED arrays, accelerometer, an 18650 battery with protection and a charger, expansion headers, and this badge is compatible with Lego Technic. Oh yes, they went there.

We’re filing this under ‘but why’. It’s a custom Mercedes-Benz motorcycle, with a sidecar, that looks like an early 80s Benz convertible. [Maarten] stumbled upon a few pics of this, but the google-fu is weak in trying to get some information about this build. Who built it? Why? Does it run?

Here’s something near and dear to my heart: my greatest contribution to humanity so far. The Shitty Add-On spec for this year’s batch of Def Con badges is the reason badges now have their own badges. Now it’s time for a slight upgrade to the standard, and I need your help. The SAO standard 1.1bis will retain the VCC/GND/SDA/SCL layout of the first revision, but to increase mechanical stability and decrease the complexity of populating the headers, we’re adding two pins. Here’s the question: what should these two extra pins do? The current options are adding TX and RX to the standard, or two GPIOs that are undefined, but able to be utilized by each badge team for their own purposes. Those are the two options, but I’m looking for your input in the comments. Hurry up, because we have Superconference badges to build.

You should know the Primitive Technology channel on YouTube. This week he made another step towards the iron age. The basic idea behind this channel is a guy in Australia playing Minecraft in real life, building everything he can, starting with the technology of punching trees. The latest video shows his process for smelting iron. The iron comes from iron-bearing bacterial sludge found in a creek. The geologic disadvantages of northeastern Australia notwithstanding, he’s doing everything else right. He’s making charcoal, and turning that sludge into something that could be a bloom of iron.

Wiring The ESP-32 To Ethernet

Since its introduction years ago, the ESP-8266 has taken over the world. It’s the chip inside thousands of different projects, and the basis for dozens of different IoT thingamadoos. The follow-up to the 8266, the ESP-32, is even more capable. It has a ton of peripherals inside, including an Ethernet MAC. What’s that? Yes, it’s possible to put Ethernet on an ESP-32, and give an IoT board PoE. That’s what [Patrick] is doing for his Hackaday Prize project, and it’s an awesome idea.

This build began as you would expect, with an ESP-32 module attached to one side of a board with some breakouts for the GPIOs and a USB to Serial chip. The tricky part here is the PoE part of the Ethernet, which requires MagJack Ethernet connectors, a flyback transformer, and a PoE-PD controller. These were expensive parts, and the design of such a board requires some thinking — you need isolation across the transformer, and proper ground planes for this mess.

There’s something slightly brilliant about using an ESP-32 in a wired configuration. Far too often, we see these modules used as wireless nodes in a sensor net. The battery consumption is significant, and all those makers are adding USB power input to their fancy WiFi sensor nets. If you’re running wires for power anyway, why not add Ethernet and do away with all that mucking around with WiFi setup. It’s a great project, and one of the better entries in this year’s Hackaday Prize.

Getting Resourceful To Build A Home CNC

CNC really is a game changer when it comes to machining. If your motor skills or ability to focus aren’t all there, you don’t need to worry – the computer will handle the manual task of machining for you! These builds are popular for DIYers to undertake, as they enable the production of all manner of interesting and advanced parts at home once they’re up and running. However, parts to build a CNC machine can get spendy; [Brenda] decided to take a recycling-based approach to her build instead (Youtube link).

The build uses motion parts from an old silicon wafer fabrication machines, an IKEA table for the work surface, and a scavenged computer to run the show. Control is via the popular LinuxCNC software, a viable candidate for anyone doing a similar build at home. In a neat twist, the holes for hold-downs on the work table were drilled by the machine itself!

Overall it’s a tidy build, broken up over a series of videos that each go into great detail on the work involved.  Interested in your own bargain CNC build? Check out this $400 setup.

Continue reading “Getting Resourceful To Build A Home CNC”