Flashing Sonoff Devices With Tasmota Gets Easier

Tasmota is an alternative firmware for ESP boards  that provides a wealth of handy features, and [Mat] has written up a guide to flashing with far greater ease by using Tasmotizer. Among other things, it makes it simple to return your ESP-based devices, like various Sonoff offerings, to factory settings, so hack away!

Tasmotizer is a front end that also makes common tasks like backing up existing firmware and setting configuration options like, WiFi credentials, effortless. Of course, one can’t really discuss Tasmotizer without bringing up Tasmota, the alternative firmware for a variety of ESP-based devices, so they should be considered together.

Hacks based on Sonoff devices are popular home automation projects, and [Mat] has also written all about what it was like to convert an old-style theromostat into a NEST-like device for about $5 by using Tasmota. A video on using Tasmotizer is embedded below, so give it a watch to get a head start on using it to hack some Sonoff devices.

Continue reading “Flashing Sonoff Devices With Tasmota Gets Easier”

A Farewell To Hackaday’s Favorite Falcon 9 Booster

With the notable exception of the Space Shuttle, rockets and spacecraft have always been considered disposable. It’s a slow and expensive way to travel, akin to building a new airliner for every flight, but it was the easiest option. These vehicles have always represented the pinnacle of engineering and material science of their time, and just surviving the trip to space once was an incredible accomplishment. To have another go around would have been asking too much of the technology. Even looking back on the Space Shuttle program, there’s plenty of debate about whether or not the reusable design really paid off in the end.

So SpaceX’s ability to land, refurbish, and refly the first stage of their Falcon 9 booster is no small accomplishment. After demonstrating the idea was possible in 2017, the company made numerous changes to the latest iteration of the rocket with reusability in mind. Known as Block 5, this version of the Falcon 9 is designed to be more survivable and require minimal servicing between flights. The company says its cheaper and faster to reuse the Block 5 than it would be to build a new one for each flight, allowing the company to approach spaceflight more like commercial aviation.

Falcon 9 launch and landing streaks
Falcon 9 launch and landing streaks. (Source: SpaceX)

With a fleet of Block 5 boosters now in rotation, SpaceX has given them serial numbers not unlike an airplane’s tail number. It might not be the kind of thing the general public would normally be aware of, but these serial numbers have allowed a dedicated community of space aficionados to keep track of the missions each booster has flown.

Unfortunately the story of one of these rockets, officially referred to as “Cores” in SpaceX parlance, was recently cut short. Core B1056, returning from the Starlink 4 mission on February 17th, failed to land on the autonomous spaceport drone ship (ASDS) Of Course I Still Love You and splashed down in the ocean. It’s still unclear what condition the booster was in after its soft landing in the water, but when the recovery ships returned to port empty handed, there was no question as to the fate of B1056.

From a purely business standpoint, the failure of any of SpaceX’s boosters means lost time and revenue. But in some ways B1056 had established itself as the vanguard of the fleet, managing to either set or break a number of records in its relatively short life. The destruction of the most thoroughly flight proven Block 5 booster is a stark reminder that there’s very little about spaceflight that could be called routine.

Continue reading “A Farewell To Hackaday’s Favorite Falcon 9 Booster”

Ghost Frame Shows People (and Cats) That Don’t Exist

[Dan]’s project from last year slipped past us until now, but his Ghost Frame is a great example of tying some modern hackable hardware together with online resources into a clean result, and we like the clear idea behind it. The Ghost Frame is so named because its purpose is literally to show pictures of people (and cats) that do not exist in the physical world.

This cat does not exist (thank goodness.) The computer doesn’t always get it right.

To make it all work, [Dan] used an Adafruit PyPortal as the guts of the device. It pulls images from ThisPersonDoesNotExist.com (which displays computer-assembled images of faces that do not represent actual living people) and displays them as though they were pictures in a digital photo frame. Formatting the image to show up nicely on the PyPortal’s 320 x 240 display took a little extra work; [Dan] solved that problem with a small PHP script to convert the image to a bitmap and scale it correctly in the process. The PyPortal makes fetching resources from the web simple, so this kind of fiddling didn’t present much of an obstacle to [Dan]’s artistic vision.

What about the cats? Well, it turns out that ThisCatDoesNotExist.com is also out there, and Ghost Frame can happily display computer-generated images of nonexistent cats as easily as it shows imaginary people. However, it does seem that the state of nonexistent cat generation is lagging somewhat behind that for people. The site usually gets it right, but results are occasionally (amusingly) bizarre as you can see here.

The PyPortal is perfect for this kind of project, and it can do more than just display static content. It has some GUI functionality baked in, as we saw showcased recently in this touchscreen Blackjack game.

Little Printer Dispenses Short Stories

We know how it happens. You buy a fancy new label printer, thinking this is the answer to your disorganized space, but soon entropy grabs the printer as well, and it becomes just another item in the pile. When you find such items later, though, they can spark ideas. The idea that struck [Eric Nichols] was to turn his diminutive thermal printer into a dedicated one for short stories.

Inspired by an article about a vending machine that dispenses stories selected by the reader’s time constraints, [Eric] took on the task of getting his Dymo LabelWriter 400 Turbo working in this new capacity. The first task was finding some continuous roll paper that would fit, because the official stock for this thing is all labels. He got lucky on the first try and a roll of 2 7/16″ receipt paper fit the bill perfectly.

The printer itself doesn’t have much brains; it prints bitmaps 672 bits wide, and as long as you care to make them. While the initial experiments succeeded in printing graphics, [Eric] needed a way to convert his stories to bitmapped text to send to the printer. The human-readable font file format known as BDF (glyph Bitmap Distribution Format) was a perfect fit, since a library to render it was readily available. On top of that, the open-source tool otf2bdf will convert a TrueType (TTF) font to BDF, completing his font-rendering chain.

[Eric] has these printers working with both Linux and windows, either one running on a PC where his software resides, and has it all well-documented on his site. With this in place, it’s simply a matter of coming up with the stories to print. We think it would be perfect for Hackaday dailies!

We’ve seen interesting hacks with disused printers before, like this ascii-art generating cartridge.

Origami Butterfly: A Flex PCB Adventure Unfolds

Flexible circuits have been around longer than you might expect, although they only recently rounded the bend and bounced into the hobbyist’s toolbox. When Boldport fanatic [Laura Lindzey] found out about them, her immediate dream project was to make an origami butterfly that does something cool, though she wasn’t sure what.

The idea she landed on is this: when the butterfly alights on a power-providing flower, it draws electrical nectar through its diode legs and lights up the LEDs on its wings. As long as one leg touches a ground petal and another touches a VIN petal, there will be light.

Though the idea may be simple, it’s the execution that’s mind-bending. After meticulous planning and a lot of paper prototyping, she sent off the gerbers and got version one back. The circuit worked, but assembly was tedious — not what you want when you’re trying to stay friendly with the other people in your PCB exchange club.

We imagine that hard creases are probably not what the flexible PCB purveyors have in mind, but this origami butterfly is an awesome exercise in what can be done with flexible PCBs. Not only that, it’s a great insight into some design rules where almost none exist, learned through firsthand experience. Every technology can benefit from trailblazers like [Laura].

If you want to do some flexible prototyping at home, just print your own pliable PCBs.

Printing Liquid Concrete

In the world of additive manufacturing, there’s always need materials being added to the list of potential filaments to use for printing objects. A method of rapid liquid printing of concrete designed by [Anatoly Berezkin] of Stoneflower 3D makes it possible to print a large variety of shapes from concrete while avoiding the negative effects of fast dehydration. The technique is based on an approach to printing polyurethanes, developed by MIT in 2017. This technique requires physically drawing a 3D object within a gel suspension using a chemical curing process. The gel allows gravity to not affect the printing process, as well as helping out with the curinng. Berezkin, an engineer and hobbyist working out of his garage, has published other work including print heads, ceramic printing, and micro printing sets.

One might be skeptical of whether the weight of the material could cause potential collapse during the printing process, or whether it is simply unrealistic to print objects given the time needed for the concrete to dry. Their demo shows the process being done in household items – bowls and tupperware – combining affordable items such as clay, concrete, and sand for the matrix and mortar. The viscous clay is strong enough to act as a good scaffold for keeping the concrete structure in place as it is being printed. As their video demonstrates, at least for simply objects, the process seems relatively fast.

RLPC doesn’t require toxic chemicals or proprietary components such as gels and suspensions. Its immersion of the final printed object in a humid environment is also superior to the standard process of liquid deposition for hardening concrete. Moreover, the process simply requires clay or retarded mortar for the matrix and mortar paste for turning into concrete. It’s advertised as eco-friendly, but just the simplicity of the materials needed for the matrix and mortar make this a promising technique.

Continue reading “Printing Liquid Concrete”

The Newbie’s Guide To JTAG

Do you even snarf?

If not, it might be because you haven’t mastered the basics of JTAG and learned how to dump, or snarf, the firmware of an embedded device. This JTAG primer will get you up to snuff on snarfing, and help you build your reverse engineering skills.

Whatever your motivation for diving into reverse engineering devices with microcontrollers, JTAG skills are a must, and [Sergio Prado]’s guide will get you going. He starts with a description and brief history of the Joint Test Action Group interface, from its humble beginnings as a PCB testing standard to the de facto standard for testing, debugging, and flashing firmware onto devices. He covers how to locate the JTAG pads – even when they’ve been purposely obfuscated – including the use of brute-force tools like the JTAGulator. Once you’ve got a connection, his tutorial helps you find the firmware in flash memory and snarf it up to a file for inspection, modification, or whatever else you have planned.

We always appreciate guides like these that cover the basics, since not everyone is in the same place in their hardware hacking journey. This puts us in the mood to crack something open and start looking for pins, if for no other reason than to get some practice.

[Thumbnail image source: LufSec]