Hacking On Mars In “The Martian”

It’s been 6 years since the hacker’s treat of a book, “The Martian” by Andy Weir, was self-published, and 2 years since the movie came out. We’ve talked about it briefly before, but enough time has passed that we can now write-up the book’s juicier hacks while being careful to not give away any plot spoilers. The book has more hacks than the movie so we’re using the book as the source.

For anyone unfamiliar with the story, Mark Watney is an astronaut who’s left for dead, by himself, on Mars. To survive, he has a habitat designed for six, called the Hab, two rovers, the Mars Descent Vehicle (MDV) they arrived in, and the bottom portion of the Mars Ascent Vehicle (MAV), the top portion of which was the rocket that his five crewmates departed in when they left him alone on the inhospitable desert planet. If you haven’t read it yet, it’s easy to finish over a long weekend. Do yourself a favor and pick it up after work today.

Making Water

Watney’s major concern is food. They sent up some potatoes with the mission which will sprout roots from their eyes. To grow potatoes he needs water.

One component of the precious H2O molecule is of course the O, oxygen. The bottom portion of the MAV doesn’t produce oxygen, but it does collect CO2 from the Martian atmosphere and stores it in liquid form. It does this as one step in producing rocket fuel used later to blast off from the surface.

Continue reading “Hacking On Mars In “The Martian””

Mechanical Image Acquisition With A Nipkow Disc

If you mis-spent your teenage years fishing broken televisions from dumpsters and either robbing them for parts or fixing them for the ability to watch The A Team upstairs rather than in the living room as I did, then it’s possible that you too will have developed a keen interest in analogue television technology. You’ll know your front porch from your blanking interval and your colour burst, you might say.

An illustration of a simple Nipkow disk. Hzeller (CC BY-SA 3.0).

There was one piece of television technology that evaded a 1980s dumpster-diver, no 625-line PAL set from the 1970s was ever going to come close to the fascination of the earliest TV sets. Because instead of a CRT and its associated electronics, they featured a spinning disk with a spiral pattern of holes. These mechanical TV systems were quickly superseded in the 1930s by all-electronic systems, so of the very few sets manufactured only a fraction have survived the intervening decades.

The spinning disk in a mechanical TV is referred to as a Nipkow disk, after its inventor, [Paul Gottlieb Nipkow]. [Nipkow] conceived and patented the idea of a spinning disk with a spiral of holes to dissect an image sequentially into a series of lines in the 1880s, but without the benefit of the electronic amplification that would come a few decades later was unable to produce a viable system to demonstrate it. It would be in the 1920s before [John Logie Baird] would develop the first working television system using [Nipkow]’s invention.

Continue reading “Mechanical Image Acquisition With A Nipkow Disc”

Go Small, Get Big: The Hack That Revolutionized Bioscience

Few people outside the field know just how big bioscience can get. The public tends to think of fields like physics and astronomy, with their huge particle accelerators and massive telescopes, as the natural expressions of big science. But for decades, biology has been getting bigger, especially in the pharmaceutical industry. Specialized labs built around the automation equipment that enables modern pharmaceutical research would dazzle even the most jaded CERN physicist, with fleets of robot arms moving labware around in an attempt to find the Next Big Drug.

I’ve written before on big biology and how to get more visibility for the field into STEM programs. But how exactly did biology get big? What enabled biology to grow beyond a rack of test tubes to the point where experiments with millions of test occasions are not only possible but practically required? Was it advances in robots, or better detection methodologies? Perhaps it was a breakthrough in genetic engineering?

Nope. Believe it or not, it was a small block of plastic with some holes drilled in it. This is the story of how the microtiter plate allowed bioscience experiments to be miniaturized to the point where hundreds or thousands of tests can be done at a time.

Continue reading “Go Small, Get Big: The Hack That Revolutionized Bioscience”

You’re The Only One Not Playing With Unity

It wasn’t too long ago that one could conjecture that most hackers are not avid video game players. We spend most of our free time taking things apart, tinkering with microcontrollers and reading the latest [Jenny List] article on Hackaday.com. When we do think of video games, our neurons generally fire in the direction of emulating a console on a single board computer, such as a Raspberry Pi or a Beaglebone. Or even emulating the actual console processor on an FPGA. Rarely do we venture off into 3D programs meant to make modern video games. If we can’t export an .STL with it, we’re not interested. It’s just not our bag.

Oculus Rift changed this. The VR headset was originally invented for 3D video games, but quickly became a darling to hackers the world over. Virtual Reality technology is far bigger than just video games, and brings opportunity to many fields such as real estate, construction, product visualization, education, social interaction… the list goes on and on.

The Oculus team got together with the folks over at Unity in the early days to make it easy for video game makers to make content for the Rift. Unity is a game engine designed with a shallow learning curve and is available for free for non-commercial use. The Oculus Rift can be integrated into a Unity environment with the check of a setting and importing a small package, available on the Oculus site. This makes it easy for anyone interested in VR technology to get a Rift and start pumping out content.

Hackers have taken things a step further and have written scripts that allow Unity to communicate with an Arduino. VR is fun. But VR plus physical reality is just down right exciting! In this article, we’re going to walk you through setting up your Oculus Rift and Unity game engine to communicate with the outside world via an Arduino.

Continue reading “You’re The Only One Not Playing With Unity”

The Arduino Foundation: What’s Up?

The Arduino Wars officially ended last October, and the new Arduino-manufacturing company was registered in January 2017.  At the time, we were promised an Arduino Foundation that would care for the open-source IDE and code infrastructure in an open and community-serving manner, but we don’t have one yet. Is it conspiracy? Or foul play? Our advice: don’t fret. These things take time.

But on the other hand, the Arduino community wants to know what’s going on, and there’s apparently some real confusion out there about the state of play in Arduino-land, so we interviewed the principals, Massimo Banzi and Federico Musto, and asked them for a progress report.

The short version is that there are still two “Arduinos”: Arduino AG, a for-profit corporation, and the soon-to-be Arduino Foundation, a non-profit in charge of guiding and funding software and IDE development. The former was incorporated in January 2017, and the latter is still in progress but looks likely to incorporate before the summer is over.

Banzi, who is a shareholder of Arduino AG, is going to be the president of the Foundation, and Musto, AG’s CEO, is going to be on the executive board and both principals told us similar visions of incredible transparency and community-driven development. Banzi is, in fact, looking to get a draft version of the Foundation’s charter early, for comment by the community, before it gets chiseled in stone.

It’s far too early to tell just how independent the Foundation is going to be, or should be, of the company that sells the boards under the same name. Setting up the Foundation correctly is extremely important for the future of Arduino, and Banzi said to us in an interview that he wouldn’t take on the job of president unless it is done right. What the Arduino community doesn’t need right now is a Foundation fork.  Instead, they need our help, encouragement, and participation once the Foundation is established. Things look like they’re on track.

Continue reading “The Arduino Foundation: What’s Up?”

Megabots, Colliders, Rockets, Tunnels Underground, And Other Big Dumb Ideas Will Save Us

Humanity is a planetwide force. We have the power to change our weather. We have the power to change the shape of the land. We have the power to selectively wipe a species from this earth if we choose.  We’ve had this power for a while and we’re still coming to terms with it. Many of us even deny it.

With such power, what do we do? We have very few projects which are in line with our ability. Somewhere in the past few years, I feel like most of us have lost our audacity. We’ve culturally come to appreciate the safe bet too much. We pull the dreamers and doers down. We want to solve the small problems first, and see if we have time for the big problems later. We don’t dream big enough, and there is zero reason for this hesitation. We could leverage our planetwide power for planetwide improvements. Nothing is truly stopping us. No law, no government, nothing.

To put it simply, as far as technology goes, everything is still low-hanging fruit. We’ve barely done anything. Even some of our greatest accomplishments can happen randomly in nature. We’ve not left our planet in any numbers or for any length of time. Our cities are disorganized messes. In every single field today, the unexplored territory is orders larger than the explored. Yet despite this vast territory, there are very few explorers. People want to optimize the minutia of life. A slightly faster processor for a slightly smaller phone. It’s okay.

Yet that same small optimization applied to a larger effort could have vast positive impact. Those same microprocessors could catalog our planet or drive probes into space. The very same efforts we spend on micro upgrades could be leveraged if we just look at the bigger picture then get out of our own way. All that is lacking is ambition. Money, time, skill, industry, and people are all there, waiting. We have the need for and have the resources to support ten thousand Elon Musks, not just the one.

Big projects make us bigger than our cellphones and Facebook. When you see a rocket launch into the sky, suddenly, “the world” becomes, simply, “a world.” Order of magnitude improvements reduce the order of our perception of previously complex problems. They should be our highest goal. Whatever field you’re in, you should be trying to be ten times better than the top competitor.

However, there are some societal changes that have to occur before we can.

Continue reading “Megabots, Colliders, Rockets, Tunnels Underground, And Other Big Dumb Ideas Will Save Us”

The Red Special: Brian May’s Handmade Guitar

Guitarists are a special breed, and many of them have a close connection with the instruments they play. It might be a specific brand of guitar, or a certain setup required to achieve the sound they’re looking for. No one has a closer bond with an instrument than Brian May to his Red Special. The guitar he toured with and played through his career with Queen and beyond had very humble beginnings. It was built from scratch by Brian and his father Harold May.

A young Brian May playing the brand new Red Special. Note the disk magnets of the original handmade pickups

It was the early 1960’s and a young teenaged Brian May wanted an electric guitar. The problem was that the relatively new instruments were still quite expensive — into the hundreds of dollars. Well beyond the means of the modest family’s budget. All was not lost though. Brian’s father Harold was an electrical engineer and a hacker of sorts. He built the family’s radio, TV, and even furniture around the house. Harold proposed the two build a new electric guitar from scratch as a father-son project. This was the beginning of a two-year odyssey that resulted in the creation of one of the world’s most famous musical instruments.

Brian was already an accomplished guitarist, learning first on his dad’s George Formby Banjo-ukulele, and graduating to an Egmond acoustic guitar. Brian’s first forays into electric guitars came from experimenting with that Egmond. If you look close, you can even see the influence it had on the final design of the Red Special.

Continue reading “The Red Special: Brian May’s Handmade Guitar”