The Sense HAT touches down

By Russell Barnes. Posted

Soon to be seen in low Earth orbit, you can now own the space-bound Sense HAT add-on board that makes the Astro Pi project possible

The Sense HAT is out and hopefully you’ve managed to get your hands on one, but if you’re still unsure as to what it even is, you may at the very least be familiar with the project it’s attached to: Astro Pi.

The Sense HAT is the add-on board holding the key sensors that enables Astro Pi to exist in the first place, and will be attached to a selection of Raspberry Pis as they head up to the International Space Station at the end of 2015. The Sense HAT had slightly more humble beginnings, though, at least according to project lead Jonathan Bell:

“I kinda hijacked a pet project of James [Adams’s] and turned it into a space-faring board,” he reveals. James Adams is the director of hardware at Raspberry Pi, and he and Jonathan were the main forces behind the Sense HAT.

 Got your hands on one yet?

“Effectively we wanted to produce a HAT that would be a neat, fun example of how to design a HAT,” Jonathan continues, telling us the simple origins of the Sense HAT. “It was an exercise in how to design a HAT that can be put into mass-production: how would somebody go about doing that so hundreds of thousands of HATS could be produced, and how would we design the board to deal with that.”

Halfway through development, what was once a relatively basic HAT received a whole host of ST microsensors, the same kind used on mobile phones. “Eventually we said, hang on a minute: what happens if we put loads of sensors on this thing and turn it into a kind of a cool toy!”

The Sense HAT was eventually completed with three key sensor chips: separate pressure and humidity chips that can also both measure temperature at different levels of sensitivity, and a positional chip that contains an accelerometer, a gyroscope, and a magnetometer. There’s also an 8×8 LED display and a tiny little joystick that you can use in conjunction with the sensors or completely on their own.

All of this is accessible on the Raspberry Pi by just popping the HAT on the GPIO ports and getting the special Python library for it, which is what the space-bound Pis will be using when they get sent off-world.

 This is how the Sense HAT and Pi will be encased up on the ISS

“The Astro Pi experiments make good use of the HAT itself,” Jonathan tells us, “some of them in quite unusual ways. We have a few Easter eggs up there, which you’ll have to find out about, but there have been some ingenious uses of the sensors. One of the experiments that caught our eye in terms of sensing was one that attempted to detect an astronaut. The astronaut detector sits there, monitoring the humidity, and if there is a certain percentage change in humidity in the module, it thinks there’s an astronaut present. It flashes a message on the LED matrix saying ‘are you there?’.

“Can we detect a human presence in a ventilated module? And the answer is, yes you can; humidity is monitored on the ISS already and hopefully we’ll be surprised that the experiment has a good result. Anyway, once it says ‘are you there?’, it will then ask you to take a picture. Press a button, go around the other side of the Astro Pi, and smile for the camera. So, through that experiment, they’re trying to track if they can get a variation of humidity, and if that variation is also correlated with the presence of an astronaut in the module. That’s two good experiment objectives right there.”

There are many more experiments where that came from, all of which we’ll start seeing reports from in early 2016. As for now, though, if you want to do your own experiments Earth-side, Sense HATs are available from the Swag Store.

From The MagPi store

Subscribe

Subscribe to the newsletter

Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.