Crypto Features: They’re Not For Girls

If you have worked in an office that contained a typewriter, the chances are you’ve been in the workplace for several decades. Such has been the inexorable advance of workplace computing. It’s a surprise then to discover that one of the desirable toys from many decades ago, the Barbie Typewriter, is still available. Are hipster parents buying toy versions of vintage office machinery for their children to use in an ironic fashion?

Gone though are the plastic versions of mechanical typewriters that would have been the property of a 1970s child. The modern Barbie typist has an electronic typewriter at her fingertips, with a daisy-wheel printer. We’re treated to a teardown of the recent models courtesy of Crypto Museum, who reveal a hidden feature, Barbie’s typewriter can encrypt and decrypt messages.

Now the fact that a child’s toy boasts a set of simple substitution cyphers is hardly the kind of thing that will set the pulses of Hackaday readers racing, after all simple letter frequency analysis is hardly new. But of course, the Crypto Museum angle is only part of this story.

This toy is made in a suitably eye-watering shade of pink, and sold by Mattel with Barbie branding. But it didn’t start life as a Barbie product, instead it’s licensed from the Slovenian manufacturer Mehano. The original toy makes no secret of the crypto functions, but though they persist in the software on the Barbie version they are mysteriously absent from the documentation. The achievements of American women are such that they have given us high-level languages and compilers, or their software has placed men on the Moon, yet it seems when they are young a brush with elementary cryptology is beyond them in the way that it isn’t for their Slovenian sisters. This is no way to nurture a future Grace Hopper or Margaret Hamilton, though sadly if your daughter is a Lisa Simpson this is just one of many dumbed-down products she’ll be offered.

If you see a Barbie electronic typewriter in a yard sale or similar, and you can pick it up for a few dollars, buy it. It’s got a simple daisywheel printer mechanism that looks eminently hackable. Just don’t buy it for your daughter without also printing out the Crypto Museum page for her as the missing manual.

When the Martian lander running her code has touched down safely, you’ll be glad you did.

Via Adafruit.

Hacking A Device That Lives Inside The Matrix

[Gerardo Iglesias Galván] decided he wanted to try his hand at bug-bounty hunting — where companies offer to pay hackers for finding vulnerabilities. Usually, this involves getting a device or accessing a device on the network, attacking it as a black box, and finding a way in. [Gerrado] realized that some vendors now supply virtual images of their appliances for testing, so instead of attacking a device on the network, he put the software in a virtual machine and attempted to gain access to the device. Understanding the steps he took can help you shore up your defenses against criminals, who might be after more than just a manufacturer’s debugging bounty.

Continue reading “Hacking A Device That Lives Inside The Matrix”

Insanely Hot Oven Makes Pizza In 45 Seconds: Avidan Ross On Food Hacking

In the future, nobody will have to cook for themselves: the robots will take care of it all for us. And fast! At least if folks like [Avidan Ross] have their way. He gave a talk on his 45-second pizza robot, and other DIY food automations, at the 2016 Hackaday SuperConference, and you’re invited to pretend that you were there by watching this video.

Why would you want to build machines to build food? It’s a serious challenge, and there’s always going to be room to improve and new frontiers to cross. There’s immediate feedback: [Avidan] gets to taste and tweak in a quick feedback cycle. And finally, everybody eats, so it’s not hard to find “test subjects” for his work.

Continue reading “Insanely Hot Oven Makes Pizza In 45 Seconds: Avidan Ross On Food Hacking”

Taking It To Another Level: Making 3.3V Speak With 5V

If your introduction to digital electronics came more years ago than you’d care to mention, the chances are you did so with 5V TTL logic. Above 2V but usually pretty close to 5V is a logic 1, below 0.8V is a logic 0. If you were a keen reader of electronic text books you might have read about different voltage levels tolerated by 4000 series CMOS gates, but the chances are even with them you’d have still used the familiar 5 volts.

This happy state of never encountering anything but 5V logic as a hobbyist has not persisted. In recent decades the demands of higher speed and lower power have given us successive families of lower voltage devices, and we will now commonly also encounter 3.3V or even sometimes lower voltage devices. When these different families need to coexist as for example when interfacing to the current crop of microcontroller boards, care has to be taken to avoid damage to your silicon. Some means of managing the transition between voltages is required, so we’re going to take a look at the world of level shifters, the circuits we use when interfacing these different voltage logic families.

Continue reading “Taking It To Another Level: Making 3.3V Speak With 5V”

Breathe Easy With A Laser Cutter Air Filter

A laser cutter is a great tool to have in the shop, but like other CNC machines it can make a lousy neighbor. Vaporizing your stock means you end up breathing stuff you might rather not. If you’re going to be around these fumes all day, you’ll want good fume extraction, and you might just consider a DIY fume and particulate filter to polish the exhausted air.

15203365_644939182347358_619032134291602214_nWhile there’s no build log per se, [ZbLab]’s Facebook page has a gallery of photos that show the design and build in enough detail to get the gist. The main element of the filter is 25 kg of activated charcoal to trap the volatile organic compounds in the laser exhaust. The charcoal is packed into an IKEA garbage can around a prefilter made from a canister-style automotive air cleaner – [ZbLab] uses a Filtron filter that crosses to the more commonly available Fram CA3281. Another air cleaner element (Fram CA3333) makes sure no loose charcoal dust is expelled from the filter. The frame is built of birch ply and the plumbing is simple PVC. With a 125mm inlet it looks like this filter can really breathe, and it would easily scale up or down in size according to your needs.

No laser cutter in your shop to justify this filter, you say? Why not build one? Or, if you do any soldering, this downdraft fume extractor is a good way to clear the air.

Self-Driving Cars Are Not (Yet) Safe

Three things have happened in the last month that have made me think about the safety of self-driving cars a lot more. The US Department of Transportation (DOT) has issued its guidance on the safety of semi-autonomous and autonomous cars. At the same time, [Geohot]’s hacker self-driving car company bailed out of the business, citing regulatory hassles. And finally, Tesla’s Autopilot has killed its second passenger, this time in China.

At a time when [Elon Musk], [President Obama], and Google are all touting self-driving cars to be the solution to human error behind the wheel, it’s more than a little bold to be arguing the opposite case in public, but the numbers just don’t add up. Self-driving cars are probably not as safe as a good sober driver yet, but there just isn’t the required amount of data available to say this with much confidence. However, one certainly cannot say that they’re demonstrably safer.

Continue reading “Self-Driving Cars Are Not (Yet) Safe”

Body Cardio Weighing Scale Teardown

If you weigh yourself by standing on a bathroom scale, not liking the result, then balancing towards one corner to knock a few pounds off the dial, you are stuck in a previous century. Modern bathroom scales have not only moved from the mechanical to the electronic, they also gather body composition measurements and pack significant computing power.

Yet they’re a piece of domestic electronics that sits in our bathroom and rarely comes under scrutiny. How do they work, and what do they contain? The team at November Five tore down a top-of-the-range Withings Body Cardio scale to find out.

After a struggle with double-sided sticky pads, the scale revealed its secrets: a simple yet accomplished device. There are four load cells and the electrodes for the body measurement, and the PCB. On the board is a 120 MHz ARM Cortex M4 microcontroller, a wireless chipset, battery management, and the analogue measurement chipset. This last is particularly interesting, a Texas Instruments AFE4300, a specialised analogue front-end for this application. It’s a chip most of us will never use, but as always an obscure datasheet is worth a read.

The rather pretty fractal antenna.
The rather pretty fractal antenna.

Finally, the wireless antenna is not the normal simple angular trace you’ll be used to from the likes of ESP8266 boards, but an organic squiggle. It’s a fractal antenna, presumably designed to present a carefully calculated bandwidth to the chipset. A nice touch, though one the consumer will never be aware of.

We’ve shown you quite a few bathroom scales over the years. There was this wisecracking Raspberry Pi scale, this scale reverse engineered to gather weight data, and this one laid bare for use as a controller.