Preview Markdown In The Terminal With Bash

Markdown has become an extremely popular way to document source code and other projects, thanks in no small part to how well web-based services like GitHub render it. Just sprinkle a few extra characters into a regular text file, and all of a sudden it looks like you know what you’re doing. Unfortunately, there are some places where markdown won’t actually render, and you’ll be stuck looking at those extra characters.

But thanks to MarCLIdown, the terminal doesn’t have to be one of those places. Written by [NihaAlGhul], this simple tool takes a given markdown file and spits out a fairly impressive rendering — and you don’t even need to have one of those fancy new GPU-accelerated terminals. Most impressively, the whole thing is implemented as a single Bash script.

Continue reading “Preview Markdown In The Terminal With Bash”

3D Printing A Bottle Labeling Assembly Line

We’re not completely sure why [Fraens] needs to label so many glass bottles at home. Perhaps he’s brewing his own beer, or making jams. Whatever the reason is, it was justification enough to build an absolutely incredible labeling machine that you could mistake for a piece of industrial gear…if it wasn’t for the fact that majority of the device is constructed out of orange 3D printed plastic.

As we’ve come to expect, [Fraens] has documented the build with a detailed write-up on his site — but in this case, you’ve really got to watch the video below to truly appreciate how intricate the operation of this machine is. Watching it reminded us of an episode of How It’s Made, with the added bonus that you not only get to see how the machine functions, but how it was built in the first place.

Nearly every part of the machine, outside the fasteners, smooth rods, a couple of acrylic panels, and a few sections of aluminum extrusion, were 3D printed. You might think this would result in a wobbly machine with sloppy tolerances, but [Fraens] is truly a master of knowing when and where you can get away with using printed parts. So for example, while the glue rollers could be done in printed plastic, they still needed metal rods run through the middle for strength and proper bearings to rotate on.

Looking at the totality of this build, it’s hard to imagine how it could have been accomplished via traditional methods. Sure you could have sourced the rollers and gears from a supplier to save some plastic (at an added expense, no doubt), but there’s so many unique components that simply needed to be fabricated. For example, all the guides that keep the label heading in the right direction through the mechanism, or the interchangeable collars which let you select the pattern of glue which is to be applied. Maybe if you had a whole machine shop at your disposal, but that’s a lot more expensive and complex a proposition than the pair of desktop 3D printers [Fraens] used to crank out this masterpiece.

If the name (and penchant for orange plastic) seems familiar, it’s because we’ve featured several builds from [Fraens] in the past. This one may be the most technically impressive so far, but that doesn’t diminish the brilliance of his vibratory rock tumbler or cigarette stuffing machine.

Continue reading “3D Printing A Bottle Labeling Assembly Line”

ESP32 Powers Single-PCB ZX Spectrum Emulator

When word first got out that the Chinese board houses were experimenting with full color silkscreens, many in our community thought it would be a boon for PCB art. Others believed it would be akin to cheating by removing the inherent limitations of the medium. That’s not a debate that will be solved today, but here we have an example of a project that’s not only making practical application of the technology, but one that arguably couldn’t exist in its current form without it: a single-PCB ZX Spectrum emulator developed by [atomic14].

There basics here are, well, they’re pretty basic. You’ve got an ESP32-S3, a TFT display, a micro SD slot, and the handful of passives necessary to tie them all together. What makes this project stand out is the keyboard, which has been integrated directly into the PCB thanks to the fourteen pins on the ESP32-S3 that can be used as touch sensor input channels. There are issues with detecting simultaneous keypresses, but overall it seems to work pretty well.

Continue reading “ESP32 Powers Single-PCB ZX Spectrum Emulator”

Hackaday Podcast Episode 275: Mud Pulse Telemetry, 3D Printed Gears In Detail, And Display Hacking In Our Future

Join Hackaday Editors Elliot Williams and Tom Nardi for a review of the best stories to grace the front page of Hackaday this week. Things kick off with the news about Raspberry Pi going public, and what that might mean for everyone’s favorite single-board computer. From there they’ll cover the technology behind communicating through mud, DIY pressure vessels, pushing the 1983 TRS-80 Model 100 to its limits, and the reality of 3D printing how that the hype has subsided. You’ll also hear about modifying Nissan’s electric vehicles, bringing new life to one of the GameCube’s oddest peripherals, and an unusually intelligent kayak.

The episode wraps up with some interesting (or depressing) numbers that put into perspective just how much copper is hiding in our increasingly unused telephone network, and a look at how hardware hackers can bend the display technology that’s used in almost all modern consumer electronics to our advantage.

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Grab the Collector’s Edition MP3 of this week’s episode right here. Certificate of authenticity not included.

Continue reading “Hackaday Podcast Episode 275: Mud Pulse Telemetry, 3D Printed Gears In Detail, And Display Hacking In Our Future”

2024 Business Card Challenge: T-800’s 555 Brain

In Terminator 2: Judgment Day it’s revealed that Skynet becomes self-aware in August of 1997, and promptly launches a nuclear attack against Russia to draw humanity into a war which ultimately leaves the door open for the robots to take over. But as you might have noticed, we’re not currently engaged in a rebellion against advanced combat robots.

The later movies had to do some fiddling with the timeline to explain this discrepancy, but looking at this 2024 Business Card Challenge entry from [M. Bindhammer] we think there’s another explanation for the Judgement Day holdup — so long as the terminators are rocking 555 timers in their chrome skulls, we should be safe.

While the classic timer chip might not be any good for plotting world domination, it sure does make for a great way to illuminate this slick piece of PCB art when it’s plugged into a USB port. Exposed copper and red paint are used to recreate the T-800’s “Brain Chip” as it appeared in Terminator 2, so even when the board isn’t powered up, it looks fantastic on display. The handful of components are around the back side, which is a natural place to put some info about the designer. Remember, this is technically supposed to be a business card, after all.

Continue reading “2024 Business Card Challenge: T-800’s 555 Brain”

Baldur’s Gate III Comes To The TRS-80 Model 100

To say that Tandy’s TRS-80 Model 100 was an influential piece of computer hardware would be something of an understatement. While there’s some debate over which computer can historically be called the “first laptop”, the Model 100 was early enough that it helped influence our modern idea of portable computing. It was also one of the most successful of these early portables, due in part to how easy it was to write your own software for it using the built-in BASIC interpreter.

But as handy and capable as that integrated development environment might have been, it never produced anything as impressive as this Baldur’s Gate III “demake” created by [Alex Bowen]. Written in assembly, the game’s engine implements a subset of the Dungeons & Dragons Systems Reference Document (SRD), and is flexible enough that you could use it to produce your own ASCII art role-playing game that can run on either a Model 100 emulator like Virtual-T or on the real hardware.

Continue reading Baldur’s Gate III Comes To The TRS-80 Model 100″

Remixed Pi Recovery Kit V2 Offers Another Path

Just a few months after releasing the long-awaited second version of his Raspberry Pi Recovery Kit, [Jay Doscher] is back with an alternate take on his latest Pi-in-a-Pelican design. This slightly abridged take on the earlier design should prove to be easier and cheaper to assemble for those playing along at home while keeping the compromises to a minimum.

Probably the biggest change is that the Raspberry Pi 5 has been swapped out for its less expensive and more abundant predecessor. The Pi 4 still packs plenty of punch, but since it requires less power and doesn’t get as hot, it’s less temperamental in a build like this. Gone is the active cooling required by the more powerful single-board computer, and the wiring to distribute power to the Kit’s internal components has been simplified. The high-end military style connectors have been deleted as well. They looked cool, but they certainly weren’t cheap.

One of the most striking features of the original Recovery Kit was the front-mounted switches — both the networking type that’s intended to help facilitate connecting the Raspberry Pi to whatever hardware is left after the end of the world, and the toggles used to selectively control power to to accessory devices. Both have returned for the Recovery Kit 2B, but they’re also optional, with blank plates available to fill in their vacant spots.

Ultimately, both builds are fairly similar, but there’s enough changes between the two that it will have a notable impact on how much time (and money…) it would take you create one of your own. [Jay] has attempted to offer less intimidating versions of his designs in the past; while other creators take a “one and done” approach to their projects, he seems eager to go back and rethink problems that most others would have considered solved.