Dead Bug Arduino Is Lively And Shield-Compatible

Microcontroller demo boards such as the Arduino UNO are ubiquitous on Hackaday as the brains of many a project which inevitably does something impressive or unusual. Sometime someone builds a particularly tiny demo board, or an impressively large one. In the case of the board featured here, the Arduino is a gorgeous labor of love which can’t really be called a board since there is no PCB. Instead of the traditional fiberglass, [Jiří Praus] formed brass bars into the circuitry and held it together with solder.

This kind of dedication to a project leaves an impression. His notes show he saw the barest way to operate an ATMega328, built it, tested, and moved on to the power supply to make it self-sustaining, then onto the communication circuit, and finally the lights. The video below shows a fully-functional Arduino happily running the blink program. He plans to encase the brass portion in resin to toughen it up and presumably keep every bump from causing a short circuit. The components are in the same position due to a custom jig which means a standard shield will fit right into place.

The Arduino started far less flashy yet nearly as fragile, and it has grown. And shrunk.

Continue reading “Dead Bug Arduino Is Lively And Shield-Compatible”

Assembling A Lathe From Not A Lot

Most people have a piece of equipment without which they consider their workshop or bench to be incomplete. For some, it is an oscilloscope, for others a bandsaw, but for many metalworkers, it is a lathe. Lathes are expensive if you are seeking a good one, quite cheap if you don’t mind a bad one, and sometimes even free if you can deal with a good one that’s very old and needs six burly friends and a forklift truck to move.

There is another way to acquire a lathe, and it’s one that [Sek Austria] demonstrates in the video below the break: build your own. It’s a fascinating demonstration of how machine tools evolved with each successive generation made by the last at every increasing precision. He achieves good-enough construction from a welded steel frame with little more than hand tools, and though his result is by no means a perfect lathe it does allow him to achieve the next level of machining precision. Off the shelf come a set of optical guide rails and linear bearings along with a chuck and tool holder, but the rest is all his. And the washing machine motor driving it is a touch of pure class, even though he is embarrassed enough to cover it with a glove for filming. Sometimes in our community, we adopt the sledgehammer to crack a nut methodology, using  CNC or similar techniques to fabricate things that can be made more speedily with less accomplished methods. We couldn’t help wincing at his hammering in the vice to create the lead screw nut bracket, though.

As homemade lathes go, this one is surprisingly conventional. Others have been fashioned from engine parts, or concrete.

Thanks [Xavier] for the tip.

Continue reading “Assembling A Lathe From Not A Lot”

Homebrew Laptop Makes A Statement With A Steampunk Theme

Some may argue, but your choice of computing hardware says exactly zero about you, at least when you buy off the shelf. Your laptop or PC is only one of millions, and the chances of seeing someone with the exact same machine are pretty good. If you want to be different, you really need to build something yourself.

This homebrew steampunk laptop does a great job at standing out from the crowd. [Starhawk]’s build is an homage to the Steampunk genre, in a wooden case with brass bits and bobs adorning. The guts are based on an Intel motherboard, a bit dated but serviceable enough for the job. There’s a touch-capable LCD in the lid, and we absolutely love the look of the keyboard with its retro-style chrome and phenolic keycaps. Exposed USB cables run to and fro, and the braided jackets contribute to the old-timey look. The copier roller as a lid hinge is a nice touch too.

[Starhawk]’s build log is long and detailed, and covers the entire build. We’ve seen interesting builds from him before, like this junk-bin PC build for a friend in need. Looks like this one is for personal use, though, and we can’t blame him.

Protect Your Coffee Machine With A Filter Monitor

Coffee machines are delicate instruments, likely to be damaged by limescale. Thus they will often have a filter present, but filters have a limited capacity of water upon which they can be effective. At Make Bournemouth, they have approached the problem of when to change filters on their coffee machine by applying a bit of high-tech.

The water passing through the filter is monitored by a couple of DFRobot TDS modules, a flow meter, and a DS18B20 temperature sensor. The data from these is fed into an ESP32 dev board, which makes it available by a web interface for handy accessibility through a smartphone. It can then be used to work out how much of the filter’s capacity has been used, and indicate when a replacement is needed. All the code is available in a GitHub repository, and with luck now Bournemouth’s hackerspace will never see the coffee machine succumb to limescale.

Of course, this isn’t the first coffee maker water hack we’ve brought you. A year or two ago we told you about somebody making their pod coffee maker auto-fill too.

Simple Trick For LEDs On Solderless Breadboards

Sometimes the most useful hacks are also the simplest ones. A case in point is the LED and resistor assembly that [Skippy] recently posted on his blog. The idea is to solder up some pre-made indicators with integrated resistors to save space on the breadboard when prototyping — instead of four slots, you only use two per LED. This is about as easy a trick as you can imagine, but it has the hallmark of a classic hack: a high utility-to-work ratio.

The deluxe assembly uses a two-pin header as a base to plug into the breadboard. This, of course, could be optional since some breadboards have a memory for the widest pin previously inserted — using header pins may eventually make the slots a little flaky for smaller component leads. But, if you’re mostly using header pins in the breadboard anyway, this is a good way to avoid kinking the leads.

While there are LEDs available with integrated dropping resistors, building your own means you can use whatever LEDs you prefer — or simply have on hand — and adjust the resistor value for different voltages or to adjust the brightness. And for those of you who plug in LEDs without current-limiting resistors, we’re going to assume that you’ve thoroughly researched whatever is driving them and done the math to ensure they’re safe. Or not: they’re your LEDs after all.

We previously featured a no-solder breadboarding trick for SMD LEDs. What’s your favorite solderless breadboard hack? Let us know in the comments below.

Thanks to [Roboteernat] for the tip!

Lego Goes Underwater, With Model Submarines And Missiles

It is fun to make a toy vehicle with Lego, but it is even more fun to make one that actually works. [PeterSripol] made two Lego submarines, and you can see them in the video below. There isn’t a lot of build information, but watching the subs fire missiles and then getting destroyed by depth charges is worth something.

One of the subs is larger and uses a rudder to steer. It was apparently harder to control than the other smaller sub which used two motors thrusting opposite one another to steer. Looks like fun.

Continue reading “Lego Goes Underwater, With Model Submarines And Missiles”

Hail To The King, Baby: Reverse Engineering Duke

If you’re a fan of DOS games from the 1990s, you’ve almost certainly used DOSBox to replay them on a modern computer. It allows you to run software in a virtual environment that replicates an era-appropriate computer. That’s great for historical accuracy, but doesn’t do you much good if you’re trying to leverage modern computing power to breathe some new life into those classic titles. For that, you need to dig in a little deeper.

For the last two and a half years, [Nikolai Wuttke] has been doing exactly that for 1993’s Duke Nukem II. The end result is RigelEngine, an open source drop-in replacement for the original game binary that not only runs on a modern Windows, Linux, or Mac OS machine, but manages to improve on the original in a number of ways. An accomplishment made even more impressive once you learn that the original source code for the game has been lost to time, and that he had to do everything blind.

In a blog post chronicling his progress so far, [Nikolai] explains the arduous process he used to make sure his re-implementation was as accurate as possible to the original game. He spent untold hours studying the original game’s disassembled code in Ida Pro, handwriting out pages of notes and pseudocode as he tried to understand what was happening behind the scenes. Once a particular enemy or element of the game was implemented in RigelEngine, he’d record the gameplay from his version and compare it to the original frame by frame so he could fine tune the experience.

So what’s the end result of more than two years of work and over 25K lines of code? Thanks to the incredible advancements in computing power since the game’s release nearly 30 years ago, [Nikolai] has managed to remove the need for loading screens. His engine is also capable of displaying an unlimited number of particle effects on the screen at once, and multiple sound effects can now be played simultaneously. In the future he’s looking to implement smooth character movement (in the original game, movement was in 8 pixel increments) and adaptive volume for sound effects based on their distance from Duke. Ultimately, RigelEngine should be able to replace the original graphics with new high resolution textures once some issues with the rendering buffer gets sorted out.

It’s hard to overstate how important some of these classic games are to those who grew up playing them. With John Romero still releasing DLC for the original DOOM and hackers disassembling nearly 40 year old games to fix bugs, it doesn’t seem like they’re in any danger of being forgotten.

Continue reading “Hail To The King, Baby: Reverse Engineering Duke”