Hacking A Coffee Machine

The folks at Q42 write code, lots of it, and this implies the copious consumption of coffee. In more primitive times, an actual human person would measure how many cups were consumed and update a counter on their website once a day. That had to be fixed, obviously, so they hacked their coffee machine so it publishes the amount of coffee being consumed by itself. Their Jura coffee machine makes good coffee, but it wasn’t hacker friendly at all. No API, no documentation, non-standard serial port and encrypted EEPROM contents. It seems the manufacturer tried every trick to keep the hackers away — challenge accepted.

The folks at Q42 found details of the Jura encryption protocol from the internet, and then hooked up a Raspberry-Pi via serial UART to the Jura. Encryption consisted of taking each byte and breaking it up in to 4 bytes, with the data being loaded in bit positions 2 and 5 of each of the 4 bytes, which got OR’ed into 0x5B. To figure out where the counter data was stored by the machine in the EEPROM, they took a data dump of the contents, poured a shot of coffee, took another memory dump, and then compared the two.

Once they had this all figured out, the Raspberry-Pi was no longer required, and was replaced with the more appropriate Particle Photon. The Photon is put on a bread board and stuck with Velcro to the back of the coffee machine, with three wires connected to the serial port on the machine.

If you’d like to dig in to their code, checkout their GitHub repository. Seems the guys at Q42 love playing games too – check out 0h h1 and 0h n0.

Thanks [Max] for letting us know about this.

The Flowing Pixels Of Time Wait For No Man

The hourglass dramatically depicts the flow of time; gravity pulling grains of sand inevitably downward. So it is with the Bits of Time project by [Frank Andre]. The pixels drop, stopping only when the battery dies. Or, when your eggs are ready. (Pssst, it’s also on Hackaday.io.)

317661453832865647
Look, Ma! No GIF!

The project starts with a couple of [Frank’s] PixBlocks. A processor is added to one PixBlock to serve as the controller for both after they are connected via the serial bus. A tilt switch, with a debouncing circuit, is connected to an IO pin. This tells the processor the orientation of the box and therefore which way the pixels should flow.

Two  switches set the duration of the timer in 15 second increments. A third starts the timer. When the box is rotated the pixels start flowing in the opposite direction. With code available on GitHub the system can be programmed for other effects such as changing colors, flickering, or even text display.

You’ll agree this is a bit less intimidating than the MacGyver-ish kitchen timer we covered last year.

Continue reading “The Flowing Pixels Of Time Wait For No Man”

Super Slick, Super Portable Styrofoam Slicer

[The King of Random] always seems to have something fun going on in his shop, and his builds tend to be impressively complete. No exception to that rule is his recent hot-wire foam cutter that looks like a ton of fun both to build and to use.

Starting with a simple PVC tubing frame to form the bow of the cutter, the rig ends up looking a little like a scroll saw when [Random] is done with it. A generous work surface sits atop a wood frame, which houses the electrics. A light dimmer and step-down transformer control the cutting wire’s temperature, and the bow even pivots to allow the wire to make miter cuts. A nice final touch is that the frame holding the bow detaches from and store inside the base, making the whole thing portable. It even runs off solar or batteries if you need to work off-grid, which might be handy for quick repairs on the R/C flight line.

Speaking of R/C, check out these hot-wire cut foam airplane wings. And the completeness of this build gets us thinking about the potential for CNC foam cutters.

Continue reading “Super Slick, Super Portable Styrofoam Slicer”

The Price Of Space

Many engineers of a certain age have one thing in common: Their early interest in science and engineering came from watching the US and Russian space programs. To me, regardless of any other benefit from the space program (and there are many), that ability to inspire a future generation of engineers made the entire program worthwhile.

We live in a world where kids’ role models are more likely to be sports or entertainment figures that have regular visits to police stations, jails, and rehab centers. The value of having role models that “do science” is invaluable.

This time of the year is a dark time for NASA missions, though. On January 27, 1967, the Apollo I crew (Grissom, White, and Chaffee) died in a fire. The investigation led to NASA limiting how much Velcro you can use in a cabin and moving away from pure oxygen in the cabin.

Continue reading “The Price Of Space”

Two Portable Oscilloscopes: Shootout

Last time I introduced you to two relatively inexpensive and somewhat portable scopes: the EM125, which is a cross between a digital voltmeter and an oscilloscope, and the Wave Rambler, which is a scope probe with a USB connector attached. Both of the devices cost about $100, and both have their plusses and minuses.

This time, though, I wanted actually to look at some real-world signals. To make that easy, I grabbed yet another scope-like thing I had handy: an Embedded Artists Labtool. This is an interesting board in its own right. It is an LPC-Link programmer attached to an LPC ARM board that has several high-speed A/D channels. However, I’m not using any of that capability for now. The board also has a cheap ARM processor (an LPC812) on it that serves only to generate test signals. The idea is you can use the Labtool in a classroom with no additional equipment.

The Labtool’s demo CPU generates a lot of different signals, but with only one channel on the test scopes, it didn’t make sense to look at, for example, I2C data. So I stuck with two different test signals: a varying pulse width modulation signals and a serial UART transmitter.

Continue reading “Two Portable Oscilloscopes: Shootout”

Homemade Bulletproof Glass, Built And Tested

Hackers tend to stash away lots of stuff that seems useless, right up until it saves the day. This includes not just junk in our parts bin but brains full of tips and tricks for the shop. With that in mind, you might want to file away a few of the tips in [AvE]’s video of how he made bulletproof glass for a rainy day.

By his own admission, [AvE]’s video is a little disjointed, and the topic of the bulletproof glass is only covered at the beginning and again briefly at the end. Most of the video concerns the machining of a stout stand for the glass for testing on the range. There’s plenty to learn from the machining, though, and [AvE] is always good for a laugh, so the video is worth a watch. The bulletproof glass itself is part of a long-term project that [AvE] is releasing first to his Patreon patrons – a ridiculously over-built flashlight dubbed “The Midnight Sun”. His first two tries at laminating the Lexan discs were less that optimal, as both brands of cyanoacrylate glue clouded the polycarbonate. Stay tuned to the end of the video for the secret of welding Lexan together into an optically clear sandwich.

As for testing under fire, [AvE] sent the rig off to buddy [TAOFLEDERMAUS] for the hot lead treatment. The video after the break shows that the glass is indeed bulletproof, as long as the bullet in question is a .22LR. Not so much for the 9mm, though – that was a clear punch-through. Still, pretty impressive performance for homebrew.

If you want something that can stop an arrow, there’s a lot of materials science to be learned from the ancient Greeks.

Continue reading “Homemade Bulletproof Glass, Built And Tested”

Beautiful And Bizarre Boards

weirdboard
An odd board (piezo coupler), fabbed by OSHPark.

Recently I’ve been getting curious about interesting PCB shapes. In the past I’ve always used simple Polygons, perhaps rounding out the corners to make the design a little more aesthetically pleasing. The board to the right was my introduction to the possibilities of oddly shaped boards. It’s designed to couple with a piezo buzzer (used as an actuator). I’ve been planning to have it fabricated out of FPC (Flexible Printed Circuits), but with fabrication being so cheap I sent it to OSHPark to see what they’d make of it. OSHPark doesn’t have hard specs around internal routing, but in my experience they’re up to try anything (and they’re quality is always great). The width of the prongs on the PCB shown is 5mm. I figured it was a risk, and that it was likely the FR4 could break, but it came back great!

This has led me to the realization that my boards could look much more exciting than they do currently, and that our highly optimized modern PCB fabrication process provides a lot of room for experimentation. This article will discuss some of the options available when creating non-traditional PCBs.

Continue reading “Beautiful And Bizarre Boards”