Britain Invented Rock-N-Roll, And Other Stories

An elderly relative of mine used to get irate at the BBC news. When our Prime Minister [Edward Heath] or another of her bêtes noirs of the day came on, she’d rail at the radio or the TV, expressing her views to them in no uncertain terms. It taught a young me a lot about the futility of shouting at the telly, as well as about making a spectacle of oneself.

The ISS in flight. NASA(Public Domain)
The ISS in flight. NASA [Public domain].
The other evening though I found myself almost at the point of  shouting at a TV programme, and since it’s one with a clear message about technology I feel it’s worth sharing here. The programme in question was one of the Impossible Engineering series, and it was talking about the technology behind the International Space Station. It was recent enough to include last year’s mission involving [Tim Peake], so it was by no means a show dredged from the archives.

All very well, you say. Impossible Engineering‘s format of looking at a modern engineering marvel and tracing the historical roots of some of its innovations would find fertile ground in the ISS, after all it’s one of our most impressive achievements and could easily provide content for several seasons of the show. And I’ll give them this, they did provide an interesting episode.

The trouble was, they made an omission. And it wasn’t just a slight omission, one of those minor cock-ups that when we Hackaday scribes make them the commenters pounce upon with glee, this one was a doozy. They managed to fill an hour of television talking about space stations and in particular a space station that was assembled by multiple countries under an international co-operation, without mention of any of the Russian technology that underpins much of its design. An egregious example among many was their featuring a new Boeing capsule designed to touchdown on land rather than on water as a novel invention, when as far as I am aware every Russian capsule ever made has performed a land-based touchdown.

Continue reading “Britain Invented Rock-N-Roll, And Other Stories” →

USB + μC = Peril?

You hear about people finding USB drives and popping them into a computer to see what’s on them, only to end up loading some sort of malware onto their computer. It got me to thinking, given this notorious vulnerability, is it really a great idea to make electronics projects that plug into a computer’s USB port? Should I really contribute to the capitulation-by-ubiquity that USB has become?

A of couple years ago I was working on an innocuous project, a LED status light running off of USB. It ran off USB because I had more complicated hopes for it–some vague notion about some kind of notification thing and also it was cool to have access to 5 V right from the ‘puter. This was about the time that those little RGB LEDs connected to USB were all the rage, like blink(1), which raised $130,000 on Kickstarter. I just wanted to make a status light of some sort and had the parts, so I made it.

My version was a small rectangular PCB from OSHPark packing a Tiny85, with a 10 mm RGB LED providing pretty much all of the functionality — no spare pins broken out. Honestly, for the amount of code on it, even the Tiny85 was overpowered. I recall thinking at the time, could my creation be misused for evil? Could some wicked programmer include malware alongside my LED-lighting Arduino sketch?

It’s absurd, of course. My meager engineering skills ought not interest anyone. On the other hand, couldn’t some heartless poltroon, the hardware equivalent of a script kiddie, make my creation into a malware-spewing Typhoid Mary of a project? It has always been the realistic consequence of building anything–that it could be misused. I’d be thrilled to the point of giddiness if someone remade one of my projects into something cool, but I’d really hate for a USB light I designed to turn into some vector into someone’s computer. But how much of that is my responsibility?

If you think I’m the only one who thinks this, go to SparkFun or Adafruit and count all of the boards with microcontrollers and USB A male plugs. Even the tiny boards like the Huzzah and Gemma use USB cables, rather than plugging directly into the computer. Granted, they are microcontrollers that realistically would be connected to a project and it might not be possible to physically move them into position and plug them in. Also requiring a charging cable does not in any way make a microcontroller board work any differently than one plugged right into the computer. I’m left wondering if I’m spazzing out over nothing, and there’s nothing we can do about our tendency to treat any electronic gizmo with a shiny case as being safe to plug into the same computer we use to pay bills.

If there is no data transfer taking place, and I’m just getting power, wouldn’t it be enough to disable (or not connect) the data pins of the USB on the circuit board? Or maybe we really have no business connecting a data connection to a microcontroller if we’re not reflashing the chip with fresh code–think I’m paranoid? Maybe you should just get power from a wall wart and leave the USB cord in the drawer. It’s one thing to urge our friends and family to steer clear of mystery plugs, but as engineers and tinkerers, do we not owe the community the benefit of our knowledge?

Of course, Hackaday contains numerous examples of USB projects, including canary for USB ports, tips on protecting your ports with two microcontrollers, a guide to stopping rubber ducky attacks, and removing security issues from untrusted USB connections. Also, has anyone used the USB condom?

Friends, let me know your thoughts on the subject. Am I a freak to steer clear of USB-powered project like my dumb LED? Leave your comments and weigh in with your opinions.

SHACamp 2017, A Personal Review

There are a series of stages to coming down from a festival. After the hectic rush of travel there are the several days of catching up on lost sleep and picking up the threads of your life again, then once a semblance of order has been regained there’s that few weeks of emptiness. Your life will never be the same again, it’s all so mundane.

I'm pleased to say the Hackaday and Tindie stickers were very popular.
I’m pleased to say the Hackaday and Tindie stickers were very popular.

It’s now a couple of weeks since the SHACamp 2017 hacker festival in the Netherlands was in full swing, and the write-up below has slowly taken shape over that time amid the other work of being a Hackaday scribe and editor. It’s early morning here in Southern England as I write this, so on the equivalent day while I was at SHACamp at this time I would have been carrying a large pack of stickers for distribution on the swapping table through the rising sunlight of a camp still largely asleep after the previous night’s revelry. Past our German and Dutch immediate neighbours, down the ramp from the dyke, the cardboard tent depot on my left and the food court on my right, to the information tent. Greet the bleary-eyed volunteer at the end of their graveyard shift, and spread plenty of Hackaday and Tindie stickers on the table for the masses. And then? Find a coffee, and sally forth into the field for another day among one of the most stimulating communities on Earth. My community. Your community.

The sticker table is a good place to start if you wish to get a handle on a large hacker camp. On it you will find the logos of a cross-section of the diverse organisations and groups present. There are a few commercial ones like my Jolly Wrenchers and Tindie the puppy, there are some from voluntary organisations or interest groups, but mostly they are the logos of a continent’s — even the wider world’s in some cases —  hackspaces and makerspaces. Here you see the breadth of the attendees, as the logos of spaces from thousands of miles away you’ve never encountered before mingle. This isn’t quite a global gathering, but there is a sense of global community around it.

How Do You Describe a Hacker Camp?

You shall find us by our clearly superior yet dangerous to barefoot pedestrians fused right-angled mains connector.
You shall find us by our clearly superior yet dangerous to barefoot pedestrians fused right-angled mains connector.

So before I take you through my experience of SHA, it’s best to start by describing a hacker camp in more general terms. When I’m describing a camp like SHA to the kind of people who don’t read Hackaday, I put it as similar to the music festivals they are used to but without the bands. Instead the audience provides the entertainment through the work they bring to the event or do at the event, and through a comprehensive program of talks and lectures. Oh — and this is the bit that makes their eyes open wide — every structure on site from the smallest one-man tent to the largest marquee has mains power and high-speed Internet. Sometimes people grasp what SHA is from this description, sometimes they don’t.

Different groups, be they individual hackspaces, people from a particular country, or other special interest groups, congregate in villages, collections of tents, marquees, and gazebos in which they set up whatever cool stuff they’ve brought along. My tent with its Hackaday flag was in a village composed of a mix of British hackspaces up on the dyke, which [Michael] from MK Makerspace had marked with a sign consisting of a huge BS1363A mains plug. More than one person pointed out it would have been better lying flat on the ground with pins in the air, ready to catch an unwary Monty Python foot.

Continue reading “SHACamp 2017, A Personal Review” →

Eclipse 2017: Report From An Extinct Volcano

Location, location, location — what’s critical to real estate is also critical to eclipse watching, and without sounding too boastful, those of us atop South Menan Butte, an extinct volcano in southeast Idaho, absolutely nailed it. Not only did we have perfect weather, we had an excellent camping experience, great food, a magnificent natural setting, and a perch 800 feet above a vast plain stretching endlessly to the east and west. Everything was set up for a perfect eclipse experience, and we were not disappointed.

Continue reading “Eclipse 2017: Report From An Extinct Volcano” →

The Last Interesting Chrysler Had A Gas Turbine Engine

The piston engine has been the king of the transportation industry for well over a century now. It has been manufactured so much that it has become a sort of general-purpose machine that can be used to do quite a bit more than merely move people and cargo from one point to another. Running generators, hydraulic systems, pumps, and heavy machinery are but a few examples of that.

Scale production of this technology also had the effect of driving prices for these engines down, and now virtually everyone in the developed world has cheap and easy access to them. In the transportation world, at least, it looks like its reign might finally be coming to a slow, drawn-out conclusion as electric cars capture more and more market share.

Electric motors aren’t the first technology to try to topple the piston engine from its apex position on top of our modern transportation industry, though. In the 1960s another technology, the gas turbine engine, tried to replace it — and failed.

Continue reading “The Last Interesting Chrysler Had A Gas Turbine Engine” →

The Enigma Enigma: How The Enigma Machine Worked

To many, the Enigma machine is an enigma. But it’s really quite simple. The following is a step-by-step explanation of how it works, from the basics to the full machine.

Possibly the greatest dedicated cipher machine in human history the Enigma machine is a typewriter-sized machine, with keyboard included, that the Germans used to encrypt and decrypt messages during World War II. It’s also one of the machines that the Polish Cipher Bureau and those at Britain’s Bletchley Park figured out how to decipher, or break. Most recently the story of how it was broken was the topic of the movie The Imitation Game.

Let’s start with the basics.

Continue reading “The Enigma Enigma: How The Enigma Machine Worked” →

Living Logic: Biological Circuits For The Electrically Minded

Did you know you can build fundamental circuits using biological methods? These aren’t your average circuits, but they work just like common electrical components. We talk alot about normal silicon and copper circuits ‘roud here, but it’s time to get our hands wet and see what we can do with the power of life!

In 1703, Gottfried Wilhelm Leibniz published his Explication de l’Arithmétique Binaire (translated). Inspired by the I Ching, an ancient Chinese classic, Leibniz established that the principles of arithmetic and logic could be combined and represented by just 1s and 0s. Two hundred years later in 1907, Lee De Forest’s “Audion” is used as an AND gate. Forty years later in 1947, Brattain and H. R. Moore demonstrate their “PNP point-contact germanium transistor” in Bell Labs (often given as the birth date of the transistor). Six years later in 1953, the world’s first transistor computer was created by the University of Manchester. Today, 13,086,801,423,016,741,282,5001 transistors have built a world of progressing connectivity, automation and analysis.

While we will never know how Fu Hsi, Leibniz, Forest or Moore felt as they lay the foundation of the digital world we know today, we’re not completely out of luck: we’re in the midst’s of our own growing revolution, but this one’s centered around biotechnology. In 1961, Jacob and Monod discovered the lac system: a biological analog to the PNP transistor presented in Bell Labs fourteen years earlier. In 2000, Gardner, Cantor, and Collins created a genetic toggle switch controlled by heat and a synthetic fluid bio-analog2. Today, AND, OR, NOR, NAND, and XOR gates (among others) have been successfully demonstrated in academic labs around the world.

But wait a moment. Revolution you say? Electrical transistors went from invention to computers in 6 years, and biological transistors went from invention to toggle button in 40? I’m going to get to the challenges facing biological circuits in time, but suffice it to say that working with living things that want to be fed and (seem to) like to die comes with its own set of challenges that aren’t relevant when working with inanimate and uncaring transistors. But, in the spirit of hacking, let’s dive right in. Continue reading “Living Logic: Biological Circuits For The Electrically Minded” →