Minecraft In Minecraft On The CHUNGUS II

Minecraft is a simple video game. Well, it’s a simple video game that also has within it the ability to create all of the logic components that you’d need to build a computer. And building CPUs in Minecraft is by now a long-standing tradition.

Enter CHUNGUS II. The Computational Humongous Unconventional Number and Graphics Unit by [Sammyuri] is the biggest and baddest Minecraft computer that we’ve ever seen. So big, in fact, that it was finally reasonable to think about porting a stripped-down version of Minecraft to the computer itself. Yes, that’s right, Minecraft running in Minecraft. (Video embedded below.) Writing the compiler and programming the game brought two more hackers to the party, [Uwerta] and [StackDoubleFlow], and quite honestly, we’re amazed that a team as small as three people pulled this off.

Anyway, once you’ve picked your jaw up off the floor, also check out [Sammyuri]’s video on just the CHUNGUS II computer itself. (Also embedded below.) Seeing the architecture is interesting, even if you don’t speak Redstone as fluently as our heroes here. We love that the assembler creates a block of ROM – out of Minecraft blocks – that you can then cut/paste into the game’s reality.

For a “simple” game about breaking blocks and punching trees, Minecraft has inspired hackers to make the game better both inside and outside of the real world. For instance, for the latest in performant open-source Minecraft servers, check out Folia. Maybe, one day, they’ll build CHUNGUS II in the real world. It could happen.

Thanks [dbcdr] for the tip!

Continue reading “Minecraft In Minecraft On The CHUNGUS II”

A BlackBerry Classic-sized device with a BlackBerry keyboard and an e-ink screen. It sits next to an e-ink smartwatch with a grey bezel that matches the 3d printed enclosure of the messaging device.

Beepberry Brings Memory LCD And A Physical Keyboard To Your Pi

As the 2020s are seeing the return of the flip phone, could we see a rebirth of other device form factors from before the slab era? [Eric Migicovsky] and [SQFMI] are working on a new physical keyboard device with the Beepberry.

Featuring a high contrast Sharp Memory LCD and the tried-and-true reliability of a BlackBerry keyboard, the device is designed for messaging all your contacts over WiFi without the distractions of a smartphone. As this is a collaboration with the Matrix-based chat service Beeper, the device is designed around the CLI version of their client.

If you want to eschew the distraction-free nature of the device, since it’s Pi-powered it can run any ARM Linux programs you might want as well being a playground for hardware mods. Add a DSP and headphone jack and this could be a neat little pianobar player. [Migicovsky] stresses this is currently a dev board and by no means should be assumed to be an off-the-shelf piece of kit.

If this looks like a familiar reuse of a BlackBerry keyboard, you might be remembering [arturo182]’s Keyboard Featherwing or this LoRa Messenger.

Continue reading “Beepberry Brings Memory LCD And A Physical Keyboard To Your Pi”

Hack Simple

Here at Hackaday, we definitely love to celebrate the hard hacks: the insane feats of reverse engineering, the physics-defying flights of fancy, or the abuse of cutting edge technology. But today I’d like to raise a rhetorical glass in tribute of the simple hacks. Because, to be perfectly honest, the vast majority of my hacks are simple hacks, and it’s probably the same for you too. And these often go unsung because, well, they’re simple. But that doesn’t mean that something simple can’t be helpful.

Case in point: an ESP8266 press-buttons device that we featured this week. It doesn’t do much. It’s main feature is that it connects to a home automation network over WiFi and enables you to flip three relays. Wires coming off the board are to be soldered to the not-yet-smart device in question, simply connected to each side of the button you’d like to press. In the example, a coffee machine was turned on and the “go” button pressed, automating one of the most essential kitchen rituals. While recording the podcast, I realized that I’ve built essentially this device and have it controlling our house’s heating furnace.

For the experienced hacker, there’s not much here. It’s a simple board design, the software heavily leverages ESPHome, so there’s not much work on that front either. But imagine that you lacked any of the wide-ranging skills that it takes to make such a device: PCB layout, ESP8266 software wrangling, or the nuances of designing with relays. You could just as easily build this device wrong as right. The startup costs are non-trivial.

Making a simple design like this available to the public isn’t a technical flex, and it’s not contributing to the cutting edge. But it just might be giving someone their first taste of DIY home automation, and a sweet taste of success. There’s not much easier than finding a switch and soldering on two wires, but if that’s the spark that pushes them on their path to greater hacks, that’s awesome. And even if it doesn’t, at least it’s another appliance under user control, connected to a private WiFi network rather than spying you out and phoning home to Big Toaster.

So here’s to the simple hacks!

A Bullet Time Video Booth You Can Build

[Sebastian Staacks] built a video booth for his wedding, and the setup was so popular with family, that it was only fitting to do one better and make some improvements to the setup, Matrix-style. The “bullet time” video effect was introduced by the classic movie franchise and makes for a splendid video transition effect for video montages.

Hardware-wise, the effect is pretty expensive, requiring many cameras at various angles to be simultaneously triggered, in order to capture the subject in a fixed pose with a rotating camera. Essentially you need as many cameras as frames in the sequence, so even at 24 frames per second (FPS), that’s a lot of hardware. [Sebastian] cheated a bit, and used a single front-facing camera for the bulk of the video recording, and twelve individual DSLRs covering approximately 90 degrees of rotation for the transition. More than that is likely impractical (not to mention rather expensive) for an automated setup used in as chaotic an environment as a wedding reception! So, the video effect is quite the same as in the movies, as this is a fixed pose, but it still looks pretty good.

A Pico-W hidden in there providing a BT connected interface button

[Sebastian] did consider going down the Raspberry Pi plus Pi-cam route, but once you add in a lens and the hassle of the casing and mounting hardware, not to mention availability and cost, snagging a pile of old DLSRs looks quite attractive. Connectivity to the camera is a simple 3.5 mm jack for the focus and trigger inputs, with frames read out via a USB connection.

For practical deployment, the camera batteries were replaced with battery eliminator adapters which step-up the 5 V from the USB connection to the 7.4 V the cameras need, but the current spike produced by the coordinated trigger of all twelve cameras overwhelmed any power supply available. The solution, to be practical, and not at all elegant, is to just have lots of power supplies hidden in a box. Sometimes you’ve just got a job to do.

Reproducing this at home might be a bit awkward unless you have exactly the same hardware to hand, but the principles are sound, and there are a few interesting details to dig into, if you were so inclined.

We’ve seen a few takes on the bullet-time effect over the years. We featured a Raspberry Pi-based hack, a couple of years back, and earlier still, someone even built a rig to take bullet-time videos of Tesla coil discharges, because why not?

Continue reading “A Bullet Time Video Booth You Can Build”

Restoring Dot Matrix Printer Cartridges For 2023

The noise of a dot matrix printer is probably as synonymous with 1980s computing as the modem handshake would become with the desktop experience a decade or more later. But unlike the computers that would have driven it, a dot matrix printer can still be a very useful device here in 2023. And why not? They’re cheap to operate and can produce surprisingly good quality when paired with suitable drivers. There is a snag though; while cartridges for popular models can still be found, there are plenty whose consumables are long gone. [Drygol] had an Apple ImageWriter II with exactly that problem, and after finding all his cartridges were non-functional, took a look at how to bring them back.

Inside a dot matrix cartridge is a fabric ribbon similar to the one that might once have been found on a typewriter. It’s not on a roll but folded into the space, and it’s drawn through by a pair of rollers. Not only had the ink on the fabric dried out, but the foam on the rollers had also disintegrated. Some careful dismantling, and a solution presented itself in the form of O-rings to replace the rollers. Those and a bit of mineral oil to soften the ink had the vintage Apple printing again as though it was the ’80s once more.

It’s a subject we’ve looked at before, as it turns out WD-40 makes a good ink solvent.

Microscopic images of E. coli before (left) and after disinfection. The bacteria died quickly after sunlight produced chemicals that caused serious damage to the bacterial cell membranes, as shown in the red circles. (Image credit: Tong Wu/Stanford University)

Generating Hydrogen Peroxide For Disinfecting Water Using A Solar-Driven Catalyst

Ensuring that water is safe to use and consume can be a real chore, especially for those who live in impoverished areas without access to safe drinking water. Here is where researchers at Stanford University hope that their recently developed low-cost catalyst can make a difference. This catalyst comes in the form of nano-sized particles (nanoflakes) consisting out aluminium oxide, molybdenum sulfide, copper and iron oxide. When exposed to sunlight,  the catalyst performs like a photon-sensitive semiconductor/metal junction (Cu-MoS2), with the dislodged electrons going on to react with the surrounding water, resulting in the formation of hydrogen peroxide (H2O2) and hydroxy radicals.

Disinfectant powder is stirred in bacteria-contaminated water (upper left). The mixture is exposed to sunlight, which rapidly kills all the bacteria (upper right). A magnet collects the metallic powder after disinfection (lower right). The powder is then reloaded into another beaker of contaminated water, and the disinfection process is repeated (lower left). (Image credit: Tong Wu/Stanford University)

Waterborne diseases are very common, with even the US reporting 7,000 deaths and 120,000 hospitalizations in 2021, according to the US CDC, and many more affected worldwide. Much of the harm is done by microbes, in particular bacteria such as E. coli, which are prolific in aquatic environments. By using this catalyst powder in contaminated water, the researchers reported that the Escherichia coli colonies in the tested samples were fully eradicated after a 60 second exposure to sunlight.

The reason for this is that hydrogen peroxide and similar reactive oxygen species are highly destructive to living cells, yet they are simultaneously very safe. Because of their high reactivity they are very unstable and thus short-lived. This is useful when the water with the now very dead microbes is consumed afterwards, with the catalyst itself being ferromagnetic and thus easily separated using a magnet.

With this proof of concept in hand, it’d be interesting to see what the product will look like, especially when it comes to the final separation step and making this as easy as possible. Since the catalyst is not consumed or presumably contaminated, it can last pretty much forever, making it an attractive alternative to water purification tablets and expensive filtration systems.

(Heading image: Microscopic images of E. coli before (left) and after disinfection. The bacteria died quickly after sunlight produced chemicals that caused serious damage to the bacterial cell membranes, as shown in the red circles. (Image credit: Tong Wu/Stanford University) )

Where Exactly Did That Network Packet Come From?

Have you ever noticed that some websites can figure out, at least roughly, where you are? Sometimes they use it to find you a closer content provider. Or they might block you from seeing certain things while offering you other things specific to your location. This is possible because there are databases that map IPs to locations. [Mark Litwintschik] looks at using those databases from an API or downloading them into your own database. He also shows some very large database queries, which is interesting, too. He uses IPInfo, although there are other providers. Some only provide a limited number of lookups, but there are plenty of free tiers for low-volume usage.

The database changes every day. Of course, each provider has a different way of getting data, and so there are differences. [Mark] compares the IPInfo dataset against MaxMind’s also free database. That involved comparing over 3 billion records! Actually, the 3 billion are the number of IPs that matched up in both databases. There were an additional 118 million that didn’t match and 34 million that were not in the MaxMind database.

Continue reading “Where Exactly Did That Network Packet Come From?”