This post was syndicated from: Raspberry Pi and was written by: David Honess. Original post: at Raspberry Pi
I’m sure a few of you are wondering why we’re not screaming about this from the rooftops, right? Okay: stand back, here we go.
To quote the Portal space core: “SPAAAAAAAAAAACE!!!!!”
Back in March 2014 Eben sent a casual email around the office asking if anyone wanted to join him at a meeting between the Surrey Space Centre, Airbus Defence and Space and Surrey Satellite Technology (SSTL). So, being a space geek, I tagged along and we found ourselves talking about the possibility of using a Raspberry Pi in space flight for a variety of applications.
There was excitement over the possibility of flying several compute modules on a cube-sat for a space software lab experiment, and Stuart Eves, who is the lead mission concepts engineer at Airbus Defence and Space, was especially enthusiastic about using Raspberry Pi as a mechanism for educational outreach by UK Space (a trade association of companies that contribute to the UK space industry).
A month or so later, another meeting was on the cards, and this time the UK Space Agency (UKSA, an executive agency of the British Government) was going to be there.
That’s when I met Libby Jackson and Jeremy Curtis. Libby and Jeremy were behind the Great British Space Dinner competition you may remember from last year, and, between them have years of experience in human space flight. Doing something with British ESA astronaut Tim Peake’s six month ISS mission was on the table, but we were not sure how it was going to look.
It was clear to everyone that the existing popularity of Raspberry Pi, the connection with computer science education, and the forthcoming changes to the UK curriculum would cast a wide net over the UK; and together could generate a lot of participation in a potential coding competition. We realised that a situation where UK schools could own the same computer hardware that was in space had never, as far as we knew, existed before.
Doug Liddle, head of science at SSTL, told me that the possibility to achieve this was more exciting than anything else the UK Space trade association had been considering for Tim Peake’s flight. So over the course of several further meetings we put together an outreach plan that would provide a range of computer science challenges to cover the diverse needs of the space industry. At the core of these would be a Raspberry Pi with a range of peripherals and sensors which would act as the platform for the pupils to send their software into space.
Libby and Jeremy took the plan to the European Space Agency (ESA) for approval, and it was well received. To very briefly summarise: the programme would be split into two halves, with some activities that Tim would do up on the ISS during his mission and a competition run on the ground before blast-off.
At this point we still hadn’t decided a name for it and I think it might amuse you to see the names that we were considering:
- Pi in the Sky
- Astronaut Pi
- Astro Pi
- Cosmic Pi
- Fly Pi
- Space Pi
- Chris HATfield
- Astronaut HAT
- Orbital Pi
- Peake Pi
- Raspberry Peake
As the year went on, we were well into discussions about what the hardware would be like. It was agreed that it would be a B+ HAT that could be mass produced and made widely available to schools and the general public. The same HAT would then be flown, along with Tim’s Raspberry Pi, to the ISS, thus creating the situation where all school pupils have exactly the same computer hardware as the astronauts are working with in space. They would be able to write code against their own Pi, and that could then be sent to the ISS and run on Tim’s Pi!
If you win the Astro Pi competition this is exactly what will happen to your code.
We didn’t want the Astro Pi HAT to have any single purpose, but rather to be a toolkit that could be employed in many different ways. Initially the list of sensors we wanted to have on it was enormous, and this had to be trimmed down due to the physical space constraints of the HAT standard. The sensors that made the cut were chosen for their ability to provide learning opportunities in the context of space flight. The solar arrays on the ISS, for instance, each have about 12 gyroscopes to control their orientation so that they can track the sun. Accelerometers are used to measure forces exerted by thrusters on all space craft, and magnetometers work like a compass so you can know which way you’re facing in relation to the Earth’s magnetic field.
We also knew that we wouldn’t be able to plug the Astro Pi into anything like a monitor or keyboard, and that it would have to run headless. Having some kind of visual output, despite this constraint, would be important: so this is why we included the 8×8 matrix of LEDs. Use it wisely!
So all that was the easy part. Meanwhile we began the process of getting the hardware approved for space flight with ESA. Space conditions are challenging, and because of this there is an abundance of testing that must be done for any object going up to the ISS. What you need to possess, to be allowed up there, is a flight safety certificate. The process to obtain this for Astro Pi is still ongoing as I write this blog entry.
There two kinds of payloads (space cargo consignments): they’re called “educational” payloads and “real” payloads. Educational payloads are usually inanimate objects, like balls which are sent up to collide together in zero gravity to demonstrate the conservation of momentum effect or similar. Real payloads are things like the complex machines that are designed to perform a job on the station, or robotic arms that can be controlled by an astronaut. The thing that differentiates the two is the simple question: does it plug in and turn on?
So we found ourselves in the unique situation of being an educational payload that has to consume power from the ISS mains. This meant that our path through the safety approval process was not going to be trivial. Fortunately we have some of the best people in the UK Space industry on our side, who are actively working towards making this happen. ESA have also hooked us up with engineers and safety experts, who are helping guide us through their processes too. It’s been an absolute pleasure and a privilege to work with these folks.
Here is a list of some of the tests we have to do:
- Flammability assessment
- Off-gassing assessment
- Electromagnetic interference / susceptibility assessment (the CE and FCC ones don’t count in space)
- Electrical interface testing (to prove we can consume power from the ISS safely)
- Vacuum exposure assessment
- Sharp edges hazard assessment (so we don’t accidentally poke holes in any astronauts)
- Launch conditions vibration test (to make sure the Astro Pi still works afterwards)
We plan to shout about each of these on social media in the coming months, as they happen, so stay tuned! Once we have the flight safety certificate we can be scheduled for a launch. This was originally planned to be an ATV or Space X Dragon capsule, however it now looks more like we’re going up on the Soyuz rocket with Tim Peake himself. I can’t believe I just typed that.
I had opportunity to meet Tim at the Farnborough Air Show last year too. He was there doing the closing ceremony of Mission X with the UK Space Agency, but was able to spare an hour of his time to attend one of the UK Space progress meetings. We gave him a general Raspberry Pi demonstration and talked a bit about the competition and what he would be required to do. He was really enthusiastic and said he wanted to make it as interactive as possible, even suggesting the possibility of a live debugging session with the competition winners.
Imagine randomly getting a phone call from the ISS: “Hello this is Tim Peake on the International Space Station, I’ve just found an error on line 21 of your code. Does it work properly on yours?”
I don’t know if that will happen, but it might!
Aside from the flight safety procedures, a lot of mission specific documentation needs to be produced too. You may not know this, but a lot of the European crew operations on orbit are controlled from a little house in Lucerne, Switzerland. Libby Jackson and I paid them a visit in December last year to give them an orientation on the hardware. They’re a division of Lucerne University called BIOTESC, and they write all of the step-by-step procedures that the crew follows during day to day operations. Understandably they all have very good personal and professional relationships with the crew members.
They’re a lovely bunch of people who are going to become super-competent in the use and maintenance of a Raspberry Pi. They’ll be required to advise Tim should anything not work as intended up there. We had one of the Astro Pi prototype units with us and went through a few mock procedures that Tim would be expected to do. Libby took the opportunity to dust off her coding skills and spent about an hour programming a nice countdown sequence on the LED matrix which she blogged about here.
Back in the UK, the Astro Pi media drive was beginning to roll into action. Many people from UK Space trade association were working behind the scenes to get the website ready, setting up interviews and organising press conferences. The announcement was scheduled for 10 December at the CGI offices in Kings Cross, London. Press were invited and we had a number of school students from Weydon School in Surrey join for a Raspberry Pi workshop during the conference. The full report from that day can be found online here. The BBC were involved too and technology correspondent Rory Cellan-Jones caught up with Tim and interviewed him about Astro Pi.
Meanwhile, our artist and animator, Sam Alder, who had already designed the Astro Pi logo, was busily working on story-boarding and producing a cartoon about the competition. We were fortunate to be allowed to record Tim Peake’s voice for it. Sam and his colleague from Saladhouse Studios, Scott Lockhart, met up with Tim to do the recording at a hotel in London. He told me that they sat down, started looking through their notes, and looked up at Tim in his ESA polo shirt and whispered: “I can’t believe this! What the hell are we doing here?”
The final cut of the cartoon was kept under wraps with the intention to show it during the competition launch at BETT 2015 for the first time.
We had planned to do a live link interview with Tim, who would be in the United States, during the BETT arena presentation. Sadly this fell through because he was travelling on that Friday. So instead we organised a Skype call the night before, and I was the lucky one who got to interview him!
It was recorded on my computer at home. This was my own “What the hell are we doing here?” moment; I was a bit like a starstruck rabbit caught in the headlights for the whole interview.
So the next day Lance Howarth from the Raspberry Pi Foundation, Jeremy Curtis from the UK Space Agency and Doug Liddle from Surrey Satellite Technology gave an exciting presentation to a crowded BETT arena. Here is the Skype interview:
The cartoon animation was then shown to round off the presentation. This is by far my favourite of all the animations Saladhouse have done for us.
So that just about brings us up to date. ESA have told us that Astro Pi is the most advanced educational payload that they’ve seen, and that they’re watching what happens here with interest. If we have a high degree of participation in the competition then ESA may decide to repeat the whole process for the rest of Europe with another astronaut. So please do your bit and tell everyone you know! We want every school in the UK to participate!
We’re working hard to get the Astro Pi HAT manufactured in volume and we’re hoping for them to be available by the middle of March. But don’t forget that you can win them too! Secondary school sign up is now live so head over to astro-pi.org and read more about the competition rules.
Primary Schools enter here.
Secondary Schools enter here.
Thanks for reading this far; I know this is a long post. One final thought I’d like to leave you all with is regarding an awesome tradition of the Russian space program that is still observed on all Soyuz launches to this day. The Russian commander is responsible for choosing a talisman that hangs inside the capsule. It’s a visual indicator of when the spacecraft has reached weightlessness and dates right back to Yuri Gagarin (the first person in space).
The talisman is usually some kind of stuffed toy, and if you watch the most recent launch video below, where Italian ESA astronaut Samantha Cristoforetti went up, you’ll see they used Olaf from Frozen! Watch for the main engine cut off at 09:15 for when he shoots forwards and becomes weightless.
Can anyone think of a stuffed toy that might be appropriate for Tim’s launch?