Tag Archives: astro pi

Hour of Code 2016

via Raspberry Pi

What could you do in an hour? Perhaps you could watch an episode of a TV show, have a luxurious bath, or even tidy the house a bit! But what if you could spend an hour learning a skill that might influence the future of your career, and perhaps your whole life?

hour-of-code-header

The Hour of Code is a worldwide initiative which aims to get as many people as possible to have a go at programming computers. Our aim is to put digital making into the hands of as many people as possible, so here at Pi Towers we have cooked up some exciting projects for you to try, all of which can be completed in an hour.

Have a go at making a version of a whoopee cushion (a favourite Christmas cracker toy in my house) using physical computing, invent your own lyrics for The Twelve Days of Christmas, or simulate your cat floating in space. Many of the projects don’t even require a Raspberry Pi: you can get started with Scratch just by visiting a website.

Physical computing projects

Physical computing projects Make a fast-paced reaction game with a Pi and an Explorer HAT

Scratch projects

Ada's Poetry Generator Program your own animation in Scratch

Astro Pi projects

Sense HAT Random Sparkles Simulate the effects of weightlessness in space using Scratch

Programming projects

N days of Christmas Generate cat memes with JavaScript



We are also holding a digital making event at Pi Towers on Wednesday 7 December: if you can travel to Cambridge, then register, join in and achieve your hour of code!

Whether you are a child or an adult, it is never too late to start learning to code. When I was a teacher, I always loved participating in the Hour of Code: the students couldn’t quite believe they were given an hour to do something they would willingly do for fun. What they didn’t know is that the teachers secretly had a lot of fun testing out the projects too, although some of the resulting sounds did cause a few raised eyebrows in the staff room!

Once you’ve started coding, you might not want to stop, so head over to our resources section for more inspirational projects to tackle. Intrepid teachers can download the second issue of the MagPi Educator’s Edition to find out how to take things further in the classroom. The sky’s the limit! Well, actually, if you’re doing one of our Astro Pi projects, space is the limit…

The post Hour of Code 2016 appeared first on Raspberry Pi.

Hour of Code 2016

via Raspberry Pi

What could you do in an hour? Perhaps you could watch an episode of a TV show, have a luxurious bath, or even tidy the house a bit! But what if you could spend an hour learning a skill that might influence the future of your career, and perhaps your whole life?

hour-of-code-header

The Hour of Code is a worldwide initiative which aims to get as many people as possible to have a go at programming computers. Our aim is to put digital making into the hands of as many people as possible, so here at Pi Towers we have cooked up some exciting projects for you to try, all of which can be completed in an hour.

Have a go at making a version of a whoopee cushion (a favourite Christmas cracker toy in my house) using physical computing, invent your own lyrics for The Twelve Days of Christmas, or simulate your cat floating in space. Many of the projects don’t even require a Raspberry Pi: you can get started with Scratch just by visiting a website.

Physical computing projects

Physical computing projects Make a fast-paced reaction game with a Pi and an Explorer HAT

Scratch projects

Ada's Poetry Generator Program your own animation in Scratch

Astro Pi projects

Sense HAT Random Sparkles Simulate the effects of weightlessness in space using Scratch

Programming projects

N days of Christmas Generate cat memes with JavaScript



We are also holding a digital making event at Pi Towers on Wednesday 7 December: if you can travel to Cambridge, then register, join in and achieve your hour of code!

Whether you are a child or an adult, it is never too late to start learning to code. When I was a teacher, I always loved participating in the Hour of Code: the students couldn’t quite believe they were given an hour to do something they would willingly do for fun. What they didn’t know is that the teachers secretly had a lot of fun testing out the projects too, although some of the resulting sounds did cause a few raised eyebrows in the staff room!

Once you’ve started coding, you might not want to stop, so head over to our resources section for more inspirational projects to tackle. Intrepid teachers can download the second issue of the MagPi Educator’s Edition to find out how to take things further in the classroom. The sky’s the limit! Well, actually, if you’re doing one of our Astro Pi projects, space is the limit…

The post Hour of Code 2016 appeared first on Raspberry Pi.

Announcing the first ever European Astro Pi Challenge!

via Raspberry Pi

Astro_Pi_Logo_WEB-300px

Right now, 400km above the Earth aboard the International Space Station, are two very special pieces of hardware. Two Raspberry Pi computers are currently orbiting our planet, each equipped with a Sense HAT, a camera and a special aluminium flight case – and children all over Europe have the chance to program them.

Astro_Pi_1-01

Last year, in collaboration with the European Space Agency and the UK Space Agency, we ran a competition that allowed students all over the UK to design experiments to run on the Astro Pi units. We sent their code into space with British ESA astronaut Tim Peake, who had a great time running all their programs. The data collected was then transmitted back down to Earth, so the winners of the competition – and everyone else – could analyse the results of their experiments as well.

Tim is safely back on Earth now, but French ESA Astronaut Thomas Pesquet is soon launching to the ISS, and he’s keen to see what students from all over Europe can do with the Astro Pi units too. So ESA, together with the Raspberry Pi Foundation, are launching a brand-new Astro Pi Challenge, and this time it’s open to children from every ESA member country.

Earthlights 2002

Children from across Europe can enter the European Astro Pi Challenge
Photo: Earthlights 2002 by NASA

This is an amazing opportunity for students all over Europe. What better way to learn about computing, science, and space than actually being able to run your very own experiments on board the International Space Station? Imagine being able to say that you played a part in a real ESA mission, that programs you wrote were executed in orbit, and that results from your experiments were analysed by children all over the world!

Astro Pi Mission

This is “Astro Pi Mission” by raspberrypi on Vimeo, the home for high quality videos and the people who love them.

If you’re a teacher or a student from an ESA member country, this is how you can take part:

  1. Assemble your mission team, which must include at least one support teacher as well as students under the age of 16.
  2. Use the Mission Plan Template to design a sample mission that showcases your approach to running a space mission, and demonstrates that you can break down your big idea into specific steps. Note that you don’t need to address the challenge at this stage. Submit your mission plan and register your participation**.
  3. If you’re picked to continue to the next phase, you will receive an Astro Pi kit and a mission challenge designed by Thomas Pesquet to test your team’s ingenuity and skills.
  4. If your solutions are picked, then your code will be beamed up to the ISS, installed on the Astro Pi units, and run by Thomas Pesquet.

To help you learn all about the Astro Pi units and gain the skills to use a Raspberry Pi equipped with a Sense HAT, we have a variety of resources that you can begin to work your way through. Just go to our resources section and have a look through the Astro Pi and Sense HAT resources. Even if you don’t have a Sense HAT yourself, you can still learn how to use one with either the stand-alone, desktop Sense HAT emulator or Trinket’s web-based emulator.

** Related links:

The post Announcing the first ever European Astro Pi Challenge! appeared first on Raspberry Pi.

Desktop Sense HAT emulator

via Raspberry Pi

If this post gives you a sense of déjà-vu it’s because, last month, we announced a web-based Sense HAT emulator in partnership with US-based startup Trinket.

Today, we’re announcing another Sense HAT emulator designed to run natively on your Raspberry Pi desktop, instead of inside a browser. Developed by Dave Jones, it’s intended for people who own a Raspberry Pi but not a Sense HAT. In the picture below, the sliders are used to change the values reported by the sensors while your code is running.

sense-emu

So, why do we need two versions?

  • For offline use, possibly the most common way Raspberry Pis are used in the classroom.
  • To accommodate the oldest 256 MB models of Raspberry Pi which cannot run the web version.
  • To allow you to integrate your Sense HAT program with any available Python modules, or other Raspberry Pi features such as the Camera Module.

The emulator will come pre-installed in the next Raspbian release but, for now, you can just install it by typing the commands below into a terminal window:

sudo apt-get update
sudo apt-get install python-sense-emu python3-sense-emu python-sense-emu-doc sense-emu-tools -y

You can then access it from the Desktop menu, under Programming.

The emulator closely simulates the Sense HAT hardware being attached to your Pi. You can read from the sensors or write to the LED matrix using multiple Python processes, for example.

sense-idle

Write your code in IDLE as before; there are also a number of examples that can be opened from the emulator’s built-in menu. If you then want to port your code to a physical Sense HAT, you just need to change

sense_emu

to

sense_hat

at the top of your program. Reverse this if you’re porting a physical Sense HAT program to the emulator, perhaps from one of our educational resources; this step isn’t required in the web version of the emulator.

sense-emu-prefs

There are a number of preferences that you can adjust to change the behaviour of the emulator, most notably sensor simulation, otherwise known as jitter. This costs some CPU time, and is disabled by default on the low-end Raspberry Pis, but it provides a realistic experience of how the hardware sensors would behave. You’ll see that the values being returned in your code drift according to the known error tolerances of the physical sensors used on the Sense HAT.

This emulator will allow more Raspberry Pi users to participate in future Astro Pi competitions without having to buy a Sense HAT: ideal for the classroom where 15 Sense HATs may be beyond the budget.

So, where do you start? If you’re new to the Sense HAT, you can just copy and paste many of the code examples from our educational resources, like this one. You can also check out our e-book Sense HAT Essentials. For a complete list of all the functions you can use, have a look at the Sense HAT API reference here.

You can even install this emulator on other types of Linux desktop, such as Ubuntu! For more information on how to do this, please visit the emulator documentation pages here.

The post Desktop Sense HAT emulator appeared first on Raspberry Pi.

Begin your journey with Raspberry Pi in The MagPi 49

via Raspberry Pi

We’ve all seen the numbers. The Raspberry Pi is selling faster and faster every year, which means there are new people getting Raspberry Pis every day. With this in mind, we decided to make a brand new beginner’s guide in issue 49 of The MagPi, out now.

Get started with Raspberry Pi with The MagPi 49!

Get started with Raspberry Pi with The MagPi 49!

The Raspberry Pi beginner’s guide takes you from selecting your Raspberry Pi all the way through setting it up and getting to know the Raspbian OS that powers it. We’re also using it to jump-start a beginner’s tutorial that will be a monthly feature in The MagPi from now on.

#49 Apollo Pi

Set your Pi up so it can take you to the moon! (Moon rocket not included)

As well as the cover feature, we also have a feature on the recently released Apollo 11 source code and how you can emulate a virtual Apollo computer on your Raspberry Pi, along with some historical factoids about making and programming a computer to take people to the moon. There’s also our usual range of amazing tutorials, projects, and product reviews for you to read about as well, including Mike Cook’s rhythmic gymnastics project in the Pi Bakery.

Rhythmic Gymnastics Ribbons

Inspired by the Rio Olympics Gymnastic display of ribbon twirling. In the MagPi 49 – September 2016, https://www.raspberrypi.org/magpi/ twirl your own virtual ribbons.

You can grab the latest issue of The MagPi in stores today from WH Smith, Tesco, Sainsbury’s, and Asda in the UK, and it will be in Micro Center and selected Barnes & Noble stores when it comes to America. It’s also available in print online from our store, and digitally on our Android and iOS app.

Get a free Pi Zero
Want to make sure you never miss an issue? Subscribe today and start with issue 47 to get not only the Astro Pi poster and mission patch, but also a Pi Zero bundle featuring the new, camera-enabled Pi Zero, and a cable bundle that includes the camera adapter.

Free Pi Zeros and posters: what’s not to love about a MagPi subscription?

Free Creative Commons download
As always, you can download your copy of The MagPi completely free. Grab it straight from the issue page for The MagPi 49.

Don’t forget, though, that like sales of the Raspberry Pi itself, all proceeds from the print and digital editions of the magazine go to help the Foundation achieve its charitable goals. Help us democratise computing!

I also want to remind you that we’re running a poll to find out what you, the community, think are the top 20 Raspberry Pi projects to be included in our 50th issue spectacular. Get voting!

No Title

No Description

The post Begin your journey with Raspberry Pi in The MagPi 49 appeared first on Raspberry Pi.

Blast off with The MagPi 47 Astro Pi special!

via Raspberry Pi

Get your free poster and mission patch exclusively in the print edition of The MagPi 47!

Get your free poster and mission patch exclusively in the print edition of The MagPi 47!

We’ve been avidly following Tim Peake’s adventures in space in The MagPi for the last six months, especially all the excellent work he’s been doing with the Astro Pis running code from school students across the UK. Tim returned to Earth a couple of weeks ago, so we thought we’d celebrate in The MagPi 47 with a massive feature about his time in space, along with the results of the Astro Pi experiments and the project’s future…

The space celebration doesn’t stop there: print copies of The MagPi 47 come with an exclusive Astro Pi mission patch and a Tim Peake Astro Pi poster!

The results of what Tim, Ed, and Izzy have been up to for the past six months

The results of what Tim, Ed, and Izzy have been up to for the past six months

The issue also has our usual range of excellent tutorials, from programming dinosaurs to creating motion sensor games and optical illusions. We also have the hottest news on high-altitude balloons and how you can get involved in sending a Pi to the edge of space, as well as the details on the next Pi Wars Pi-powered robot competition.

You can get your latest spaceworthy issue in-store from WH Smith, Tesco, Sainsburys, and Asda. Our American cousins will be able to buy issues from Barnes & Noble and Micro Center when the issue makes its way over there. It’s also available right now in print on our online store, which delivers internationally. If you prefer digital, it’s ready to download on the Android and iOS apps.

Get a free Pi Zero
Want to make sure you never miss an issue? Subscribe today and start with issue 47 to not only get the poster and mission patch, but also a Pi Zero bundle featuring the new, camera-enabled Pi Zero and a cable bundle that includes the camera adapter.

Free Pi Zeros and posters: what’s not to love about a MagPi subscription?

Free Creative Commons download
As always, you can download your copy of The MagPi completely free. Grab it straight from the issue page for The MagPi 47.

Don’t forget, though, that like sales of the Raspberry Pi itself, all proceeds from the print and digital editions of the magazine go to help the Foundation achieve its charitable goals. Help us democratise computing!

This is not the end of Astro Pi. It’s only the beginning.

The post Blast off with The MagPi 47 Astro Pi special! appeared first on Raspberry Pi.