Raspberry Pi Blog

This is the official Raspberry Pi blog for news and updates from the Raspberry Pi Foundation, education initiatives, community projects and more!

Light painting with a Raspberry Pi

Before we get to the meat of today’s post, we’ve two bits of news. Just over an hour ago we watched the Soyuz rocket carrying British ESA astronaut Tim Peake, who will be in charge of the two Astro Pis on the ISS, lift off. The Soyuz will dock with the ISS around 17:24 GMT today: please join us following Tim’s progress on Twitter from about 16:45 GMT. (You can also watch live footage at NASA TV.)

In other Raspberry Pi community news, we’re very pleased to announce that Yasmin Bey, a 14-year-old Pi developer from Southend, organiser of school computer clubs, and friend of many at Pi Towers, won the EU Digital Girl of the Year award, which this year was awarded jointly with Niamh Scanlon from Dublin. We’ve been watching Yasmin’s progress over the last year or so: she’s an astonishingly focussed and exceptionally smart girl, and we wish her all the success in the world. Well done Yasmin – we’re really proud of you!

Back to light painting.

raspberry_pi_rainbow2

LadyAda from New York’s Adafruit dropped me a very short email at the end of last week, saying “You must see this.” As usual, she was right. This is one of the most eye-catching projects we’ve come across this year.

What you’re seeing in the photo above is a persistence of vision (POV) effect, where a slow shutter speed is used to capture a row of LEDs which change as they’re moved across the frame (in this instance by someone carrying and sweeping the LEDs from one side of the picture to the other over a period of a couple of seconds).

raspberry_pi_nasa

It’s a really impressive effect, and it’s a rig you should be able to build yourself at home, using a Raspberry Pi and some additional kit. Adafruit has covered the subject before, but they’ve discovered that their new DotStar LEDs make things much easier and much better looking. DotStar LEDs use generic 2-wire SPI, so you can push data much faster than with the NeoPixels’ 800 KHz protocol, and you don’t need to mess around with specific timing functions. They also have much higher pulse width modulation (PWM), which means that things look a lot smoother and less flickery than in POV projects made with other LEDs. Result: cleaner, more detailed light painting.

raspberry_pi_bowser

Adafruit have a made a very thorough tutorial which will help you build a 1m light painter which can support most common image formats. They’ve also helpfully included instructions on making your photos taken with this setup as bright and sharp as possible.

raspberry_pi_episode7

We’re wondering if we have enough time to build our own rig for Christmas. If you make your own, please post a link in the comments!

 

9 Comments

DOTs Board: on sale now!

DOTs3

Control your Raspberry Pi with paint – perfect for all ages!

The DOTs Board is an official Raspberry Pi product designed by Foundation’s Creative Producer, Rachel Rayns. It’s been used by the Foundation team at events all over the world in 2015 – and now you can buy one yourself.

We are really excited to have been able to work with Jamie Mann from the The Pi Hut to bring the DOTs Board to market. You can now buy them exclusively from The Pi Hut in singles, classroom packs of 30 and conference packs of 100.

It’s a HAT-sized board with a Dot-to-Dot (Connect the Dots for our friends over the pond) activity. You use conductive paint to follow the numbers – the Raspberry Pi will read which dots have been connected and will generate your airplane in Minecraft based on your painting.

DOTs2

DOTs Boards are reusable – simply wash the paint off with a wet wipe or damp kitchen roll, allow to dry and start all over again.

dot2

Big kid? You can hack the code to add extra elements into the Minecraft game or start a new game from scratch.

Software

So you’ve got your hands on a DOTs Board, but before you connect it to your Raspberry Pi (A+, B+ or Pi 2) you need to install the software.

Andrew Mulholland has created an awesome Minecraft activity to use with the Dots boards. With an up-to-date Raspbian image, connect your Pi to the internet.

Open the terminal and enter:

 sudo apt-get install python-pip
 sudo pip install rpi_dots_minecraft

Once that’s finished installing you are ready to go!

Activity

Our friends at Bare Conductive have made a beautiful activity guide for the DOTs Board activity.
dots4

Download the PDF version here: DOTs Board Electric Guide

Make your own game

You’ve tried out our game and now you’re ready to make your own? Awesome!

You’ll find the code you need to get started on GitHub, and you can see our example game at github.com/RPi-Distro/python-rpi-dots.

Be sure to share your own creations with us! We can’t wait to see what you make.

Gallery

7 Comments

Make Games with Python – the latest e-book in The MagPi Essentials range!

Make Games with Python is designed to help you learn the coding skills you need to create amazing games and applications on your Raspberry Pi. The best bit? The price starts at free…

While countless millions of us like nothing more than spending hours racking up high scores on our favourite games, too few of us are exposed to an even more gratifying way to spend the evening – making them.

RPi_Essentials_eBook2_PythonGames-001

Written by technologist and tinkerer, Sean M. Tracey, Make Games with Python is made up of ten chapters that take you on a whirlwind tour of Pygame’s game-making capabilities. The book helps you learn essentials Python skills like lists, dictionaries, classes and more.

Here’s a quick breakdown of what you can expect to learn:

  • Creating shapes and paths
  • Movement and animation
  • Using the keyboard & mouse
  • Adding sound and music
  • Simulating physics and forces
  • Building classes for actors
  • Creating your own shoot-em ‘up
Games_on_Tablet

Download the free PDF today (11MB)

Like the look of The Essentials range? You might quite fancy Conquer the Command Line. The terminal window isn’t as scary as you might think!

If you’d like to support the Raspberry Pi Foundation’s charitable aims you can buy both Make Games with Python and Conquer the Command Line on your favourite Apple or Android device for £2.99 / $3.99 each.

The MagPi app itself is entirely free to download and comes complete with the first 30 issues free!

app_store google_play

8 Comments

Christmas lights

It’s the most wonderful time of the year! Every December, we see Raspberry Pi Christmas lighting projects appear on the web, but this year the crop has been bigger and better than ever before. If you haven’t set yours up yet, here are a few ideas, tutorials and displays to get you started.

Let’s open with the Johnson Family’s Dubstep Christmas Show for a look at what can be achieved with a Raspberry Pi and an awful lot of festive elbow grease.

2015 Johnson Family Dubstep Christmas Light Show – Featured on ABC’s The Great Christmas Light Fight

NEW since 2014: – LED Wreaths replaced with Pixel Wreaths – LED Snow flakes replaced with Pixel Snowflakes – First 3 minutes of 2014 show removed and replaced with new music and sequencing – New effects, more effects, higher-energy/faster paced from beginning to end of show – 100% Pixels!

We think this is the largest and most impressive Pi-based Christmas light show we’ve seen so far: let us know if you’ve seen bigger and better! You can read more about the Johnson’s setup (all controlled by a Pi) at their very detailed webpage about the project. Matt Johnson also has a behind the scenes video for you to goggle at.

Behind the scenes tour of the Johnson Christmas light show

I created this video in response to numerous questions I have received regarding our Christmas Light Show, which you can see at http://www.johnsonlightshow.com. I start off with a basic yard tour of some of the elements, and then get into the details about how it is all put together.

Frankly, the Johnson’s effort is an outlier in its size and complexity. But there are elements of a light show like this that you can make at home and use without scaring the neighbours.

Andrew Oakley has kept his Raspberry Pi Christmas lighting setup compact: one LED matrix displayed in a window. For all that it lacks in size, its ability to play animations and the project’s low price make this a great option.

Raspberry Pi Christmas LED Matrix WS2811

An ultra-cheap low-resolution animated LED matrix, controlled by a Raspberry Pi computer. Uses 96 (12×8) WS2811 addressable LEDs.

Andrew has a really thorough tutorial and build diary (we love Andrew’s write-ups) available at his website, along with the animations he’s made and all the code you need to make your own.

Lights are not just for Christmas. Here’s a giant animated menorah, built by Ben Forta and family for Hanukkah 2015. There’s a full description of how the animation was made in the video.

Our Giant Raspberry Pi Menorah (and How It Was Made)

We built a giant Raspberry Pi powered LED menorah for Chanukah. This is a demo of the full animation sequence, and a description of how it was built.

Don’t want to share your lights with the neighbours? No problem! Here’s Anderson Silva’s Son et Lumiere Christmas tree.

The Silvas Dancing Christmas Tree

This was done with the sample “deck the halls” that comes with the open source LightshowPi project. This entire project was done on a Raspbery Pi B+ and a Sainsmart 8 Channel 5V Solid State Relay Module Board.

Anderson says:

I have 8 channels running 800 lights. I also modified the LightShowPi‘s configuration to customize the lights a bit more. I am running all songs in 4 channels and mirroring the other 4 channels, this (IMHO) makes the lights a little more fun with a lot less ‘blackouts’ from unused channels during certain songs.

You’ll find a very, very thorough step-by-step breakdown of how to build your own, written by Anderson, at Open Source World.

If you need more inspiration, there’s an amazing online community dedicated to LightShowPi at G+, where huge numbers of people using the Raspberry Pi in indoor and outdoor displays swap hints and tips, and showcase their work. (If you’re reading this, G+ community members, a big, flashy hello and merry Christmas to all of you from all of us at Pi Towers!) Head on over for friendly help and advice – and if you’ve made a seasonal display you think we should know about, let us know here in the comments!

7 Comments

Astro Pi: Launch review and ISS arrival

Earlier this week, after three days of scrubs due to bad weather, the Astro Pi payload (two specially cased Raspberry Pis, Sense HATs and lots of experiments coded by UK school children) was finally launched into space on Orbital Sciences’ Cygnus cargo freighter on its fourth resupply mission to the ISS. The precious payload is inside the nose cone of the rocket in the gif above. If you missed it live, you can watch the replay of the launch below.

Launch of Cygnus OA-4 Return to Flight on Atlas V Rocket

An Atlas V rocket in the 401 configuration has successfully launched the unmanned Cygnus OA-4 spacecraft full of cargo for the International Space Station today, December 6th 2015 at 21:44 UTC. This return to flight mission since the Antares rocket failure in October 2014 carries an enhanced Cygnus spacecraft with a larger cargo volume and new solar arrays, The craft will arrive at the International Space Station on Wednesday.

The Cygnus spacecraft is set to arrive at the ISS on Wednesday 9th December (this morning!), with grapple operations beginning at 11:10 GMT.

Orbital ATK on Twitter

Cygnus grapple will begin at 6:10 am ET on Dec 9. Watch live coverage on http://www.nasa.gov/ntv

This is a fascinating, if slow, process where NASA Astronauts Kjell Lindgren (pronounced Chell Lend-grin) and Scott Kelly will operate the 57-foot-long Canadarm2 to reach out and capture the Cygnus spacecraft before pulling it into the Earth-facing port on the Unity module. You can watch this live on NASA TV below:

NASA Public

NASA TV airs a variety of regularly scheduled, pre-recorded educational and public relations programming 24 hours a day on its various channels.

Launch review

Matt Richardson, Jonathan Bell (jdb on the forums) and I were able to attend the launch at Kennedy Space Center (KSC) in Florida.

Astro_Pi_Logo_WEB-300px

Matt, who works from Raspberry Pi’s US office, had applied for, and was granted, NASA Social credentials for a tour of KSC and launch viewing. You have to be an American citizen for this particular NASA Social launch event so Jon and I, being British, couldn’t apply. Here’s Matt to tell you what happened:

In the days leading up to the launch, a group of us were given an in-depth tour of Kennedy Space Center. A lot of what we saw related to the Atlas launch, but we were also shown some of the long-term work related to the Space Launch System, which replaces NASA’s retired Shuttle program. We got an overview on how they test umbilicals for the new rockets in the Launch Equipment Test Facility, walked around inside the enormous Vehicle Assembly Building, which is being retrofitted for SLS, and went inside Boeing’s facility to see the progress on the CST-100 Starliner crew module for commercial crew missions.

But it was especially fantastic to see the work being done in preparation for the ISS resupply mission which included our intrepid Raspberry Pis. United Launch Alliance showed us around Atlas Operations Facility, where launch control is. Unfortunately, photography inside was strictly forbidden. Before the rocket rolled out onto pad 41, we toured the launch pad up close:

pad 41

Launch pad 41

After the rocket was in place on the launch pad, we returned to take a few photos. It was quite incredible to think that two Raspberry Pis were loaded up inside the Cygnus spacecraft, ready for their trip to the ISS. It was at the launch pad where I met Matt Donovan, Human Launch Services Propulsion System Design Leader at United Launch Alliance. I was eager to tell him how excited we were to have cargo on this launch. “Thanks for the ride,” I told him on behalf of all of us in the Raspberry Pi community and for the students with code on-board.

pad 41 ula

Matt Donovan from United Launch Alliance with Atlas V in the background

While Matt was doing that, Jon and I just bought domestic passes to the KSC visitors’ complex. If you’re ever in Florida I highly recommend paying this place a visit, regardless of whether a launch on.

There is nothing quite like seeing actual spaceships that have been in actual space!

KSC provides a bus service that transports you out to a restricted area called Banana Creek where all five of the main launch pads can be seen at a safe distance. There are a number of bleachers (tiered benches) for people to sit on.

Banana Creek

NASA Administrator Charles Bolden speaks to launch viewers at Banana Creek

When Jon and I arrived for the first launch attempt on the 3rd we were both excited and wired. However over the course of several hours the weather deteriorated. The Atlas V rocket was on launch pad 41 and at one point we couldn’t even see it because of heavy rain. Jon and I were pretty damp ourselves, both physically and in spirit, by the time the launch was finally scrubbed.

The next day we came back to Banana Creek and convinced ourselves things would be different. The weather was glorious sunshine. This time the launch attempt got all the way to the terminal count; but we heard the fatal words “flight is no go” again and again, due to ground winds throughout the 30-minute window. If ground winds are too high, there is a risk that the rocket could collide with the launch tower as it comes off the pad. So, once again, we were scrubbed for the night.

IMG_3101

Handed out as we boarded the KSC bus back from Banana Creek

On the 5th the wind was so high that people were out kite-surfing on the beach at 9am, and with no sign of it abating the launch was scrubbed hours before the 30-minute window even arrived.

Our flight back to the UK was the following day and, with only one chance left, we doubted that we would see it lift off at all. We wouldn’t have enough time to get the bus out to Banana Creek and back, so we made a plan to watch it from within the grounds of KSC visitor complex and then make a dash for the airport. This was only about one more mile away from launch pad 41.

As if things couldn’t get any worse, our plan was defeated when the KSC visitor complex had a mains water failure and had to close. An announcement came over the loud speaker asking everyone to leave.

KSC Visitor Complex on Twitter

Houston, we have a problem! Due to a water main break, the #KennedySpaceCenter Visitor Complex has closed until we can resolve the issue.

At this point we felt that the universe was against us, but we refused to give up. We checked online for places to view from and drove like madmen to the A1A bridge across the Banana river, where there’s line-of-sight to the NASA vehicle assembly building.

P1000755

We were not the only ones there!

We had no way of getting updates because there was no WiFi there, and mobile data was being charged at £6 per MB. So we befriended some locals and listened in to their phones.

I can never put into words how bum-clenchingly tense the last ten minutes of the countdown was. Jon and I were both pacing up and down, checking the time every 30 seconds and chewing our own fingers! [Liz interjects: we were watching the live feed and live-tweeting the event from the UK; we were also clenching.]

Eventually someone shouted “There!” while pointing to the horizon and when we looked up. This is what we saw (click to enlarge):

P1000757

The booster flare of the Atlas V rocket from eight miles away

We only saw the booster flare for about three seconds before it then disappeared into the clouds. About 30 seconds or so later, the noise arrived: a brilliant low thundering rumble building and building before slowly fading away.

Jon and I looked at each other and almost in unison said “Bon voyage little Raspberry Pis!” We then leapt into the rental car and headed for Orlando airport to catch our flight home. It was a hectic few days, but well worth it to catch that glimpse of the rocket taking off. Matt, Jon and I are eternally grateful to Eben and Philip who sent us on this journey!

floating-in-a-tin-can

Floating in a tin can

16 Comments

Pi Wars

Liz: a bunch of the Pi Towers crew spent Saturday at Pi Wars, the amazing, community-run Raspberry Pi robot competition, now in its second year. With 500 attendees and more robots than we’ve ever seen in once place before, the event’s really come into its own. I was going to blog about it today, but late last night, I came across a blog post from one of the young people who took part, and decided he did a much better job that I could have done.

So here’s 10-year-old Femi’s beautifully written post, which includes a ton of video interviews with robot makers: you can see more of his work on his own website, hackerfemo.com. Thanks Femi, ENORMOUS thanks to Mike and Tim for organising the event, and thanks to everybody who came!

Liz Bighak

Liz driving Hitchin Hackspace’s BigHak, last seen heading for the A14.

What an amazing weekend! Very early Saturday morning me and my mum headed for Cambridge to witness the wonders of Pi Wars – run by CamJam organisers Mike and Tim.

Screen Shot 2015-12-08 at 13.27.15

Femi, author of today’s post.

After getting  a goodie bag and our Judge and Jam Maker stickers we went to explore the amazing robots that were competing  against each other.  There were around 30 competitors. I managed to interview five of them: Darth Cthulhu, The Bomb Squad, Optimus Pi, Triangular and Revenge of the PyroBot, along with young robot fanatic  Crazy Squeak’s own robot that he brought along to test out on the challenges.  Crazy Squeak – it was really great to meet you at Pi Wars and look forward to reading your blogs too.

Crazy Squeak

Darth Cthulhu (Southend Raspberry Jam team):

Southend RJam Robot

The Southend Raspberry Jam team bring their robot to Pi Wars

The Bomb Squad (Yasmin Bey)

The Bomb Squad at Pi Wars

The Bomb Squad: Yasmin Bey talks about her small but deadly robot.

Optimus Pi (Leo White)

Optimus Pi

Leo talks about his Robot at Pi Wars

Triangula (Tom Oinn)

Triangula at Pi Wars

Tom talks about his amazing robot, Triangula at Pi Wars

Revenge of PyroBot (Brian Corteil)

Revenge of the PyroBot at Pi Wars

Brian talks about his awesome robot at Pi Wars

Crazy Squeak

CrazySqueak

Amazing 10yr old coder and robot inventor talks about testing his robot out on the challenges at Pi Wars.

*Apologies for poor sound – as my recording equipment is very limited

There were seven different challenges: Obstacle course, Skittles, Pi Noon – the Robot vs Robot  duel, Straight-line speed test, Three-point turn, Line follower course and  Proximity alert. [Liz: There’s an in-depth look at the turntable element of the obstacle course at PiBorg’s website.]

It was a great privilege to judge  the Three Point Turn challenge with my mum and JarJarGeek. He is an amazing blogger and we had a lot of fun working together as a team. He took some video of the event.

PiWars 2015 – The Next Generation

Cambridge Raspberry Jam – PiWars 2015. Held at University Cambridge Computer Laboratory

It was really interesting as the robots  have to do this challenge autonomously: some used sensors but others used measurements or adjusted the number of wheel rotations/angles etc.

Matts

I also met two other very cool bloggers called Matt – Raspberry Pi IV Beginners and Raspberry Pi Guy – also Matt.  They gave me some great advice, and their recording equipment made me realise that if I want to get serious, as a blogger, poor mum will have to help me raise some funds!

dsci0053_21

One of the real highlights was interviewing Raspberry Pi’s founder and  CEO (Trading) Eben Upton, who said that the Raspberry Pi is all about helping young people to explore coding. He also talked about the £4 Pi Zero and enjoying Pi Wars.

Eben Upton at Pi Wars 2015

Blogger, Hackerfemo, interviews Eben Upton – founder of Raspberry Pi talks about why he developed the Raspberry Pi, the new PiZero and Pi Wars. [hackerfemo.com]

In fact there were so many cool people around. I even got to speak to the other CEO of Raspberry Pi, Philip Colligan, who said that he’d really enjoyed reading my blog and that it was ‘amazing’. Wow – that has made me very happy and it does help me to keep going – even when it gets so busy with other stuff!

dsci0071_2

My favourite robot was the Revenge of PyroBot – it was so cool – with creator, Brain, putting his old robot on top of it. He said it had got trashed last year and this year he’s out for revenge – bigger and better than ever. It was true – he won  about 6 prizes.

dsci0013_3

We are having a Robot hack next week at our South London Raspberry Jam, so coming to Pi Wars was really inspiring and we got lots of encouragement from the community, at the event. Thank you to RyanTeck, Pimoroni, Ragworm, and  RapidOneline  for helping us out. I am also grateful to PiBorg, Ryan Teck (SnowPi) and Mearm for agreeing to send me products to review on this blog.

CVdvbNSW4AAxq8D

Amy Willis and her show-and-tell robot, Huggles: Amy did all the soldering herself.

So this week, we have a CamJam Robot kit that I’m going to be building and mum’s going to ask the IT department at work to do a 3D print of the chassis – see Daniel Ball’s  thingiverse.com website.  We’ll use it as an example for the young coders at our event to build, code and compete in our very own mini Pi Wars.

Last thing! I want to read something awesome over Christmas – can you recommend an iconic or essential piece of writing for a new coder and future designer/builder of robots and the gadgets (Internet of Things) – bearing in mind I’ve just turned 10?  It can be anything – article, fiction, non-fiction or comic. Leave your suggestion in the comments, please?

18 Comments

Beetlecam

First, in non-beetle-related news, this happened last night:

There are two Raspberry Pis in the Cygnus spacecraft, the payload carried by the Atlas V rocket above, which are destined for the International Space Station, where they’ll be used to run kids’ space experiments as part of the Astro Pi project. We’ll have more information for you about the launch on Wednesday, when Dave and Jon will be back from watching the launch in Florida!

Back to the beetles.

Beetle Timelapse with beetlecam.py

Uploaded by Will McGugan on 2015-11-23.

Will McGugan has some unusual pets. He keeps elephant beetles, which come from Central and South America.

Elephant beetles are nocturnal, so when Will’s around, they’re not doing anything very exciting. At night, they’re very active – but who wants to watch 12 hours of beetles? So Will has developed Beetlecam, a timelapse project that should be easy enough for beginners to get to grips with. (In the video above, 24 hours of beetle activity has been condensed into two minutes.)

Will says:

To run Beetlecam, you will need the following 3 things:

  • A Raspberry Pi (any model)
  • A Raspberry Pi Camera
  • A tank of large tropical insects

If you don’t happen to have the last one, don’t worry, it will work with just about anything you would like to make a timelapse of.

Imagine the possibilities!

bananaforscale

You can find links to Will’s Beetlecam.py software and installation instructions over at his website. He’s busy writing further posts in this beetle-tastic series – and we’re looking forward to seeing what the rest of you get up to with the software. This is a good project for beginners – and if you’ve got a hamster, a chinchilla or another kind of creature that’s only active at night time, this is a great way to get your teeth into Raspberry Pi.

12 Comments

Raspberry Pi Calendar

Get a Raspberry Pi-themed look at 2016 with our latest calendar, with all the important dates, along with release dates of The MagPi!

calendar1

Ever looked at your calendar and sighed because it didn’t tell you when the Raspberry Pi’s birthday was, or when the next issue of The MagPi comes out? Want a great stocking stuffer for a Pi-obsessed kid? Or do you just really love the excellent illustrations of Raspberry Pi’s Sam Alder? If any of these pique your interest, then we have an excellent proposition for you.

march

“You can tell by the way I use my walk, I’m a woman’s rabbit…”

The 2016 Raspberry Pi Calendar is available right now from the Swag Shop, normally setting you back £7.99, but for a limited time they’re currently only £5.99! Each month has a fantastic illustration, appropriately themed for the time of year but with a Raspberry Pi twist on it.

aug

To anyone buying the calendar, we’d also like to announce that we’re including a free bonus day! That’s right, for the price of 365 days, we’re throwing in 29 February absolutely free! A bargain if we do say so ourselves.

Grab yourself a copy today from the Swag Shop!

15 Comments

Astro Pi: Launch is tonight!

Astro_Pi_Logo_WEB

Tonight, two specially augmented Raspberry Pi computers, called Astro Pis, will launch into SPAAAAACE! The Astro Pis will be running experimental Python programs written by school-age students, where the results will be downloaded back to Earth and made available online for all to see.

  • When: 22:55:41 GMT (first launch window opens)
  • Where: Cape Canaveral, Florida, USA
  • Coverage: NASA TV live stream (below, and keep an eye out – Astro Pi may get a mention in the launch commentary)

NASA Public

NASA TV airs a variety of regularly scheduled, pre-recorded educational and public relations programming 24 hours a day on its various channels.

If you’ve been following the Astro Pi project, you’ll know that we were bumped from Tim Peake’s launch vehicle due to a cargo overbooking back in October.

ORB-4

The OA-4 Cygnus Spacecraft, image credit: Orbital ATK

We’re now going to launch on Orbital Sciences’ Cygnus cargo freighter (an unmanned spacecraft, above) on its fourth supply mission to the ISS. Orbital Sciences have contracted ULA to launch it into space on an Atlas V rocket (below).

cygnus4

The Atlas V rocket, image credit: United Launch Alliance

When you need to rendezvous with an object in orbit, the timing of the launch is often critical to ensure that you get into the right orbital trajectory. This is often achieved with an instantaneous launch window where the rocket has to lift off at a precisely calculated time, otherwise the two objects will never meet in space.

Obviously, this approach can significantly limit the probability of an on-time launch. For instance, you may need to wait for a rain shower to pass by, a technical problem to be resolved or a boat in restricted waters to be chased away.

However, this is not the case for our launch! The Atlas V has so much performance capability that it provides a 30-minute launch window each day, and it’s all thanks to energy. The Atlas V has so much available energy that it can accommodate a very large off-nominal time of launch: 15 minutes early or 15 minutes late. The extra power is then used by clever steering algorithms to compensate for the rotation of the Earth, relative to the orbital target.

Below is the final configuration of the rocket. It will fly in the 401 vehicle configuration with a four-metre fairing, no solid rocket boosters, and a single-engine Centaur upper stage. The Astro Pis are sitting inside a small cargo transfer bag within the Cygnus spacecraft at the top.

oa4_config

OA-4 Launch Configuration, image credit: United Launch Alliance

And here is the ascent profile, with the main events numbered.

oa4_launch_profile

OA-4 Ascent Profile, image credit: United Launch Alliance

These are the event descriptions, with their times relative to lift-off.

oa4_launch_events

OA-4 Main Events, image credit: United Launch Alliance

And finally, this is the ground trace; note that it will pass over the UK around 23 minutes into the mission. However, it will be in the Earth’s shadow and so almost impossible to spot with the naked eye.

oa4_ground_trace

OA-4 Ground Trace, image credit: United Launch Alliance

If everything goes according to plan, the Cygnus spacecraft will arrive at the ISS on the 6th of December at 9:00 GMT. The docking is a fascinating process and really worth watching if you’re interested; NASA TV will show it. It involves one of the crew operating the Canadarm2 to grab onto the incoming spacecraft before pulling it in.

cygnus5

Cygnus being moved onto the pad yesterday – the two Raspberry Pis are in the cone at the top.

Should the launch be delayed for any reason, here is a list of subsequent launch windows that occur over the next few days:

  • December 4
    Launch: 22:33 GMT
    ISS arrival: Dec 7 or 8
  • December 5
    Launch: 22:10 GMT
    ISS arrival: Dec 9
  • December 6
    Launch: 21:44 GMT
    ISS arrival: Dec 19

If it’s delayed to the 6th, it will have to loiter in orbit for a few weeks before it can dock with the ISS. This is because of other visiting vehicle traffic, such as the Soyuz 45S launching on December 15th, carrying Tim Peake and his crew mates.

I will be attending the launch at Kennedy Space Center, along with Matt Richardson and Jonathan Bell (AKA jdb on the forums). We will be live-tweeting from our personal Twitter accounts (@Dave_Spice and @MattRichardson), from the Raspberry Pi account and also from the main Astro Pi account.

Please follow the official Twitter account below for the very latest updates on the launch.

Astro Pi (@astro_pi) | Twitter

The latest Tweets from Astro Pi (@astro_pi). British @esa astronaut @astro_timpeake is taking two augmented @Raspberry_Pi computers to the @Space_Station as part of mission #Principia Get your code on them

This has been a long road for us and our partners, so please keep fingers and toes crossed!

58 Comments

Latest Raspbian update

Amid all the excitement last week, some people have noticed that we also released an updated Raspbian image, and have been asking what is in it.

Obviously, one of the most important features of this image is support for Pi Zero (which is also the main reason we didn’t make any fuss about it in advance…) But there are a few other small changes which apply to all versions of the Pi, so here’s a list for the curious.

Node-RED
Node-RED
IBM’s Node-RED Internet Of Things application is now included – this allows you to rapidly create IoT applications by connecting blocks in a graphical editor. We’re going to run a full blog post on this in the near future, but for now have a look here for more details. To get started, run the Node-RED application from Programming in the main menu, and then use the web browser to access port 1880 at your Pi’s own address to see the editor.

To install Node-RED on an existing image, use apt:

sudo apt-get install nodered

New graphical package manager
Package Manager
Under Preferences in the main menu, you will now find an option for Add/Remove Software. This launches a modified version of the Gnome Packages application, which allows you to add and remove software on your Pi.

The window shows a list of categories on the left hand side, and there is a search box at the top – type in a search term to look for a particular package or feature. Software which is already installed appears in the list with a tick in the box next to it; software which is not installed appears unticked – simply click on the box to tick or untick it, and hit Apply to install or uninstall.

One limitation is that you can only either install or uninstall in one “Apply” – once a package is selected for installation, you can’t select other packages for removal at the same time (but you can choose to install additional packages). Similarly, once a package is selected for removal, you can’t select other packages for installation at the same time.

You will be asked for your password to confirm any installation or removal operations.

To install the package manager on an existing image, use apt:

sudo apt-get install pi-package

GPIO Zero

The new GPIO Zero libraries are included, which vastly simplify access to GPIO pins from Python scripts. Read more about it in Ben’s blog here.

To install GPIO Zero on an existing image, use apt:

sudo apt-get install python-gpiozero python3-gpiozero

Updated Scratch

Scratch has been updated. Changes include support for MIDI general instruments, improved support for the PiFace interface board and fixes for the Scratch mesh server, along with some bug fixes and minor tweaks, plus updated Japanese translation files.

Updated Epiphany

The Epiphany web browser has been updated – most of the changes are to improve playback of videos from sites such as YouTube and Vimeo. Many more videos should now play than in previous releases, and overall stability when playing video should be improved.

Updated Raspberry Pi Configuration application
Raspberry Pi Config
This adds the option to “wait for network” at boot. By default, the jessie boot process runs as quickly as possible, but this can mean that the boot completes before a network connection is up and running, and this can cause problems in some applications that run at boot. By selecting this option, boot will not complete until a network connection is established, but at the cost of making boot-up take longer – this is disabled by default, so if you are having problems with applications which need a network connection, try enabling it. This option has also been added to the raspi-config command-line application.

There are various other small bug-fixes, tweaks and performance improvements, but no significant UI changes this time around – it should all look and feel the way the previous version did. To update your existing image, run

sudo apt-get update
sudo apt-get dist-upgrade

but bear in mind that this won’t add the new packages listed above – use the individual apt-get install commands above to add those.

As ever, feedback is very welcome, and I’ll respond to as much as I can.

76 Comments