Hardware and software combined, Arduino does many things right. It lowers the entry level into embedded systems development with a nifty hardware abstraction layer. It aims for cross-platform compatibility by supporting Windows, Mac OSX, and Linux operation systems. It throws out the need for an external programmer to get you up-and-blinkin’ those LEDs quickly.
One thing most of us never cease to curse about, though, is the IDE. Many have cried out wildly against the Java-based text-editor for its cryptic compiling-and-linking process, its inability to accommodate bare C or C++ source files, and (shh!) its lack of Vim keybindings. Fortunately, our cries have been heard, and the like many community-based projects, the community fights back with a custom solution.
Calling all Grumpy Engineers: The Arduino-Makefile
What began as [Sudar’s] lightweight program to escape the IDE has become a fully-blown, feature rich Makefile that has evolved and adapted to grow with the changes of Arduino. With a community of 47 contributors, the Makefile enables you to escape from the IDE entirely by writing code in the cushy text editor of your choice and compiling with a simple incantation of make into your terminal, be you in Linux, Mac, or Windows.
Without further ado, let’s take a walking tour of the project’s highlights.
It’s great to build projects just to do something neat, to learn; to impress friends and other hackers. It’s even better to address a real need.
I’ve worn hearing aids for 40 some years. My response to the question “Can you hear me now?” is still all too often, “No.” Because of this I heartily applaud the Aegis Acoustics Headset currently active on Kickstarter. I’m happy to see it’s blown through its goal with over a month left.
The Aegis is targeted at prevent hearing loss, primarily in teens since they use headsets so often. It’s equally applicable to adults and pre-teens. The Aegis works by limiting the sound level emitted to 85db, which is a safe level. Above that the risk of damage to the tiny hairs in the cochlea – the inner ear – increases dramatically with a 3db increase cutting the safety time in half.
Future’s So Bright I’ve Got to Wear ‘Aids
My personal experience explains why this is important. At my first professional level job as a software developer I noticed that people at the other end of the table often mumbled during meetings. Not really, because everyone else understood them fine. I needed hearing aids.
My first hearing aids were analog devices. There were three frequency bands across the audio spectrum whose volumes could be custom set for my ears — resulting in crude and limited improvements in what I could hear. My current hearing aids are technological marvels of digital signal processing with a multitude of algorithms the audiologist can use to help me hear better. They even coordinate their actions by communicating between themselves.
I still need to ask people to repeat what they say at times. But who doesn’t? I had a successful career despite my loss. But it is still a royal pain-in-the-butt to miss out on one-third of the dialog in a movie, to not go to a local coffee house because I won’t understand the lyrics or comments by the musicians, and miss out on all the other small parts of life along these lines.
Hacking for Hearing
There are a range of areas where hackers could contribute and not just in assisting individuals, like myself, who personally gain from technological assistance.
Consider how the cell phone improved communications in developing countries. Using radio communications the countries avoided the need to string thousands of miles of wires. That saved the expense and the decades of construction time. It’s easier to get cell phone service than water in some locations. It’s important to notice that it didn’t come about because of a big plan. It came about as an unseen consequence of a technical development.
“We can rebuild him…we have the technology” is from the opening of an old TV series and movies, “The 6 Million Dollar Man” and has found it’s place in the pop-culture vocabulary. But it rings true. We have the technology. We have the tools. We have the expertise. We’re hackers and builders. We and the technology are all over the place. We’re a solution looking for a problem.
Devices that Extend the Body
All signs point to a coming revolution of devices that protect our bodies and make them work better. The 2015 Hackaday Prize theme is Build Something That Matters and that sentiment is obviously taking hold throughout the hardware hacker movement. The Aegis headphones I mentioned above are one example of preventive devices, but look around and there are many more like the UV-Badge which gives you feedback on safe levels of sunlight for your skin.
Surely we’re going to see further augmentation for the devices that help restore function. Wearables are all the rage, how long will it be before your smartwatch notification functions make it into my hearing aids? Imagine the improvements we will see in custom hearing profiles born of that smartphone-hearing aid connection. The foundations of this are user-controlled profile switching which is already in place for apps like Belltone’s HearPlus. If the advanced electronics in the smartphone can build a better noise profile and transfer it to the hearing aid my visits to the coffee shop just might get a lot better. And this doesn’t mean the devices need to look the same either. I love the Design Affairs Studio hearing aid concept that is shown at the top of this article. Hardware can be a status symbol after all.
As you look toward your next big hack, roll these concepts around in your mind. The tools, software, and talent have never been easier to connect for our group of citizen scientists who are hacking in basements and garages. It’s exciting to think about the change we can affect using the skills honed over the past decades of this hardware enlightenment we’re all living.
Atoms are small. Really small. You just won’t believe how minusculely microscopically mindbogglingly small they are. I mean you may think it’s a short way down the road to the chemist’s, but that’s just peanuts to atoms.
Atoms really are small. The atomic radius of a carbon atom is on the order of 0.1 nanometers, that’s 0.0000001 millimeters. It’s hard to grasp how fantastically small this is compared to objects we generally encounter, but as a starting point I’d recommend looking at the “Powers of Ten” video found below whose ability to convey the concept has been unrivaled since it was published in 1977.
The term nanometer might be most familiar from the semiconductor industry, and its seemingly unstoppable march to smaller feature sizes. Feature sizes currently hover somewhere around the 10 nanometer mark. So while these multi-billion dollar facilities can achieve 10nm precision it’s somewhat surprising that sub-nanometer feature size positioning, and fabrication techniques are available at relatively low cost to the hacker hobbyist.
In this article we’re going to review some of the amazing work demonstrated by hobbyists in the area of the very very small through use of cutting edge, but low cost techniques.
Imagine a world where the most widely-used cryptographic methods turn out to be broken: quantum computers allow encrypted Internet data transactions to become readable by anyone who happened to be listening. No more HTTPS, no more PGP. It sounds a little bit sci-fi, but that’s exactly the scenario that cryptographers interested in post-quantum crypto are working to save us from. And although the (potential) threat of quantum computing to cryptography is already well-known, this summer has seen a flurry of activity in the field, so we felt it was time for a recap.
How Bad Is It?
If you take the development of serious quantum computing power as a given, all of the encryption methods based on factoring primes or doing modular exponentials, most notably RSA, elliptic curve cryptography, and Diffie-Hellman are all in trouble. Specifically, Shor’s algorithm, when applied on a quantum computer, will render the previously difficult math problems that underlie these methods trivially easy almost irrespective of chosen key length. That covers most currently used public-key crypto and the key exchange that’s used in negotiating an SSL connection. That is (or will be) bad news as those are what’s used for nearly every important encrypted transaction that touches your daily life.
I came across an interesting question this weekend: how do you establish your East/West location on the globe without modern technology? The answer depends on what you mean by “modern”, it turns out you only have to go back about three centuries to find there was no reliable way. The technology that changed that was a clock; a very special one that kept accurate time despite changing atmospheric conditions and motion. The invention of the Harrison H1 revolutionized maritime travel.
We can thank Andy Weir for getting me onto this topic. I just finished his amazing novel The Martian and I can confirm that George Graves’ opinion of the high quality of that novel is spot on. For the most part, Andy lines up challenges that Mark Watney faces and then engineers a solution around them. But when it came to plotting location on the surface of Mars he made just a passing reference to the need to have accurate clocks to determine longitude. I had always assumed that a sextant was all you needed. But unless you have a known landmark to sight from this will only establish your latitude (North/South position).
Legendary electrical engineer and linear IC trailblazer Bob Widlar was just like you. What I mean is that he would use everything available to him to mock up circuits, create prototypes, and make things work. One of the simplest and coolest tools he used was a conductive paper called Teledeltos. This wonderful stuff allowed him to define and test various configurations for the oddly-shaped ballast resistors he used in some of his high-performance circuit designs. But it wasn’t created for people like you and Bob. Teledeltos paper was created and trademarked by communications giant Western Union to drastically improve the convenience of telegrams.
Development of the electric telegraph ushered in the era of global communication. Suddenly, people could send messages to the other side of the world in a fraction of the time it took by post. The telegraph absolutely revolutionized human communication. It was the e-mail and the Twitter of its time. The telegraph’s efficiency made the Pony Express pretty much obsolete by the 1860s. And for a very long time it was much cheaper for people to send a telegram than make a long-distance phone call.
The Advantages of Facsimile
Translated from ancient Greek, ‘teledeltos’ basically means writing tablet at a distance. Western Union began developing Teledeltos paper in the 1930s for the purpose of transmitting telegrams by facsimile, a method that would greatly reduce the time it took to input messages into the system and get them out on the other side. As long as both the sender and the receiver had facsimile machines, a handwritten telegram could be transmitted without having to be typed by a clerk or translated into code. Teledeltos paper was also used in a variety of chart recorders, like seismographs and map plotters. The ability to feed a handwritten message, a photograph, or a map of enemy territory into a machine that transmitted an exact copy was a real game changer.
Because of its composition, Teledeltos paper could be easily marked without an electrolyte. It marked so well that photographs and other graphic information could be transmitted, and no processing was required on the receiving end. A dry recording paper is also much less sensitive to light and to temperature extremes. More importantly, properly stored dry paper is impervious to fungal growth. Teledeltos paper could sit around indefinitely without becoming useless. The only real disadvantage to this type of paper was the somewhat laborious process that went into achieving the desired resistance. Fax machines eventually moved on to digital transmission and thermal printing technology.
Teledeltos paper has a light gray electro-sensitive coating on one side, and the other side is carbon black. When a current is applied with a stylus to the coated side of the paper, the coating is instantly burned away, revealing the carbon black. Teledeltos paper could be marked using either AC or DC. Polarity didn’t matter, either, but the boys in the lab at Western Union had better luck when they used a positive stylus with DC rather than a negative one.
Teledeltos paper was made in two types—“L” for low resistance and “H” for high. The resistivity of a roll of Teledeltos paper depended on the quality of the conductive fibers that went into it. The paper’s electrical characteristics were also influenced by the fiber beating process and the distribution of the conductive fibers by the supercalender, a system of hard rollers used in papermaking and other processes that press and smooth paper and other materials to increase the density.
Teledeltos to the Rescue
The Western Union Telecar printed telegrams on the go and delivered them to homes and businesses. Image credit: Modern Mechanix
Western Union was eager to extend its reach into private businesses and public places so that patrons who weren’t heavy telegram users didn’t have to visit a telegram office in order to share a bit of good news or to send their condolences. The company’s Telefax division came up with several types of machines to serve different business needs.
Some messages continued to be delivered by hand, but they weren’t printed at the central office. Western Union created a Telecar service to print telegrams transmitted to the car by the central office and deliver them to people’s homes. Messages were printed onto recording blanks that were cut automatically by a Telefax recorder situated in the car’s passenger area. The Telecar’s radio and amplification equipment was in the trunk.
The standard Telefax machine for office use was fairly large, like an early microwave oven. A smaller version called the DeskFax was only about the size of a breadbox, and these units occupied the desks of many businessmen and secretaries because of their convenience.
A Western Union DeskFax unit. Image from [B. Hilpert]Both the Telefax and the DeskFax scanned and recorded telegrams using a rotary drum mechanism. A message could either be typed or handwritten onto a telegram blank. The sender then wrapped the telegram around a drum and set the machine to send. The machine would scan the message optically and then transmit it to the central office.
Before sending it on to the recipient, an attendant at the telegram office had to remove the incoming message and wrap it around the drum of a transmitting machine. Once connected to the receiving party’s line, the far end unit would buzz to arouse attention. The receiving patron would then load a blank on to their DeskFax’s roller and set their machine to receive.
Conductive paper like Teledeltos has many applications aside from fax machines and Fathometers. For starters, it’s great for making one-offs of both standard and variable resistors. Conductive paint can be used as connection points for wires. The paper is also well-suited for simulating current flow through circuits using a fraction of the current intended in production. Vacuum tube designers used Teledeltos for modeling potentials. Teledeltos can also be used to visualize electromagnetic potentials and perform field plotting.
We’re sure that at least a few of our readers out there used Teledeltos or something like it in school or on the job. Did you know you can still buy it? Teledeltos paper itself is still available from two companies in the UK, Better Equipped and Timstar. In the US, you can get it from Pasco in packs of 50 and 100 sheets, with and without a grid pattern.
[Teledeltos paper image is a product photo from Better Equipped]
For most of us, hacking is a hobby, a pleasant diversion from reality. Yes, a lot of us work on projects which have the potential to change the world – witness the 2015 Hackaday Prize semifinalist list. But in general, almost any of us could walk away from the shop at any time without dire consequences. Indeed, that’s the reason a lot of our work benches are littered with projects started with the best of intentions but left unfinished for lack of funds, lack of interest, or lack of time. We’re free to more or less willingly shelve a project and come back to it whenever we please, or not at all.
But not everyone has that luxury. For some people, hacking is much more than a hobby – it’s a means of survival. Sometimes people are thrown into situations where they have to cobble together a solution to an immediate problem with whatever is at hand, when the penalty for failure is much higher than a cluttered bench and a bruised ego. I’ve already covered one such case, where biohacked insulin saved hundreds of lives in occupied Shanghai in WWII.
In this occasional series I’ll explore historical cases where hacking really counted; cases where lives were saved or improved by a hack performed under desperate conditions.
A Bustle in the Hedgerow
Unsurprisingly, war offers a lot of opportunities for field expedient solutions under dire circumstances, and battlefield conditions might be the most extreme example of hacking when it counts.
In the early days of the Invasion of Normandy during WWII, Allied forces were having a difficult time dealing with the bocage terrain of northern France. A mixture of pasture and woodland, the Normandy bocage was a natural killing field for Allied tanks because the woodlands took the form of hedgerows – earthen dikes topped with thick tangles of brush. Hedgerows separated pastures and kept livestock controlled, but also made things tough on infantry and mechanized cavalry alike. Climbing the steep hedgerows exposed the vulnerable bottom hull of the tanks to enemy fire, and waiting for engineers to demolish the hedgerows with explosive made them sitting ducks for German artillery. The Allied advance was seriously hampered by the hedgerows, and both men and materiel were being winnowed down from fixed German positions chosen specifically to take advantage of the bocage terrain.
Enter Sgt. Curtis Grubb Culin III. Sgt. Culin, a tanker himself, was acutely aware of how vulnerable he was in his Sherman M4. The hedgerows were the problem, one apparently known to Allied command prior to the invasion for which no provision had been made. In the tradition of soldiers at the front of every battle throughout history, Sgt. Culin and his fellow tankers had to improvise a solution.
While kicking around ideas, one of the men suggested setting saw teeth on the front of a tank to cut through the hedgerows. He later attributed the comment to “A Tennessee hillbilly named Roberts”, and it was met with general laughter from the group as a crackpot scheme. But Sgt. Culin saw the potential in the idea, and began to develop it into a prototype.
Raw materials for his prototype were not hard to come by. Czech hedgehogs, giant anti-tank barriers made of crossed steel beams, still littered the Normandy beaches. The failed German defenses were harvested with a cutting torch and welded to the underside of a tank to form a series of “tusks” across the hull between the tracks. Equipped with these tusks, the tank could now blast through the tangled roots of the brush-covered earth of the hedgerow dykes.
When demonstrated for General Omar Bradley, he was impressed enough to order them built in quantity for the tanks. Eventually the prototype became an engineered product (dubbed the “Culin Rhino Device”) that was fitted to many tanks before being shipped over from England. Rhino-equipped tanks ripped across Normandy and shredded the German battle plan, which assumed the hedgerows would funnel Allied forces through heavily defended chokepoints.
Without Sgt. Culin’s battlefield hack, and his inspiration by a hillbilly named Roberts whom history otherwise forgets, the invasion of Europe might have taken a very different course. The fact that he did the hack while under fire makes it all the more impressive, and is a perfect example of hacking when it counts.
Know of any more examples of hacking when it counts? Send us a tip for use in a future Hacking When it Counts article.