Ken Shirriff Takes Us Inside The IC, For Fun

[Ken Shirriff] has seen the insides of more integrated circuits than most people have seen bellybuttons. (This is an exaggeration.) But the point is, where we see a crazy jumble of circuitry, [Ken] sees a riddle to be solved, and he’s got a method that guides him through the madness.

In his talk at the 2016 Hackaday SuperConference, [Ken] stepped the audience through a number of famous chips, showing how he approaches them and how you could do the same if you wanted to, or needed to. Reading an IC from a photo is not for the faint of heart, but with a little perseverance, it can give you the keys to the kingdom. We’re stoked that [Ken] shared his methods with us, and gave us some deeper insight into a handful of classic silicon, from the Z80 processor to the 555 timer and LM7805 voltage regulator, and beyond.

Continue reading “Ken Shirriff Takes Us Inside The IC, For Fun”

Liar’s 3D Printing: Multiple Colors With One Extruder

Good 3D printers now have multiple hot ends. You ought to be able to print in different colors or print support material. However, a lot of us don’t have multiple hot ends. Turns out, you don’t have to have multiple hot ends to print in multiple colors. To accomplish that you need a lot of patience and the willingness to tell bald-faced lies. Don’t worry, though, you’ll only be lying to some computer hardware and software, so that doesn’t count.

You may have seen people talk about putting a pause between layers to switch from one color to another. That works, but it limits your options. For example, if you want to put some colored text on a different colored background, you have to either have the text poke out, or it has to be “under” the background. It can’t be flush if you only have a single extruder and hot end. My method is a lot more trouble, but it can generate good results.

Keep in mind, with hobby-grade printers, multiple color printing has a lot of problems even if you do have multiple extruders. This isn’t a panacea. But you can get results on par with a similar printer that has multiple heads.

Bottom Line Up Front

Here are a few pictures of test prints that use this technique. A Monoprice Mini printer with the stock extruder and hot end created them using different PLA filament. On the left is a test cube, with a color spot in the middle of the layers (as well as some spots on the top surface you can’t see). To the right is a plate with my call sign in a contrasting color. It is hard to tell in the picture, of course, but there is one surface. The text is at the same height as the yellow surface.

I didn’t spend a lot of time making these prints since I was more focused on perfecting the methodology. The layer heights aren’t very fine, the infill is sparse, and the print speed was fast. However, you could invest time into making better-looking prints. You can also use the usual techniques that you use with a “real” multi-extrusion printer (such as priming towers, ooze shields, etc.).

Continue reading “Liar’s 3D Printing: Multiple Colors With One Extruder”

33C3: Chris Gerlinsky Cracks Pay TV

People who have incredible competence in a wide range of fields are rare, and it can appear deceptively simple when they present their work. [Chris Gerlinksy]’s talk on breaking the encryption used on satellite and cable pay TV set-top boxes was like that. (Download the slides, as PDF.) The end result of his work is that he gets to watch anything on pay TV, but getting to watch free wrestling matches is hardly the point of an epic hack like this.

The talk spans hardware reverse engineering of the set-top box itself, chip decapping, visual ROM recovery, software reverse analysis, chip glitching, creation of custom glitching hardware, several levels of crypto, and a lot of very educated guessing. Along the way, you’ll learn everything there is to know about how broadcast streams are encrypted and delivered. Watch this talk now.

Some of the coolest bits:

  • Reading out the masked ROM from looking at it with a microscope never fails to amaze us.
  • A custom chip-glitcher rig was built, and is shown in a few iterations, finally ending up in a “fancy” project box. But it’s the kind of thing you could build at home: a microcontroller controlling a switch on a breadboard.
  • The encoder chip stores its memory in RAM: [Chris] uses a beautiful home-brew method of desoldering the power pins, connecting them up to a battery, and desoldering the chip from the board for further analysis.
  • The chip runs entirely in RAM, forcing [Chris] to re-glitch the chip and insert his payload code every time it resets. And it resets a lot, because the designers added reset vectors between the bytes of the desired keys. Very sneaky.
  • All of this was done by sacrificing only one truckload of set-top boxes.

Our jaw dropped repeatedly during this presentation. Go watch it now.

200 Years Of The Stirling Engine

In the early years of the nineteenth century, steam engines were at work in a variety of practical uses. However, they were still imperfect in many ways. One particular problem were the boilers, that had a tendency to explode, causing injuries and fatalities. Reverend Dr. Robert Stirling, a Scottish clergyman, was concerned about the death toll from exploding boilers. Based on previous work by George Cayley (known for his pioneering work on aeronautics), Stirling filed his patent for a safer engine in 1816. That makes this year the bicentenary of this engine. The Stirling engine has the highest theoretical efficiency of any thermal engine. It is also a relatively simple machine. Unlike other types of engines, there are no valves, and that makes the mechanical design much simpler.

Continue reading “200 Years Of The Stirling Engine”

Long-range Electric Longboard Outlasts Rider

What could be better than a holiday ride past the palm trees and blue waters of a Mediterranean resort town? Perhaps making that ride on a long-range electric longboard of your own design will ice that particular cake.

And when we say long range, we mean it – an estimated 25 miles. The only reason [overclocker_kris] couldn’t come up with an exact number in the test drive seen below is that he got too tired to continue after mile 20. With a bit of juice left in the 64-cell battery pack, built from 18650s harvested from old laptops, the board was sure to have another five miles in it. A custom molded underslung carbon fiber enclosure houses the battery pack and electronics, including the receiver for the handheld remote control and the ESCs for the two motors. Motor mounts were fabbed from aluminum and welded to the trucks, with power transmission through timing belts to 3D-printed pulleys. It’s a good-looking build, and topping out at 22 MPH isn’t too shabby either.

We’ve covered fleets of electric longboards before, from those with entirely 3D-printed decks to one with a flexible battery pack. But we doubt any have the endurance and performance of this board.

Continue reading “Long-range Electric Longboard Outlasts Rider”

Hacking Together A Temperature Sensor For Boiling Milk

Ever have trouble justifying your hacking to anyone from another generation? [Domen] presented his mother with a custom-made device that monitors the milk temperature as it boils on the stove, preventing boil-over. And he made the device robust, simple to use, and foolproof. To his mom, it must look like he’s a wizard — able to conjure up home electronics out of solder smoke and some plywood.

Of course, we know better. Inside his gadget is a simple temperature sensor, an ATtiny841, a very nice home-made PCB, a buzzer, an LCD, and some pushbuttons. [Domen] rubbed together a few pre-existing libraries, and had a working prototype inside a nice wooden box on the quick. It’s a simple hack, but imagine how this must look to a muggle. For the detailed incantations, check out [Domen]’s GitHub for the project.

Continue reading “Hacking Together A Temperature Sensor For Boiling Milk”

OpenAg Is A Personal Food Computer

When a device that calls itself a personal food computer lands in your timeline, what image springs to mind? A cloud-connected diet aid perhaps, advertised on TV infomercials by improbably fit-looking Californian ladies crediting all their health to a palm-sized unit that can be yours for only 199 dollars. Fortunately that proved not to be the case, and on further reading our timeline story was revealed to be about a computerized farming device.

The OpenAg Food Computer from the MIT Media Lab Open Agriculture Initiative bills itself as:

“a controlled-environment agriculture technology platform that uses robotic systems to control and monitor climate, energy, and plant growth inside of a specialized growing chamber”

It takes the form of a tabletop enclosure in which so-called climate recipes to replicate different conditions for plant growth can be tested. It’s probably fair to say that in this most basic form it is more of an educational device than one for full-scale food production, though they are applying the same technologies at a much greater scale. Their so-called “Food servers” are banks of OpenAg environments in freight containers, which definitely could be used to provide viable quantities of produce.

The good news is that the project is open source, and their latest story is that they have released version 2.0(alpha) of the device. If you are interested, you can read the documentation, and find all the resources you need to build one on their GitHub repository. They page linked above has a video that’s very much of the slick PR variety rather than the nuts-and-bolts, so we’ve sought out their build video for you below the break instead. Continue reading “OpenAg Is A Personal Food Computer”