Back in 2015, European space agency (ESA) astronaut Tim Peake brought a pair of specially equipped Raspberry Pi computers, nicknamed Izzy and Ed, onto the international space station and invited students back on earth to develop software for them as part of the Astro Pi Challenge. To date, much more than 50,000 young people have had their code run on one of the single-board computers; making them arguably the most popular, and certainly the most traveled, Raspberry Pis in the solar system.

While Izzy and Ed are still going strong, the ESA has chose it’s about time these veteran Raspberries finally get the retirement they’re due. set to make the journey to the ISS in December aboard a SpaceX Cargo Dragon, the new Astro Pi MK II hardware looks quite similar to the original 2015 version at first glance. but a peek inside its 6063-grade aluminium flight case reveals plenty of new and improved gear, including a Raspberry Pi 4 model B with 8 GB RAM.

The beefier hardware will no doubt be appreciated by students wanting to push the envelope. While the majority of Python programs submitted to the Astro Pi program did little much more than poll the current reading from the unit’s temperature or humidity sensors and scroll messages for the astronauts on the Astro Pi’s LED matrix, some of the much more advanced projects were aimed at performing genuine space research. From using the onboard video camera to image the earth and make weather predictions to attempting to map the planet’s magnetic field, code submitted from teams of older students will certainly benefit from the improved computational performance and expanded RAM of the newest Pi.

As with the original Astro Pi, the ESA and the Raspberry Pi foundation have shared plenty of technical details about these space-rated Linux boxes. After all, students are expected to develop and test their code on essentially the same hardware down here on earth before it gets beamed up to the orbiting computers. So let’s take a quick look at the new hardware inside Astro Pi MK II, and what sort of research it ought to enable for students in 2022 and beyond.

Souped-up Sensors

At this point we’re all well aware of the near-desktop performance afforded by the Raspberry Pi 4, so it ought to go without saying that its a substantial upgrade over the pokey Raspberry Pi model B+ from 2014 that students have been working with until now. just as essential as the improvement in raw computational power, having access to fifteen times the memory will enable much more complex tasks that simply weren’t possible before.

To make use of all that extra power, the new Astro Pi MK II includes a larger range of sensors in addition to upgraded versions of the ones which were used on the original hardware. The new sense HAT V2 still includes the gyroscope, accelerometer, and magnetometer as well as sensors to measure humidity, temperature, and pressure inside the ISS. but this time around there’s also a passive infrared sensor (PIR), as well as a color and luminosity sensor.

But possibly the most exciting sensor upgrade comes in the form of the Raspberry Pi HQ camera. The 12.3 megapixel Sony IMX477 sensor is a substantial improvement over the dinky video camera module that was available back when the first Astro Pi was launched. It can also accept CS-mount lenses, implying teams that send their camera-aware code up to the Astro Pi MK II will have the option of having different lenses and filters installed while their project is running. For example, with the suitable filter, students will be able to carry out normalized difference vegetation index (NDVI) observations to monitor and study the distribution of plant life on the Earth’s surface.

An AI CoPilot

When students really need to kick things into high gear, they’ll also have the option of utilizing the Coral USB Accelerator that will be accompanying the Astro Pi MK II. This application-specific integrated circuit (ASIC) developed by Google connects the Pi’s USB 3.0 port and can carry out up to four trillion operations per second while consuming only two watts of power.

Developed specifically for device learning, this low-power device can run TensorFlow Lite models at amazing speeds. The official documentation says that, when paired with a desktop-class processor, the Accelerator can run the MobileNet v2 image classification and detection model at nearly 400 frames per second.

Obviously its capabilities will be decreased when working in conjunction with the Pi 4, but it will still be a substantial boon for teams that want to do device learning in orbit. When combined with the new high-resolution camera, the computer vision prowess of the Accelerator ought to offer some fascinating opportunities for real-time earth observations.

Like the Astro Pi itself, the Coral USB Accelerator has been clad in a customized developed aluminum enclosure that’s clearly developed to help passively dissipate heat. but otherwise, it’s identical to the commercial unit that you can purchase best now for $60 USD. This is the same sort of logic that lead the ESA to select the Raspberry Pi in the first place, as it allows schools to put together cost effective development environments using mostly off-the-shelf components.

Astro Pi: The home Game

So when will students, or Hackaday readers, be able to build their own Astro Pi MK II? Unfortunately, that’s not right away clear. certainly you can pick up a Raspberry Pi 4 and a Coral USB Accelerator best now, but the word is that chip shortages have delayed efforts to produce the new sense HAT in large quantities. students taking part in the program can use the web-based emulator to test their code for the time being, with the teams selected to relocation on to phase 2 slated to get the real thing by November. given the success of the original sense HAT it seems inevitable that the new version will work its way to retail eventually, but it probably won’t happen this year.

A diy version of the original Astro Pi
Similarly, while the project’s site says they’ll be up for download in the near future, the CAD files for the new Astro Pi MK II enclosure aren’t yet available to the public. The Raspberry Pi foundation has a detailed guide on building a replica of the original Astro Pi, complete with information on 3D printing the case, so hopefully something similar is being put together for the December launch of the new version.

Back in 2017, a company produced a $250 USD replica of the original Astro Pi case that was so accurate, Eben Upton himself said they were nearly indistinguishable from the flight-ready units. once the CAD files are out we might see a similar effort to duplicate the new version, but don’t expect it to be any less expensive this time around.

Even if you’re too old or not on the prerequisite side of the planet to take part in the official Astro Pi Challenge, the platform developed by the ESA and the Raspberry Pi foundation is still attractive for citizen scientists and experimenters down here on Earth. hopefully by the time the challenge entries start getting uploaded to the international space station in spring of 2022, we’ll be able to follow along at home with our own model of the hardware.