A More Correct Horse Battery Staple

Passwords are terrible. The usual requirements of a number, capital letter, or punctuation mark force users to create unmemorable passwords, leading to post-it notes; the techniques that were supposed to make passwords more secure actually make us less secure, and yes, there is an xkcd for it.

[Randall Munroe] did offer us a solution: a Correct Horse Battery Staple. By memorizing a long phrase, a greater number of bits are more easily encoded in a user’s memory, making a password much harder to crack. ‘Correct Horse Battery Staple’ only provides a 44-bit password, though, and researchers at the University of Southern California have a better solution: prose and poetry. Just imagine what a man from Nantucket will do to a battery staple.

In their paper, the researchers set out to create random, memorable 60-bit passwords in an English word sequence. First, they created an xkcd password generator with a 2048-word dictionary to create passwords such as ‘photo bros nan plain’ and ’embarrass debating gaskell jennie’. This produced the results you would expect from a webcomic. The best ‘alternative’ result was found when creating poetry: passwords like “Sophisticated potentates / misrepresenting Emirates” and “The supervisor notified / the transportation nationwide” produced a 60-bit password that was at least as memorable as the xkcd method.

Image credit xkcd

Developed On Hackaday – It’s A Badge. No, It’s The HaDge

Sometime back, we announced start of a new project under the “Developed on Hackaday” series – a Badge for the Hackaday community. At its core, this badge is a single node in an Internet of Badges. At every event this badge is deployed at, a Hackaday Sub-Etha mesh network will be created, and each badge will be able to transmit and receive messages from other badge wearers. There are plans for an Sub-Etha to Internet gateway, so even if badge wearers are on the other side of the world, they’re still connected through the HaDge network.

Things have been moving along quickly, so I thought of doing a quick round-up and share progress with the community. First off, it has a name. HaDge, as in HackaDay Badge. Our objectives up until now were to set up a team, name the project, set up repositories and lock down on a working bill of materials. Within a few weeks, we’ve got all of that tied down. The HaDge group chat channel has been super active, and everyone’s been pitching in with ideas and suggestions. A spreadsheet seemed like a good idea – it let everyone add in their suggestions regarding candidate parts, create a feature list and then talk about it on the channel.

We realized early on that building the hardware is going to take some time. So in the interim, we need a dev kit platform to get in to the hands of the software developers so they can start working on the smarts that will power the HaDge. [Michele Perla] had already built JACK (Just another Cortex kit) – a development kit powered by the Atmel SAM D21. It’s pretty bare bone with just the bare minimum of parts to make it work while keeping an eye on reliability. The microcontroller+radio on the HaDge is the Atmel SAM R21 – a close relative of the D21, so it made sense to respin the JACK and create HACK (Hackaday Cortex kit) – a development kit powered by the Atmel SAM R21 that is going to be used as the core of the HaDge. [Michele] has worked hard single-handedly to complete the design and it is now ready to go for PCB fabrication soon. We are just awaiting some feedback and review of the Antenna part of the design. None of us on the hardware team have a strong RF-fu so we don’t want to make an avoidable mistake. If you’d like to review and help vet the HACK design, grab the design files from the github repo and let us know.

Once HACK board layout is cleared for fabrication, we’ll work on building kits that can be sent out to the software folks. We will also be working on porting the HACK design in to KiCad and this is something I have already stared work on. I started by using the neat Eagle2KiCad conversion tool by [LachlanA]. It’s not perfect, but it does reduce the work involved in porting over from Eagle to Kicad. Once that is done, hardware development for the actual HaDge will see some progress – keep a watch on the project page.

Better Capacitors Through Nanotechnology

Traditionally, capacitors are like really bad rechargeable batteries. Supercapacitors changed that, making it practical to use a fast-charging capacitor in place of rechargeable batteries. However, supercapacitors work in a different way than conventional (dielectric) capacitors. They use either an electrostatic scheme to achieve very close separation of charge (as little as 0.3 nanometers) or electrochemical pseudocapacitance (or sometime a combination of those methods).

In a conventional capacitor the two electrodes are as close together as practical and as large as practical because the capacitance goes up with surface area and down with distance between the plates. Unfortunately, for high-performance energy storage, capacitors (of the conventional kind) have a problem: you can get high capacitance or high breakdown voltage, but not both. That’s intuitive since getting the plates closer makes for higher capacitance but also makes the dielectric more likely to break down as the electric field inside the capacitor becomes higher with both voltage and closer plate spacing (the electric field, E, is equal to the voltage divided by the plate spacing).

[Guowen Meng] and others from several Chinese and US universities recently published a paper in the journal Science Advances that offers a way around this problem. By using a 3D carbon nanotube electrode, they can improve a dielectric capacitor to perform nearly as well as a supercapacitor (they are claiming 2Wh/kg energy density in their device).

cap1The capacitor forms in a nanoporous membrane of anodic aluminum oxide. The pores do not go all the way through, but stop short, forming a barrier layer at the bottom of each pore. Some of the pores go through the material in one direction, and the rest go through in the other direction. The researchers deposited nanotubes in the pores and these tubes form the plates of the capacitor (see picture, right). The result is a capacitor with a high-capacity (due to the large surface area) but with an enhanced breakdown voltage thanks to the uniform pore walls.

cap2To improve performance, the pores in the aluminum oxide are formed so that one large pore pointing in one direction is surrounded by six smaller pores going in the other direction (see picture to left). In this configuration, the capacitance in a 1 micron thick membrane could be as high as 9.8 microfarads per square centimeter.

For comparison, most high-value conventional capacitors are electrolytic and use two different plates: a plate of metallic foil and a semi-liquid electrolyte.  You can even make one of these at home, if you are so inclined (see video below).

We’ve talked about supercapacitors before (even homebrew ones), and this technology could make high capacitance devices even better. We’ve also talked about graphene supercaps you can build yourself with a DVD burner.

It is amazing to think how a new technology like carbon nanotubes can make something as old and simple as a capacitor better. You have to wonder what other improvements will come as we understand these new materials even better.

Continue reading “Better Capacitors Through Nanotechnology”

Broken Finger Is No Obstacle To Modern Hacker

[Jim Merullo] and his son were enjoying a nice game of Frisbee when an unfortunate dive led to an injury. His son broke his pinky finger leaving doctors no choice other than bounding his entire left hand in an unreasonably large cast. For most, this would mean no use of the left hand for several weeks, which is somewhat problematic if tin01your son has a Minecraft addiction.  [Jim], however, is no stranger to the hacker community and began working on a solution. He broke out the #2 Philips screwdriver, fired up the soldering iron and got to work.

A detailed analysis of the injured left hand revealed limited use of the middle and ring finger, and full use of the thumb. Because his son played the game using his right hand for the mouse and left for the keyboard, he needed to find a way for him to operate a keyboard with the limited use of his left hand. He took apart an old USB keyboard and soldered up some tactile switches to emulate the needed key presses. After making a fashionable Altoids tin mount that fit over the cast, his son was able to enjoy his favorite video game with limited interruption.

Continue reading “Broken Finger Is No Obstacle To Modern Hacker”

Hackaday Links: October 25, 2015

There are dozens of different 3D printable cases out there for the Raspberry Pi, but the BeagleBone Black, as useful as it is, doesn’t have as many options. The folks at 3D hubs thought they could solve this with a portable electronics lab for the BBB. It opens like a book, fits a half-size breadboard inside, and looks very cool.

The guy who 3D printed his lawnmower has a very, very large 3D printer. He now added a hammock to it, just so he could hang out during the very long prints.

There’s a box somewhere in your attic, basement, or garage filled with IDE cables. Wouldn’t they be useful for projects? Yep, only not all the wires work; some are grounds tied together, some are not wired straight through, and some are missing. [esot.eric] has the definitive guide for 80-wire IDE cables.

Like case mods? Here’s a golden apple, made out of walnut. Yes, there are better woods he could have used. It’s a wooden replica of a Mac 128 with a Mac Mini and LCD stuffed inside. Want a video? Here you go.

If you have a 3D printer, you’re probably familiar with PEEK. It’s the plastic used as a thermal break in non-all-metal hotends. Now it’s a filament. An extraordinarily expensive filament at €900 per kilogram. Printing temperature is 370°C, so you’ll need an all-metal hotend.

It’s the Kickstarter that just keeps going and going and going. That’s not a bad thing, though: there really isn’t much of a market for new Amiga 1200 cases. We’ve featured this project before, but the last time was unsuccessful. Now, with seven days left and just over $14k to go, it might make it this time.

DIY Powder Coating

If you don’t yet have a toaster oven you can’t use with food, here’s yet another reason: DIY powder coating. Powder coating is much harder and more durable than paint – a property imbued to it by the fact that it’s baked on to a part. [Thomas] had a go at powder coating some skateboard trucks, and with the right tools, found the process downright easy.

[Thomas] only needed a few things to powder coat his parts, the first and most important being a powder coat gun. A few years ago, Craftsman produced a powder coat gun that’s still available on Amazon and eBay for about $50. Powders are plentiful and cheap in small quantities. The only other tools needed were an N95 or better respirator, some high temperature tape for masking off the part and a toaster oven. If you want to coat big parts, there are DIY oven options for that.

After the part was sandblasted down to bare metal, [Thomas] masked off all the holes and threads of the part with polyimide tape. Any tape that’s capable of withstanding high temperatures will do, and most of us have a roll of Kapton sitting next to a 3D printer, anyway.

The part is coated with powder via an electrostatic charge, and this means attaching a ground lead from the gun to the part. After that, it’s just filling the gun with powder, putting it in the oven set at 450°F, and letting the powder liquefy.

In the video below, you can see [Thomas] sandblasting, powdering, and baking a set of aluminum skateboard trucks using his method. Compared to other methods of finishing metal parts – anodizing or plating, for instance, powder coating is remarkably easy and something anyone can do in a garage.

Thanks [Tyler] for sending this one in.

Continue reading “DIY Powder Coating”

Raspberry Pi Sense HAT Super Weather Dashboard

[InitialState] posted a great multipart tutorial about building what he calls a “Hyper-local Weather Dashboard.” In plain language, he created a Raspberry Pi-based web page that fuses weather data from Wunderground along with locally sensed weather data.

The tutorial has thee parts. The first part covers reading data from Wunderground using their developer’s API (you’ll need an API key; a free one is good for 500 queries a day). The second part covers using the Pi Sense HAT to measure local temperature, humidity, and pressure. The final part ties it all together using producing the hyper-local weather dashboard (whatever that really means).

We talked about the Sensor HAT earlier (and there’s more info in the video, below). Seems like those lights could do something, although that wouldn’t do you any good over a web interface. This is a good-looking project (and tutorial) and easy enough that it would be a good place to start
experimenting with the Raspberry Pi.

Continue reading “Raspberry Pi Sense HAT Super Weather Dashboard”