Living off the Grid, on Water Power

When you think of living off the grid, you often think of solar power. But if you’ve got a good head, and enough flow, water power can provide a much more consistent flow of electrons. All it requires is a little bit of engineering, epic amounts of manual labor, and some tricks of the trade, and you’ll have your own miniature hydroelectric power plant.

[Homo Ludens], the playful ape, has what looks like a fantastic self-sufficient home/cabin in a beautiful part of Chile. His webpages are a tremendous diary of DIY, but the microhydro plant stands out.

You might expect that building a hydro plant involves a lot of piping, and trenching to lie that pipe in, but the exact extent, documented in many photos, is sobering. At places, the pipe needed to be bent, and [Homo Ludens] built a wire-mesh pipe heater to facilitate the work — with the help of a few friends to weigh the pipe down at either end and create the bend. The self-wound power transformer is also a beauty.

There’s a lot more detail here than we can possibly get into, so go check it out. And if you’re in the mood for more hydro, we’ve recently run a writeup of a less ambitious, but still tidy, project that you should see. Or you could just rip apart an old washing machine.

Thanks [Patrick] for the great tip!

Glitching USB Firmware for Fun

[Micah Elizabeth Scott], aka [scanlime], has been playing around with USB drawing tablets, and got to the point that she wanted with the firmware — to reverse engineer, see what’s going on, and who knows what else. Wacom didn’t design the devices to be user-updateable, so there aren’t copies of the ROMs floating around the web, and the tablet’s microcontroller seems to be locked down to boot.

With the easy avenues turning up dead ends, that means building some custom hardware to get it done and making a very detailed video documenting the project (embedded below). If you’re interested in chip power glitching attacks, and if you don’t suffer from short attention span, watch it, it’s a phenomenal introduction.

Continue reading “Glitching USB Firmware for Fun”

Hacker Places To Visit: Musée des Arts et Métiers in Paris

I think the restaurant is really close now...
I think the restaurant is really close now… CC: E. Broeks

The best way to pull off this deception: tell your significant other that you’d want nothing more than a romantic week in Paris. Arrive in Paris, stash your bags, and then take either the number three or eleven Metro. When you get to the station that looks like the inside of a giant steam engine, Arts et Métiers, get out. You’re now ten Euros away from one of the coolest museums a hacker could visit.

A significant portion of modern science’s beginnings is sitting in the Musée, polished and beautiful. Most of them are housed in cabinets so old they’re part of the exhibit. Now, the Henry Ford museum in Detroit Michigan is a monument to industrialization, and cool in its own right, but it leaves some questions unanswered. We’re all spoiled by desktop CNCs, precision measurement tools for pennies, and more. How did we get here? How did they measure a shaft or turn a screw before precision digital micrometers? What did early automation look like? Early construction?

Also did I mention it has Foucault’s Pendulum? You know, the one that finally convinced everyone that the Earth rotated around an axis? No big deal.

The museum has a few permanent exhibits: instruments scientifique, matériaux, construction, communication, énergie, mécanique et transports.

What kind of basic museum would have just one example of Pascal's work?
What kind of basic museum would have just one example of Pascal’s work? CC: Anton Lefterov

Instruments Scientifiques was one of my favorites. Not only did it include old scientific instruments, it had sections containing some of the original experiments in optics, computation, and more. For example you can see not just one but a few original examples of Pascal’s Pascaline, arguably the first mechanical calculators in the modern era to be used by the layman for every day calculation, signed by Pascal. It’s also worth noting just how incredible the workmanship of these tools are. They’re beautiful.

Matériaux was initially a disappointment as I entered it from the wrong end. For me it started of with a tragically boring and simplistic display on recycling materials designed primarily to torture children on field trips. Luckily it quickly ramped into a fascinating display on materials manufacturing technology. How did we go from hand looms to fully automated Jacquard looms (of which you can see some of the first examples) to our modern day robotic looms? How did ceramic evolve? What was early steelmaking like? It’s very cool and models are all in beautiful condition.

It reeked of copper, machine oil, and phenolics. They just don't make computers like they used to.
It reeked of copper, machine oil, and phenolics. They just don’t make computers like they used to.

By the time I got to Communication I was reaching the limit of my endurance and also what you can fit into a single day of the museum. It’s a large building. It was packed through many of the early examples of computing, television, and space. There was quite a display of early camera equipment. You could get close enough to some truly massive old computers to smell the still off-gassing phenolics.

Construction held my interest for a long time. It’s not my usual interest, but after living in Paris for a month or so I was absolutely burning with curiosity. How did anyone without a single powered crane or vehicle build so many buildings out of stone? It’s packed for four rooms and two stores from floor to ceiling of beautiful little wood models explaining exactly how.

Énergie was quite cool. It followed the development of steam power for the most part. It started with primitive waterwheels. Moved on to turbines. Then showed the gradual increase in complexity until the the modern day. It had some internal combustion too, but much of that was reserved for the transports section of the museum. It also had some interactive displays to entertain children and Hackaday writers. However they were in desperate need of an oiling and this is by far the most ear-piercingly squeaky exhibit in the whole building.

A lathe fit for a king!
A lathe fit for a king! CC: Rama

Mécanique is competing with instruments scientifique as my favorite exhibit. Have you ever wanted to see hundreds of examples of screw machines, old lathes, and the evolution of the milling machine? What about models of the factories that built steam engines or massive wagon wheels. They even had a lathe that belonged to a French king. Apparently he thought metalworking was the way to get in touch with the common people.

Transports was a nice exhibit, but it fell a little short for me since I’d been to the aforementioned Henry Ford museum. However, it covered the history of some of the European automobile manufacturers pretty well. Had a nice section on trains and subways. And even had some models of the ships used in the European Space Agency.

The entrance of the school. Has some original, “flying,” machines. CC: King Boshi

The last exhibit is the museum itself. It’s an historic building. It was originally built as a school for training engineers in 1794 but as the school grew out of it, it slowly transformed into the museum it is today. The architecture is beautiful. It’s adorned in stone and statue like all the French museums. It also has sections cut out in some of the higher storeys of the building so you can see how it was constructed.

Part of its beauty is also related to the school swallowing up the Priory of Saint Martin des Champs (Google translate does a great job if you don’t read French). The Priory is a beautiful old church, founded in 1079. It was home to the last trial by combat the country would see. You can piece together the story between the two pages dedicated to the combatants Jean de Carrouges and Jacques Le Gris.

The muses of agriculture and industry now look over the sanctuary.
The muses of agriculture and industry now look over the sanctuary.

The final display in the museum is in the church. It holds Foucault’s pendulum, dangling from the center of the sanctuary. If you get there early enough in the day you may get to watch it knock over a peg or two and prove the rotation for yourself.

Rather than the statues of the saints there are statues of the muses of Industrie and Agriculture. The hall is filled with more exhibits. There are cutaway original automobiles. A model of the Statue of Liberty. A catwalk lets you take a high view of the surroundings. It is also beautiful in and of itself. The church is well maintained and painted in the style original to them.

If you find yourself in Paris with a few hours (or days) to spare I highly recommend this museum. Any technical person would be hard pressed to leave uninspired and unawed by the display. It’s good to get a perspective on the past.

Featured Photo CC: Roi Boshi


New Part Day: A Truly Secure Workstation

There is a chain of trust in every modern computing device that starts with the code you write yourself, and extends backwards through whatever frameworks you’re using, whatever OS you’re using, whatever drivers you’re using, and ultimately whatever BIOS, UEFI, Secure Boot, or firmware you’re running. With an Intel processor, this chain of trust extends to the Intel Management Engine, a system running independent of the CPU that has access to the network, USB ports, and everything else in the computer.

Needless to say, this chain of trust is untenable. Any attempt to audit every line of code running in a computer will only be met with frustration. There is no modern Intel-based computer that is completely open source, and no computer that can be verified as secure. AMD is just as bad, and recent attempts to create an open computing platform have met with frustration. [Bunnie]’s Novena laptop gets close, but like any engineering task, designing the Novena was an exercise in compromise. You can get around modern BIOSes, coreboot still uses binary blobs, and Libreboot will not be discussed on Hackaday for the time being. There is no modern, completely open, completely secure computing platform. They’re all untrustworthy.

The Talos Secure Workstation, from Raptor Engineering, an an upcoming  Crowd Supply campaign is the answer to the untrustworthiness of modern computing. The Talos is an effort to create the world’s first libre workstation. It’s an ATX-compatible motherboard that is fully auditable, from schematics to firmware, without any binary blobs.

Continue reading “New Part Day: A Truly Secure Workstation”

Root Mean Square

The first time I was in school for electrical engineering (long story), I had a professor who had never worked in the industry. I was in her class and the topic of the day was measuring AC waveforms. We got to see some sine waves centered on zero volts and were taught that the peak voltage was the magnitude of the voltage above zero. The peak to peak was the voltage from–surprise–the top peak to the bottom peak, which was double the peak voltage. Then there was root-mean-square (RMS) voltage. For those nice sine waves, you took the peak voltage and divided by the square root of two, 1.414 or so.

You know that kid in the front of the class? They were in your class, too. Always raising their hand with some question. That kid raised his hand and asked the simple question: why do we care about RMS voltage? I was stunned when I heard the professor answer, “I think it is because it is so easy to divide by the square root of two.”

Continue reading “Root Mean Square”

1980s Toy Robot Arm Converted To Steam And Other Explorations

We were doing our daily harvest of YouTube for fresh hacks when we stumbled on a video that eventually led us to this conversion of a 1980s Armatron robot to steam power.

The video in question was of [The 8-bit Guy] doing a small restoration of a 1984 Radio Shack Armatron toy. Expecting a mess of wiring we were absolutely surprised to discover that the internals of the arm were all mechanical with only a single electric motor. Perhaps the motors were more expensive back then?

The resemblance is uncanny.
The resemblance is uncanny.

The arm is driven by a Sarlacc Pit of planetary gears. These in turn are driven by a clever synchronized transmission. It’s very, very cool. We, admittedly, fell down the google rabbit hole. There are some great pictures of the internals here. Whoever designed this was very clever.

The robot arm can do full 360 rotations at every joint that supports it without slip rings. The copper shafts were also interesting. It’s a sort of history lesson on the prices of metal and components at the time.

Regardless, the single motor drive was what attracted [crabfu], ten entire years ago, to attach a steam engine to the device. A quick cut through the side of the case, a tiny chain drive, and a Jensen steam engine was all it took to get the toy converted over. Potato quality video after the break.

Continue reading “1980s Toy Robot Arm Converted To Steam And Other Explorations”

AVR vs PIC, Round 223: Fight!

Get ready to rumble! [Thierry] made the exact same Hello-World-esque project with two microcontrollers (that are now technically produced by the same firm!) to see how the experience went.

It’s not just an LED-blinker, though. He added in a light-detection function so that it only switches on at night. It uses the Forest Mims trick of reverse-biasing the LED and waiting for it to discharge its internal capacitance. The point is, however, that it gives the chip something to do instead of simply sleeping.

Although he’s an AVR user by habit, [Thierry] finds in favor of the PIC because it’s got a lower power draw both when idling and when awake and doing some computation. This is largely because the PIC has an onboard low-power oscillator that lets it limp along at 32 kHz, but also because the chip has a lower power consumption in general. In the end, it’s probably a 10% advantage to the PIC on power.

If you’re competent with one of the two chips, but not the other, his two versions of the same code would be a great way to start familiarizing yourself with the other. We really like his isDarkerThan() function which makes extensive use of sleep modes on both chips during the LED’s discharge period. And honestly, at this level the code for the two is more similar than different.

(Oh, and did you notice [Thierry]’s use of a paper clip as a coin-cell holder? It’s a hack!)

Surprisingly, we’ve managed to avoid taking a stray bullet from the crossfire that occasionally breaks out between the PIC and AVR fans. We have covered a “shootout” before, and PIC won that round too, although it was similarly close. Will the Microchip purchase of Atmel calm the flames? Let’s find out in the comment section. We have our popcorn ready!