Tag Archives: education

Social Action Hackathon with the Scouts

Post Syndicated from Olympia Brown original https://www.raspberrypi.org/blog/social-action-hackathon-with-the-scouts/

When you think of the Scouts, do you think of a self-sufficient young person with heaps of creativity, leadership, initiative, and a strong team ethic? So do we! That’s why we’re so excited about our latest opportunity to bring digital making to young people with the world’s leading youth organisation.

On 9 and 10 November, a large group of Scouts converged on their global headquarters at Gilwell Park in Surrey to attend a Social Action Hackathon hosted by a great team of digital making educators from the Raspberry Pi Foundation.

The event was to celebrate internet service provider Plusnet’s partnership with the Scout Association, through which Scout groups throughout the UK will be given free WiFi access. This will allow them to work towards tech-based badges, including the Raspberry Pi Foundation’s Digital Maker Staged Activity Badge.

The Social Action Hackathon

Over two days, the Scouts participated in our cutting-edge hackathon, where they were taught authentic agile development techniques; handed a crate of Raspberry Pi computers, electronic components, and construction materials; and given free rein to create something awesome.

The Social Action Hackathon was designed to directly support the Scout Association’s A Million Hands project, which aims to encourage Scouts to ‘leave the world a little better than they found it’ by engaging with their UK-based charity partners. During the Hackathon, the Scout Association asked the young people to create a technological solution that might benefit one of these important charities, or the people and communities that they support.

Creating with tech

First, participants were shown the capabilities of the technology available to them during the Hackathon by undertaking some short, confidence-boosting programming activities, which got them thinking about what assistive technologies they could create with the resources available. Then, they chose a call-to-action video by one of the A Million Hands charity partners as the basis of their design brief.

The event was designed to feel like a role-playing game in which teams of Scouts assumed the part of a fledgling technology start-up, who were designing a product for a client which they would bring to market. The teams designed and prototyped their assistive technology through a process used all over the world in technology and software companies, known as agile development methodology.

The fundamental principles of agile development are:

  • Only work on the most important things at any given point in time
  • Break those things into bite-sized tasks for individuals to work on autonomously
  • Catch up regularly on progress to work out what is important now, and change your plan to adapt if you need to
  • Start by making something simple that works, then add to it or change it into something better in several steps

The ‘creation’ phase of the Hackathon consisted of several 90-minute rounds called sprints, each of which began with a team meeting (or stand-up) just as they would in a real agile workplace. Teams broke their project idea down into individual tasks, which were then put into an organisational tool known as a kanban board, which is designed to allow teams to get an instant snapshot of their current progress, and to help them to problem-solve, and adapt or change their current focus and plans at each stand-up meeting.

The final pitch

As their final task, teams had to present their work to a panel of experts. The four-person panel included the Raspberry Pi Foundation’s Head of Youth Partnerships, Olympia Brown, and television presenter, Reggie Yates, an advocate for Mind, one of the A Million Hands charity partners.

By completing the Social Action Hackathon, the young people also completed the fifth and most complex stage of the Digital Maker Staged Activity Badge in just two days — a real accomplishment!

Get involved!

If you think your Scout group might like to take their Digital Maker Badge, you can find free curriculum resources for all ages of Scout group, from Beavers to Explorers, on the Raspberry Pi Foundation partner page.

The post Social Action Hackathon with the Scouts appeared first on Raspberry Pi.

Gender Balance in Computing programme opens to all schools in England

Post Syndicated from Sue Sentance original https://www.raspberrypi.org/blog/gender-balance-in-computing-all-schools-england/

After launching our Gender Balance in Computing programme this April, we have been busy recruiting for two trials within a small group of schools around England.

Today, we are opening general recruitment for the programme. This means that all primary and secondary schools in England can now take part in the upcoming trials in this landmark programme. You can register your interest here. Why not do it right now?

Woman teacher and female students at a computer

What we are doing, and why

Many young women don’t choose to study computing-related subjects. A variety of factors across primary and secondary education are likely to influence this, including girls feeling like they don’t belong in the subject or its community, a lack of sustained encouragement, and a lack of role models in computing when making their career choices. We are working with schools to better understand and help change this.

The Department for Education has recently funded our Gender Balance in Computing (GBIC) research programme, giving us the amazing opportunity to work with schools to investigate different approaches to engage girls in computing and to help increase the number of girls who select Computer Science at GCSE and A level.

Woman teacher and young students at a computer

GBIC is a collaboration between the Raspberry Pi Foundation; STEM Learning; BCS, The Chartered Institute for IT; and the Behavioural Insights Team. It is also part of the National Centre for Computing Education.

Operationally, we will lead the project together with the Behavioural Insights Team, with Apps for Good and Women in Science and Engineering (WISE) also contributing to the project. Trials will run in 2019–2022 in Key Stages 1–4, and over 15,000 pupils and 550 schools will be involved. It will be the largest national research effort to tackle gender balance in computing to date!

Which approaches are we trialling?

The different trials in this programme are related to:

  • Non-formal learning
  • Belonging
  • Relevance
  • Teaching approaches

Non-formal learning (Primary and Secondary, Jan 2020 – Mar 2020)

In the non-formal learning trial, which started in September, we seek to strengthen the links between non-formal learning and studying computing at GCSE or A level. The reason for this is that girls are often unaware that their non-formal learning about computing can help them in formal studies. Girls are also better represented in non-formal computing clubs than in formal settings where computing is taught, i.e. they are engaging with computing outside of the classroom, but not in their formal studies. So far in the non-formal learning trial, we have created specific resources for schools running Code Clubs and Apps for Good programmes which signpost the links between non-formal and formal learning of computing, and how these can lead to future career/subject choices later in the participants’ lives.

Belonging (Years 6 and 8, Sep 2020 – Jul 2021)

The belonging trial will tackle girls’ “lack of belonging” because they don’t see themselves represented in computing media coverage. To address this situation, we will work with primary and secondary schools to introduce girls and their parents to positive role models in computer science, deliver testimonials from these role models at key transition points in their education (such as while making their GCSE choices), and encourage the development of peer support networks.

Woman teacher and female student at a laptop
Woman teacher and female students at a computer
Male teacher and female student at a computer

Relevance (Years 6 and 8, Jan 2021 – May 2022)

The relevance trial will look at helping learners to see the real-world applications of learning computing. We will support schools to hold stimulus days that engage pupils by helping them to solve real-world problems through technology. We will also encourage pupils to develop projects that solve problems that are relevant to their local area, home, or classroom. The pupils will be able to further explore the real-world applications of computing through newly written classroom resources.

Teaching Approach (Years 6 and 8, Jan 2021 – May 2022)

The teaching approach trial is based on the idea that current approaches to teaching computing may not be fully inclusive and so may be less appealing to girls. In Key Stage 1, we will trial a “storytelling around computing” approach. In Key Stage 2 and 3, we will explore different types of teaching approaches to assess what the most effective mix is for engaging girls in the subject.

There is also an innovation trial, which we will develop based on any additional promising research pathways that emerge while the GBIC project progresses.

One male and two female teenagers at a computer

Join our GBIC School Network

By joining our programme, you’ll become part of our GBIC School Network.

This will give your school:

  • The chance to participate in projects designed to increase girls’ engagement in computing  although designed to make computing more accessible for girls, all of our projects are designed for whole cohorts at your school to take part in, including boys
  • A bi-monthly GBIC newsletter that will keep you up to date with the project and other news on addressing gender balance in computing
  • Opportunities to participate in events to promote the sharing of best practice and research updates between fellow GBIC School Network schools

As part of the GBIC School Network, your school will need to:

  • Identify a key contact in the school who will liaise with the GBIC School Network and our researchers at Raspberry Pi
  • Send out the information and opt-out consent forms (which we will provide) to parents of pupils in the relevant year groups
  • Deliver the trial materials in line with the project guides; the timeline, delivery model, and types of material will differ depending on the trial

A male teachers and three female students at a computer

Get involved in this landmark programme

  • Register your interest in taking part
  • Send this article to a colleague in a different school and invite them to register their interest
  • If you’re interested in this research but can’t take part, we’d love you to sign up to our bi-monthly newsletter, and to include a link to this article in any newsletters, blog entries, or social media posts you are sharing with teachers

Your support is invaluable — together we can work to improve the gender balance in computing!

The post Gender Balance in Computing programme opens to all schools in England appeared first on Raspberry Pi.

The Raspberry Pi Foundation and Bebras

Post Syndicated from Sue Sentance original https://www.raspberrypi.org/blog/bebras-partnership/

We are delighted to announce a new partnership that will ensure the long-term growth and success of the free, annual UK Bebras Computational Thinking Challenge.

Bebras UK logo

‘Bebras’ means ‘beaver’ in Lithuanian; Prof. Valentina Dagiene named the competition after this hard-working, intelligent, and lively animal.

The Raspberry Pi Foundation has teamed up with Oxford University to support the Bebras Challenge, which every November invites students to use computational thinking to solve classical computer science problems re-worked into accessible and interesting questions.

Bebras is:

  • Open to students aged 6 to 18 (and it’s quite good fun for adults too)
  • A great whole-school activity
  • Completely free
  • Easy to sign up to and take part in online
  • Open for two weeks every November; this year it runs from 4 to 15 November and you’ve still got until 31 October to register!

Woman teacher and female students at a computer

Why should I get involved in the Bebras Challenge?

Bebras is an international challenge that started in Lithuania in 2004. Participating in Bebras is a great way to engage students of all ages in the fun of problem solving, and to give them an insight into computing and what it’s all about. Computing principles are highlighted in the answers, so Bebras can be quite educational for teachers too.

Male teacher and female student at a computer
Male teacher and male students at a computer
Woman teacher and female student at a laptop

The UK became involved in Bebras for the first time in 2013, and the numbers of participating students have increased from 21,000 in the first year to 202,000 last year. Internationally, more than 2.78 million learners took part in 2018.

  • Bebras runs from 4 to 15 November this year
  • The challenge takes 40 minutes to complete
  • Use the practice questions on the website to get your students used to what they’ll encounter in challenge
  • All the marking is done for you
  • The results are sent to you the week after the challenge ends, along with an answer booklet, so that you can go through the answers with your learners
  • The highest-achieving students in each age group are invited to Oxford University to take part in the second round over a weekend in January

To give you a taste of what Bebras involves, try this example question!

You’ve still got three more days to sign up for this year’s Bebras Challenge.

Support computational thinking at your school throughout the year with Bebras

The annual challenge is only one part of the equation: questions from previous years are available as a resource with which teachers can create self-marking quizzes to use with their classes! This means you can support the computational thinking part of the school curriculum throughout the whole year.

Male teacher and male students at a computer

 

You can also use the Bebras App to try 100 computational thinking problems, and download sets of Bebras Cards for primary schools.

Follow @bebrasuk to stay up to date with what’s on offer for you.

The post The Raspberry Pi Foundation and Bebras appeared first on Raspberry Pi.

Your new free online training courses for the autumn term

Post Syndicated from Dan Fisher original https://www.raspberrypi.org/blog/free-online-training-courses-autumn-19/

Over the autumn term, we’ll be launching three brand-new, free online courses on the FutureLearn platform. Wherever you are in the world, you can learn with us for free!

Three people looking facing forward

The course presenters are Pi Towers residents Mark, Janina, and Eirini

Design and Prototype Embedded Computer Systems

The first new course is Design and Prototype Embedded Computer Systems, which will start on 28 October. In this course, you will discover the product design life cycle as you design your own embedded system!

A diagram illustrating the iterative design life cycle with four stages: Analyse, design, build, test

You’ll investigate how the purpose of the system affects the design of the system, from choosing its components to the final product, and you’ll find out more about the design of an algorithm. You will also explore how embedded systems are used in the world around us. Book your place today!

Programming 103: Saving and Structuring Data

What else would you expect us to call the sequel to Programming 101 and Programming 102? That’s right — we’ve made Programming 103: Saving and Structuring Data! The course will begin on 4 November, and you can reserve your place now.

Illustration of a robot reading a book called 'human 2 binary phrase book'

Programming 103 explores how to use data across multiple runs of your program. You’ll learn how to save text and binary files, and how structuring data is necessary for programs to “understand” the data that they load. You’ll look at common types of structured files such as CSV and JSON files, as well as how you can connect to a SQL database to use it in your Python programs.

Introduction to Encryption and Cryptography

The third course, Introduction to Encryption and Cryptography, is currently in development, and therefore coming soon. In this course, you’ll learn what encryption is and how it was used in the past, and you’ll use the Caesar and Vigenère ciphers.

The Caesar cipher is a type of substitution cipher

You’ll also look at modern encryption and investigate both symmetric and asymmetric encryption schemes. The course also shows you the future of encryption, and it includes several practical encryption activities, which can be used in the classroom too.

National Centre for Computing Education

If you’re a secondary school teacher in England, note that all of the above courses count towards your Computer Science Accelerator Programme certificate.

Group shot of the first NCCE GCSE accelerator graduates

The very first group of teachers who earned Computer Science Accelerator Programme certificates: they got to celebrate their graduation at Google HQ in London.

What’s been your favourite online course this year? Tell us about it in the comments.

The post Your new free online training courses for the autumn term appeared first on Raspberry Pi.

Try our new free machine learning projects for Scratch

Post Syndicated from Daragh Broderick original https://www.raspberrypi.org/blog/free-machine-learning-projects-for-scratch/

Machine learning is everywhere. It’s used for image and voice recognition, predictions, and even those pesky adverts that always seem to know what you’re thinking about!

If you’ve ever wanted to know more about machine learning, or if you want to help you learners get started with machine learning, then our new free projects are for you!

The Terminator saying "My CPU is a neural net processor. A learning computer."

Spoiler alert: we won’t show you how to build your own Terminator. Trust us, it’s for the best.

Machine learning in education

When we hosted Scratch Conference Europe this summer, machine learning was the talk of the town: all of the machine learning talks and workshops were full with educators eager to learn more and find out how to teach machine learning. So this is the perfect time to bring some free machine learning resources to our projects site!

Smart classroom assistant

Smart classroom assistant is about creating your own virtual smart devices. You will create a machine learning model that recognises text commands, such as “fan on”, “Turn on my fan”, or my personal favourite, “It’s roasting in here!”.

animation of a fan running and a desk lamp turning on and off

In the project, you will be guided through setting up commands for a desk fan and lamp, but you could pick all sorts of virtual devices — and you can even try setting up a real one! What will you choose?

Journey to school

Journey to school lets you become a psychic! Well, not exactly — but you will be able to predict how your friends travel from A to B.

illustration of kids in school uniforms in front of a large street map

By doing a survey and collecting lots of information from your friends about how they travel around, you can train the computer to look for patterns in the numbers and predict how your friends travel between places. When you have perfected your machine learning model, you can try using it in Scratch too!

Alien language

Did you ever make up your own secret language that only you understood? Just me? Well, in the Alien language project you can teach your computer to understand your made-up words. You can record lots of examples to teach it to understand ‘left’ and ‘right’ and then use your model in Scratch to move a character with your voice!
animation of a cute alien creature on the surface of distant planet

Train your model to recognise as many sounds as you like, and then create games where the characters are voice-controlled!

Did you like it?

In the Did you like it? project, you create a character in Scratch that will recognise whether you enjoyed something or not, based on what you type. You will train your character by giving it some examples of positive and negative comments, then watch it determine how you are feeling. Once you have mastered that, you can train it to reply, or to recognise other types of messages too. Soon enough, you will have made your very own sentiment analysis tool!

illustration of kids with a computer, robot, and erlenmeyer flask

More machine learning resources

We’d like to extend a massive thank you to Dale from Machine Learning for Kids for his help with bringing these projects to our projects site. Machine Learning for Kids is a fantastic website for finding out more about machine learning, and it has loads more great projects for you to try, so make sure you check it out!

The post Try our new free machine learning projects for Scratch appeared first on Raspberry Pi.

Getting started with Git and GitHub is easier than ever with GitHub Desktop 2.2

Post Syndicated from Amanda Pinsker original https://github.blog/2019-10-02-get-started-easier-with-github-desktop-2-2/

Anyone who uses Git knows that it has a steep learning curve. We’ve learned from developers that most people tend to learn from a buddy, whether that’s a coworker, a professor, a friend, or even a YouTube video. In GitHub Desktop 2.2, we’re releasing the first version of an interactive Git and GitHub tutorial that can be your buddy and help you get started. If you’re new to Desktop, you can download and try out the tutorial at desktop.github.com.

Get set up

To get set up, we help you through two major pieces: creating a repository and connecting an editor. When you first open Desktop, a welcome page appears with a new option to “Create a Tutorial Repository”. Starting with this option creates a tutorial repository that guides you through the core concepts of working with Git using GitHub Desktop.

There are a lot of tools you need to get started with Git and GitHub. The most important of these is your code editor. In the first step of the tutorial, you’re prompted to install an editor if you don’t have one already.

Learn the GitHub flow

Next, we guide you through how to use GitHub Desktop to make changes to code locally and get your work on GitHub. You’ll create a new branch, make a change to a file, commit it, push it to GitHub, and open your first pull request.

We’ve also heard that new users initially experience confusion between Git, GitHub, and GitHub Desktop. We cover these differences in the tutorial and make sure to reinforce the explanations.

Keep going with your own project

In GitHub Desktop 1.6, we introduced suggested next steps based on the state of your repository. Now when you complete the tutorial, we similarly suggest next steps: exploring projects on GitHub that you might want to contribute to, creating a new project, or adding an existing project to Desktop. We always want GitHub Desktop to be the tool that makes your next steps clear, whether you’re in the flow of your work, or you’re a new developer just getting started.

What’s next?

With GitHub Desktop 2.2, we’re making the product our users love more approachable to newcomers. We’ll be iterating on the tutorial based on your feedback, and we’ll continue to build on the connection between GitHub and your local machine. If you want to start building something but don’t know how, think of GitHub Desktop as your buddy to help you get started.

Learn more about GitHub Desktop

The post Getting started with Git and GitHub is easier than ever with GitHub Desktop 2.2 appeared first on The GitHub Blog.

Using data to help a school garden

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/using-data-to-help-a-school-garden/

Chris Aviles, aka the teacher we all wish we’d had when we were at school, discusses how his school is in New Jersey is directly linking data with life itself…

Over to you, Chris.

Every year, our students take federal or state-mandated testing, but what significant changes have we made to their education with the results of these tests? We have never collected more data about our students and society in general. The problem is most people and institutions do a poor job interpreting data and using it to make meaningful change. This problem was something I wanted to tackle in FH Grows.

FH Grows is the name of my seventh-grade class, and is a student-run agriculture business at Knollwood Middle School in Fair Haven, New Jersey. In FH Grows, we sell our produce both online and through our student-run farmers markets. Any produce we don’t sell is donated to our local soup kitchen. To get the most out of our school gardens, students have built sensors and monitors using Raspberry Pis. These sensors collect data which then allows me to help students learn to better interpret data themselves and turn it into action.

Turning data into action

In the greenhouse, our gardens, and alternative growing stations (hydroponics, aquaponics, aeroponics) we have sensors that log the temperature, humidity, and other important data points that we want to know about our garden. This data is then streamed in real time, online at FHGrows.com. When students come into the classroom, one of the first things we look at is the current, live data on the site and find out what is going on in our gardens. Over the course of the semester, students are taught about the ideal growing conditions of our garden. When looking at the data, if we see that the conditions in our gardens aren’t ideal, we get to work.

If we see that the greenhouse is too hot, over 85 degrees, students will go and open the greenhouse door. We check the temperature a little bit later, and if it’s still too hot, students will go turn on the fan. But how many fans do you turn on? After experimenting, we know that each fan lowers the greenhouse temperature between 7-10 degrees Fahrenheit. Opening the door and turning on both fans can bring a greenhouse than can push close to 100 degrees in late May or early June down to a manageable 80 degrees.

Turning data into action can allow for some creativity as well. Over-watering plants can be a real problem. We found that our plants were turning yellow because we were watering them every day when we didn’t need to. How could we solve this problem and become more efficient at watering? Students built a Raspberry Pi that used a moisture sensor to find out when a plant needed to be watered. We used a plant with the moisture sensor in the soil as our control plant. We figured that if we watered the control plant at the same time we watered all our other plants, when the control plant was dry (gave a negative moisture signal) the rest of the plants in the greenhouse would need to be watered as well.

Chris Aviles Innovation Lab Raspberry Pi Certified Educator

This method of determining when to water our plants worked well. We rarely ever saw our plants turn yellow from overwatering. Here is where the creativity came in. Since we received a signal from the Raspberry Pi when the soil was not wet enough, we played around with what we could do with that signal. We displayed it on the dashboard along with our other data, but we also decided to make the signal send as an email from the plant. When I showed students how this worked, they decided to write the message from the plant in the first person. Every week or so, we received an email from Carl the Control Plant asking us to come out and water him!

 

If students don’t honour Carl’s request for water, use data to know when to cool our greenhouse, or had not done the fan experiments to see how much cooler they make the greenhouse, all our plants, like the basil we sell to the pizza places in town, would die. This is the beauty of combining data literacy with a school garden: failure to interpret data then act based on their interpretation has real consequences: our produce could die. When it takes 60-120 days to grow the average vegetable, the loss of plants is a significant event. We lose all the time and energy that went into growing those plants as well as lose all the revenue they would have brought in for us. Further, I love the urgency that combining data and the school garden creates because many students have learned the valuable life lesson that not making a decision is making a decision. If students freeze or do nothing when confronted with the data about the garden, that too has consequences.

Using data to spot trends and make predictions

The other major way we use data in FH Grows is to spot trends and make predictions. Different to using data to create the ideal growing conditions in our garden every day, the sensors that we use also provide a way for us to use information about the past to predict the future. FH Grows has about two years’ worth of weather data from our Raspberry Pi weather station (there are guides online if you wish to build a weather station of your own). Using weather data year over year, we can start to determine important events like when it is best to plant our veggies in our garden.

For example, one of the most useful data points on the Raspberry Pi weather station is the ground temperature sensor. Last semester, we wanted to squeeze in a cool weather grow in our garden. This post-winter grow can be done between March and June if you time it right. Getting an extra growing cycle from our garden is incredibly valuable, not only to FH Grows as business (since we would be growing more produce to turn around and sell) but as a way to get an additional learning cycle out of the garden.

So, using two seasons’ worth of ground temperature data, we set out to predict when the ground in our garden would be cool enough to do this cool veggie grow. Students looked at the data we had from our weather station and compared it to different websites that predicted the last frost of the season in our area. We found that the ground right outside our door warmed up two weeks earlier than the more general prediction given by websites. With this information we were able to get a full cool crop grow at a time where our garden used to lay dormant.

We also used our Raspberry Pi to help us predict whether or not it was going to rain over the weekend. Using a Raspberry Pi connected to Weather Underground and previous years’ data, if we believed it would not rain over the weekend we would water our gardens on Friday. If it looked like rain over the weekend, we let Mother Nature water our garden for us. Our prediction using the Pi and previous data was more accurate for our immediate area than compared to the more general weather reports you would get on the radio or an app, since those considered a much larger area when making their prediction.

It seems like we are going to be collecting even more data in the future, not less. It is important that we get our students comfortable working with data. The school garden supported by Raspberry Pi’s amazing ability to collect data is a boon for any teacher who wants to help students learn how to interpret data and turn it into action.
 

Hello World issue 10

Issue 10 of Hello World magazine is out today, and it’s free. 100% free.

Click here to download the PDF right now. Right this second. If you want to be a love, click here to subscribe, again for free. Subscribers will receive an email when the latest issue is out, and we won’t use your details for anything nasty.

If you’re an educator in the UK, click here and you’ll receive the printed version of Hello World direct to your door. And, guess what? Yup, that’s free too!

What I’m trying to say here is that there is a group of hard-working, passionate educators who take the time to write incredible content for Hello World, for free, and you would be doing them (and us, and your students, kids and/or friends) a solid by reading it 🙂

The post Using data to help a school garden appeared first on Raspberry Pi.

Run your code aboard the International Space Station with Astro Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/run-your-code-aboard-the-international-space-station-with-astro-pi/

Each year, the European Astro Pi Challenge allows students and young people in ESA Member States (or Slovenia, Canada, or Malta) to write code for their own experiments, which could run on two Raspberry Pi units aboard the International Space Station.

The Astro Pi Challenge is a lot of fun, it’s about space, and so that we in the Raspberry Pi team don’t have to miss out despite being adults, many of us mentor their own Astro Pi teams — and you should too!

So, gather your team, stock up on freeze-dried ice cream, and let’s do it again: the European Astro Pi Challenge 2019/2020 launches today!

Luca Parmitano launches the 2019-20 European Astro Pi Challenge

ESA astronaut Luca Parmitano is this year’s ambassador of the European Astro Pi Challenge. In this video, he welcomes students to the challenge and gives an overview of the project. Learn more about Astro Pi: http://bit.ly/AstroPiESA ★ Subscribe: http://bit.ly/ESAsubscribe and click twice on the bell button to receive our notifications.

The European Astro Pi Challenge 2019/2020 is made up of two missions: Mission Zero and Mission Space Lab.

Astro Pi Mission Zero

Mission Zero has been designed for beginners/younger participants up to 14 years old and can be completed in a single session. It’s great for coding clubs or any groups of students don’t have coding experience but still want to do something cool — because having confirmation that code you wrote has run aboard the International Space Station is really, really cool! Teams write a simple Python program to display a message and temperature reading on an Astro Pi computer, for the astronauts to see as they go about their daily tasks on the ISS. No special hardware or prior coding skills are needed, and all teams that follow the challenge rules are guaranteed to have their programs run in space!

Astro Pi Mission Zero logo

Mission Zero eligibility

  • Participants must be no older than 14 years
  • 2 to 4 people per team
  • Participants must be supervised by a teacher, mentor, or educator, who will be the point of contact with the Astro Pi team
  • Teams must be made up of at least 50% team members who are citizens of an ESA Member* State, or Slovenia, Canada, or Malta

Astro Pi Mission Space Lab

Mission Space Lab is aimed at more experienced/older participants up to 19 years old, and it takes place in 4 phases over the course of 8 months. The challenge is to design and write a program for a scientific experiment to be run on an Astro Pi computer. The best experiments will be deployed to the ISS, and teams will have the opportunity to analyse and report on their results.

Astro Pi Mission Space Lab logo

Mission Space Lab eligibility

  • Participants must be no older than 19 years
  • 2 to 6 people per team
  • Participants must be supervised by a teacher, mentor, or educator, who will be the point of contact with the Astro Pi team
  • Teams must be made up of at least 50% team members who are citizens of an ESA Member State*, or Slovenia, Canada, or Malta

How to plan your Astro Pi Mission Space Lab experiment

Subscribe to our YouTube channel: http://rpf.io/ytsub Help us reach a wider audience by translating our video content: http://rpf.io/yttranslate Buy a Raspberry Pi from one of our Approved Resellers: http://rpf.io/ytproducts Find out more about the #RaspberryPi Foundation: Raspberry Pi http://rpf.io/ytrpi Code Club UK http://rpf.io/ytccuk Code Club International http://rpf.io/ytcci CoderDojo http://rpf.io/ytcd Check out our free online training courses: http://rpf.io/ytfl Find your local Raspberry Jam event: http://rpf.io/ytjam Work through our free online projects: http://rpf.io/ytprojects Do you have a question about your Raspberry Pi?

For both missions, each member of the team has to be at least one of the following:

  • Enrolled full-time in a primary or secondary school in an ESA Member State, or Slovenia, Canada, or Malta
  • Homeschooled (certified by the National Ministry of Education or delegated authority in an ESA Member State or Slovenia, Canada, or Malta)
  • A member of a club or after-school group (such as Code Club, CoderDojo, or Scouts) located in an ESA Member State*, or Slovenia, Canada, or Malta

Take part

To take part in the European Astro Pi Challenge, head over to the Astro Pi website, where you’ll find more information on how to get started getting your team’s code into SPACE!

Obligatory photo of Raspberry Pis floating in space!

*ESA Member States: Austria, Belgium, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Luxembourg, the Netherlands, Norway, Poland, Portugal, Romania, Spain, Sweden, Switzerland and the United Kingdom

The post Run your code aboard the International Space Station with Astro Pi appeared first on Raspberry Pi.

Say hello to Isaac Computer Science

Post Syndicated from Dan Fisher original https://www.raspberrypi.org/blog/say-hello-to-isaac-computer-science/

We are delighted to co-launch Isaac Computer Science, a new online platform for teachers and students of A level Computer Science.

Introducing Isaac Computer Science

Introducing the new Isaac Computer Science online learning platform and calendar of free events for students and teachers. Be the first to know about new features and content on the platform: Twitter – ncce.io/ytqstw Instagram – ncce.io/ytqsig Facebook – ncce.io/ytqsfb If you are a teacher, you may also be interested in our free online training courses for GCSE Computer Science teachers.

The project is a collaboration between the Raspberry Pi Foundation and the University of Cambridge, and is funded by the Department for Education’s National Centre for Computing Education programme.

Isaac Computer Science

Isaac Computer Science gives you access to a huge range of online learning materials for the classroom, homework, and revision — all for free.

The platform’s resources are mapped to the A level specifications in England (including the AQA and OCR exam boards). You’ll be able to set assignments for your students, have the platform mark it for you, and be confident that the content is relevant and high quality. We are confident that this will save you time in planning lessons and setting homework.

“Computer Science is a relatively small subject area and teachers across the country often work alone without the support of colleagues. Isaac Computer Science will build a teaching and learning community to support teachers at all levels and will offer invaluable support to A level students in their learning journey. As an experienced teacher, I am very excited to have the opportunity to work on this project.”
– Diane Dowling, Isaac Computer Science Learning Manager and former teacher

And that’s not all! To further support you, we are also running free student workshops and teacher CPD events at universities and schools around England. Tickets for the events are available to book through the Isaac Computer Science website.

“Isaac Computer Science helped equip me with the skills to teach A level, and ran a great workshop at one of their recent Discovery events using the micro:bit and the Kitronik :MOVE mini. This is a session that I’ll definitely be using again and again.”
 – James Spencer, Computer Science teacher at St Martin’s School

A teacher works with her students at our recent Discovery event in Cambridge.

Why sign up?

Isaac Computer Science provides:

  • High-quality materials written by experienced teachers
  • Resources mapped to the AQA and OCR specifications
  • CPD events for teachers
  • Workshops for students

Isaac Computer Science allows you to:

  • Plan lessons around high-quality content pages, thus saving time
  • Select and set self-marking homework questions
  • Pinpoint areas to work on with your students
  • Manage students’ progress in your personal markbook

Start using Isaac Computer Science today:

  • Sign up at isaaccomputerscience.org
  • Request a teacher account and register your students
  • Start using the platform in your classroom!

The post Say hello to Isaac Computer Science appeared first on Raspberry Pi.

Picademy Bytes: free physical computing training for teachers

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/picademy-bytes-free-physical-computing-training-for-teachers/

Five years ago, the Raspberry Pi Foundation recognised a need for free, high-quality CPD for educators. In response, we started running Picademy, a two-day training event that provides educators all over the UK and North America with the knowledge and skills they need to teach computing with confidence, creativity, and excitement.

We are delighted to now bring you a new free training programme called Picademy Bytes for teachers in the UK who are unable to attend the two-day Picademy events. Picademy Bytes training sessions are 60- to 90-minute community-led events taking place at various UK locations, led by Community Trainers who we ourselves have inducted.

The aim of Picademy Bytes is to highlight the value of delivering curriculum objectives through physical computing activities: the programme provides teachers with the opportunity to experiment with physical computing in a short, face-to-face training session. Teachers can then take what they’ve learned back to their schools, to use or adapt for their own Computing lessons.

Introducing our Community Trainers

In June this year, we invited our first four Community Trainers to attend an induction session, where we introduced them to the resources for their Picademy Bytes sessions, and they gave us feedback on our plans and the session content.


All four Community Trainers are teachers and Raspberry Pi Certified Educators, having attended Picademy in the past. They volunteered to become Community Trainers because they are enthusiastic to help other teachers in their local areas to deliver exciting learning experiences for their students.

The first Picademy Bytes session took place in July at the Computer Science in Schools Conference 2019 at Staffordshire University in Stoke-on-Trent, and most attendees were secondary school teachers. Attendees described the session as “well-balanced [between] theory and practical” and said that it was “very informative and provided ideas for the classroom”.

Look out for Picademy Bytes sessions in a city near you!

Upcoming Picademy Bytes sessions will soon be listed on the Computing at School website and on the Raspberry Pi Foundation website. If you are based in or near Belfast, Bradford, South Wales, Hull, London, North Devon, or Plymouth, look out for events near you from this month! And there will be plenty more events in locations across the UK after that. We look forward to seeing you there!

The post Picademy Bytes: free physical computing training for teachers appeared first on Raspberry Pi.

Bill Aims to Deter Piracy by Teaching Copyright in Philippine Schools

Post Syndicated from Ernesto original https://torrentfreak.com/bill-aims-to-deter-piracy-by-teaching-copyright-in-philippine-schools-190823/

Like many other countries in the world, the Philippines are struggling with a relatively high piracy rate.

To counter this threat, lawmakers have started to propose new legislation.

For example, earlier this year we reported that a new bill proposes to strip the licenses of ISPs which fail to bar ‘pirate’ sites. While that goes quite far, it doesn’t address the root of the problem.

According to local Congressman Rufus Rodriguez, the law already makes it clear that piracy is illegal. However, many people simply ignore this position. Among other things, this has previously resulted in the United States adding the country to its annual ‘piracy’ watch list.

“In spite and despite of various laws and regulations in the Philippines on Intellectual Property, intellectual infringement and piracy of intellectual rights are rampant in the country,” Rodriguez writes.

“Due to these situations, the Philippines is under the watch list as one of the countries where intellectual property rights are ignored and piracy of intellectual creations is widespread,” he adds.

Interestingly, the Philippines were removed from the US watch list in 2014, but Rodriguez nonetheless believes that more has to be done. He’s therefore proposing to add ‘intellectual property’ to the country’s mandatory school curriculum. Not just for the older children, but starting at primary school.

According to the representative, it is crucial that the importance of copyright is taught at an early age as well as later in life. By doing so, the Philippine people may gain more respect for rightsholders as well as the law.

“With proper education, it is hoped that piracy will be curtailed and our laws will be strictly implemented,” Rodriguez writes.

The bill, which also proposes several other changes to the national curriculum, was adopted after the first reading in the House of Representatives and is now with the Committee on Basic Education and Culture.

The relevant copyright part of the proposal, which is included in House Bill 3749, reads as follows:

“The teaching of intellectual property ownership, particularly copyright law, is hereby required to be a part of the curriculum of all primary, secondary and tertiary schools in the country.”

While the bill is progressing through the legislative process, it still has a long way to go before being adopted. Rodriguez previously proposed similar copyright-related changes to the curriculum, but these didn’t pass, despite support form the International Intellectual Property Alliance (IIPA).

While copyright classes are not something most people associate with a mandatory curriculum, this type of education is not new. A few years ago several California schools voluntarily added copyright lessons to the curriculum, starting at kindergarten.

This effort, which was backed by major copyright holder groups, was initially criticized for being one-sided and was later upgraded to include more examples of fair use.

A copy of the bill and the associated exemplary note, received by the House of Representatives on August 8, is available here (pdf).

Source: TF, for the latest info on copyright, file-sharing, torrent sites and more. We also have VPN reviews, discounts, offers and coupons.

It’s GCSE results day!

Post Syndicated from Dan Fisher original https://www.raspberrypi.org/blog/its-gcse-results-day/

Today is GCSE results day, and with it comes the usual amount of excitement and trepidation as thousands of young people in the UK find out whether they got the grades they wanted. So here’s a massive CONGRATULATIONS from everyone at the Raspberry Pi Foundation to all the students out there who have worked so hard to get their GCSEs, A levels, BTECs, IBs, and a host of other qualifications.

We also want to highlight the efforts of the amazing teachers who have spent countless hours thinking up new ways to bring their subjects to life and inspire the next generation.

Looking at the initial data from the Department for Education, it’s clear that:

  • The number of students entering the Computer Science GCSE has gone up by 7.6%, so this is the sixth year running that the subject has gained popularity — great news!
  • The number of girls entering the Computer Science GCSE has grown by 14.5% compared to last year!
  • The proportion of Computer Science GCSE students achieving top grades (9 to 7) has gone up, and there’s been an even bigger increase in the proportion achieving a good pass (9 to 4) — amazing!

Views from teachers

From L to R: Rebecca Franks, Allen Heard, Ben Garside, Carrie Anne Philbin

I caught up with four former teachers on our team to reflect on these findings and their own experiences of results days…

What thoughts and emotions are going through your head as a teacher on results day?

Ben: It’s certainly a nerve-wracking time! You hope that your students have reached the potential that you know that they are capable of. You log onto the computer the second you wake up to see if you’ve got access to the exam boards results page yet. It was always great being there to see their faces, to give them a high five, and to support them with working out their options going forward.

Rebecca: I think that head teachers want you to be worried about targets and whether you’ve met them, but as a teacher, when you look at each individual students’ results, you see their journey, and you know how much effort they’ve put in. You are just really proud of how well they have done, and it’s lovely to have those post-results conversations and celebrate with them. It makes it all worth it.

Allen: I liken the feeling to that of an expectant father! You have done as much as you can to make sure things run smoothly, you’ve tried to keep all those involved calm, and now the moment is here and you just want everything to be OK.

Carrie Anne: As a teacher, I always felt both nerves and excitement for results day, probably more so than my students did. Sleepless nights in the run-up to the big day were common! But I always enjoyed seeing my students, who I’d worked with since they were youngsters, see the culmination of their hard work into something useful. I always felt proud of them for how far they’d come.

There has been an increased uptake of students taking computing-related subjects at GCSE since last year. What do you think about this?

Ben: It’s great news and shows that schools are realising how important the subject is to prepare our young people for the future workplace.

Carrie Anne: It’s a sign that our message — that all students should have access to a Computing qualification of rigour, and that there is a willing and ready audience hungry for the opportunity to study Computing at a deeper level — is making traction. My hope is to see this number increase as teachers take part in the free National Centre for Computing Education professional development and certification over the coming years.

Rebecca: I think it’s a step in the right direction, but we definitely have a long way to go. We must make sure that computing is at the forefront of any curriculum model in our secondary schools, which is why the National Centre for Computing Education is so important. In particular, we must support schools in ensuring that KS3 computing is given the time it needs to give students the grounding for GCSE.

Allen: I agree with Rebecca: more needs to be done about teacher training and helping schools see the overall benefit to students in undertaking such subjects. Schools that are investing time in nurturing these subjects in their curriculum provision are seeing them become more popular and enjoying success. Patience is the key for senior leadership teams, and teachers need support and to have confidence in their ability to continue to deliver the subject.

Why is it important that more students learn about computing?

Rebecca: Computing feeds into so much of our everyday lives, and we must prepare our young people for a world that doesn’t exist yet. Computing teaches you logical thinking and problem-solving. These skills are transferable and can be used in all sorts of situations. Computing also teaches you essential digital literacy skills that can help you keep safe whilst using online tools.

Ben: For me, it’s really important that young people pick this subject to help them understand the world around them. They’ll hopefully then be able to see the potential of computing as a power for good and harness it, rather than becoming passive consumers of technology.

Carrie Anne: Following on from what Ben said, I also think it’s important that technology developed in the future reflects the people and industries using it. The tech industry needs to become more diverse in its workforce, and non-technical fields will begin to use more technology in the coming years. If we equip young people with a grounding in computing, they will be equipped to enter these fields and find solutions to technical solutions without relying on a small technical elite.

Imagine I’m a GCSE student who has just passed my Computer Science exams. What resources should I look at if I want to learn more about computing with the Raspberry Pi Foundation for free?

Rebecca: Isaac Computer Science would be the best place to start, because it supports students through their A level Computer Science. If you wanted to experiment and try some physical computing, then you could take a look at the Projects page of the Raspberry Pi Foundation website. You can filter this page by ‘Software type: Python’ and find some ideas to keep you occupied!

Allen: First and foremost, I would advise you to keep your hard-earned coding skills on point, as moving on to the next level of complexity can be a shock. Now is the time to start building on your already sound knowledge and get prepared for A level Computer Science in September. Isaac Computer Science would be a great place to start to undertake some further learning over the summer and prime yourself for further study.

Ben: Same as Rebecca and Allen, I’d be telling you to get started with Isaac Computer Science too. The resources that are being provided for free are second to none, and will really help you get a good feel for what A level Computer Science is all about.

Carrie Anne: Beyond the Raspberry Pi projects site and Isaac Computer Science, I’d recommend getting some face-to-face experience. Every year the Python community holds a conference that’s open to everyone. It’s a great opportunity to meet new people and learn new skills. PyConUK 2019 is taking place in September and has bursaries to support people in full-time education to attend.

We’ve been working on providing support for secondary and GCSE teachers as part of the National Centre for Computing Education this year. Could you talk about the support we’ve got available?

Allen: We’re producing resources to cover the whole range of topics that appear in all the Computing/Computer Science specifications. The aim of these resources is to provide teachers — both experienced and new to the subject — with the support they need to deliver quality, engaging lessons. Founded on sound pedagogical principles and created by a number of well-established teachers, these resources will help reduce workload and increase productivity for teachers, and increase engagement of students. This will ultimately result in some fantastic out-turns for schools, as well as developing confident computing teachers along the way.

Rebecca: As Allen explained, we are busy creating new, free teaching resources for KS3 and GCSE. The units will cover the national curriculum and beyond, and the lessons will be fully resourced. They will be accessible to teachers with varying levels of experience, and there will be lots of support along the way through online courses and face-to-face training if teachers want to know more. Teachers can already take our ‘CS Accelerator’ programme, which is extremely popular and has excellent reviews.

Thanks for your time, everyone!

How was your GCSE results day? Are your students, or young people you know, receiving their results today? Tell us about it in the comments below.

The post It’s GCSE results day! appeared first on Raspberry Pi.

Scratch 3 Desktop for Raspbian on Raspberry Pi

Post Syndicated from Martin O'Hanlon original https://www.raspberrypi.org/blog/scratch-3-desktop-for-raspbian-on-raspberry-pi/

You can now install and use Scratch 3 Desktop for Raspbian on your Raspberry Pi!

Scratch 3

Scratch 3 was released in January this year, and since then we and the Scratch team have put lots of work into creating an offline version for Raspberry Pi.

The new version of Scratch has a significantly improved interface and better functionality compared to previous versions. These improvements come at the cost of needing more processing power to run. Luckily, Raspberry Pi 4 has delivered just that, and with the software improvements in the newest version of Raspbian, Buster, we can now deliver a reliable Scratch 3 experience on our computer.

Which Raspberry Pi can I use?

Scratch 3 needs at least 1GB of RAM to run, and we recommend a Raspberry Pi 4 with 2GB+ RAM. While you can run Scratch 3 on a Raspberry Pi 2, 3, 3B+, or a Raspberry 4 with 1GB RAM, performance on these models is reduced, and depending on what other software you run at the same time, Scratch 3 may fail to start due to lack of memory.

The Scratch team is working to reduce the memory requirements of Scratch 3, so we will hopefully see improvements to this soon.

How to install Scratch 3

You can only install Scratch 3 on Raspbian Buster.

First, update Raspbian!

  • If you’ve yet to upgrade to Raspbian Buster, we recommend installing a fresh version of Buster onto your SD card instead of upgrading from your current version of Raspbian.
  • If you’re already using Raspbian Buster, but you’re not sure your running the latest version, update Buster by following this tutorial:

How to update Raspbian on your Raspberry Pi

How to update to the latest version of Raspbian on your Raspberry Pi.

Once you’re running the latest version of Buster, you can install Scratch 3 either using the Recommended Software application or apt on the terminal.

How to install Scratch 3 using the Recommended Software app

Open up the menu, click on Preferences > Recommended Software, and then select Scratch 3 and click on OK.

How to install Scratch 3 using the terminal

Open a terminal window, and type in and run the following commands:

sudo apt-get update
sudo apt-get install scratch3

What can I do with Scratch 3 and Raspberry Pi?

Scratch 3 Desktop for Raspbian comes with new extensions to allow you to control the GPIO pins and Sense HAT with Scratch code!

GPIO extension

GPIO extension is a replacement for the existing extension in Scratch 2. Its layout and functionality is very similar, so you can use it as a drop-in replacement.

The GPIO extension gives you the flexibility to connect and control a whole host of electronic devices.

Simple Electronics extension

If you are looking to add something simple, like an LED or button controller for a game, you should find the new Simple Electronics extension easier to use than the GPIO extension. The Simple Electronics extension is the first version of a beginner-friendly extension for interacting with Raspberry Pi’s GPIO pins. Taking lessons from the implementation of gpiozero for Python, this new extension provides a simpler way of using electronic components: currently buttons and LEDs.

In this example, an LED connected to GPIO pin 17 is controlled by a button connected between pin 2 and GND.

Sense HAT extension

We’ve improved the Sense HAT extension to take advantage of new features in Scratch 3, and the updated version of the extension also introduces a number of new blocks to allow you to:

  • Sense tilting, shaking, and orientation
  • Use the joystick
  • Measure temperature, pressure, and humidity
  • Display text, characters, and patterns on the LED matrix

micro:bit and LEGO extensions

The micro:bit and LEGO extensions will become available later on Scratch 3 Desktop. This is because Scratch Link, the software which allows Scratch to talk to Bluetooth devices, is not yet available for Linux-type operating systems like Raspbian. A version of Scratch Link for Raspbian is part of our plans but, as yet, we don’t have a release date.

A round of thanks

It has been a long ambition of both the Scratch and Raspberry Pi teams to have Scratch 3 running on Raspberry Pi, and it’s amazing to see it released!

A big thank you to Raspberry Pi engineer Simon Long for building and packaging Scratch 3, and to the Scratch team for their support in getting over some of the problems we faced along the way.

The post Scratch 3 Desktop for Raspbian on Raspberry Pi appeared first on Raspberry Pi.

Build a Raspberry Pi music box with Sally Le Page

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/build-a-raspberry-pi-music-box-with-sally-le-page/

Connecting buttons to the GPIO pins of your Raspberry Pi instantly opens up your digital making to the world of clicky funtimes.

Sally Le Page

Our Music Box project teaches you how to connect several buttons to your Raspberry Pi and write code to make them trigger cool sound effects.

It’s fun. It’s easy. And we roped Sally Le Page into helping us show you how you can do it yourself, in your own home!

Here Sally is, and here’s the link to the updated online project for you to get stuck into.

Build a Raspberry Pi music box ft. Dr Sally Le Page

Subscribe to our YouTube channel: http://rpf.io/ytsub Help us reach a wider audience by translating our video content: http://rpf.io/yttranslate Buy a Raspberry Pi from one of our Approved Resellers: http://rpf.io/ytproducts Find out more about the #RaspberryPi Foundation: Raspberry Pi http://rpf.io/ytrpi Code Club UK http://rpf.io/ytccuk Code Club International http://rpf.io/ytcci CoderDojo http://rpf.io/ytcd Check out our free online training courses: http://rpf.io/ytfl Find your local Raspberry Jam event: http://rpf.io/ytjam Work through our free online projects: http://rpf.io/ytprojects Do you have a question about your Raspberry Pi?

The post Build a Raspberry Pi music box with Sally Le Page appeared first on Raspberry Pi.

How to build databases using Python and text files | Hello World #9

Post Syndicated from Mac Bowley original https://www.raspberrypi.org/blog/how-to-build-databases-using-python-and-text-files-hello-world-9/

In Hello World issue 9, Raspberry Pi’s own Mac Bowley shares a lesson that introduces students to databases using Python and text files.

In this lesson, students create a library app for their books. This will store information about their book collection and allow them to display, manipulate, and search their collection. You will show students how to use text files in their programs that act as a database.

The project will give your students practical examples of database terminology and hands-on experience working with persistent data. It gives opportunities for students to define and gain concrete experience with key database concepts using a language they are familiar with. The script that accompanies this activity can be adapted to suit your students’ experience and competency.

This ready-to-go software project can be used alongside approaches such as PRIMM or pair programming, or as a worked example to engage your students in programming with persistent data.

What makes a database?

Start by asking the students why we need databases and what they are: do they ever feel unorganised? Life can get complicated, and there is so much to keep track of, the raw data required can be overwhelming. How can we use computing to solve this problem? If only there was a way of organising and accessing data that would let us get it out of our head. Databases are a way of organising the data we care about, so that we can easily access it and use it to make our lives easier.

Then explain that in this lesson the students will create a database, using Python and a text file. The example I show students is a personal library app that keeps track of which books I own and where I keep them. I have also run this lesson and allowed the students pick their own items to keep track of — it just involves a little more planning time at the end. Split the class up into pairs; have each of them discuss and select five pieces of data about a book (or their own item) they would like to track in a database. They should also consider which type of data each of them is. Give them five minutes to discuss and select some data to track.

Databases are organised collections of data, and this allows them to be displayed, maintained, and searched easily. Our database will have one table — effectively just like a spreadsheet table. The headings on each of the columns are the fields: the individual pieces of data we want to store about the books in our collection. The information about a single book are called its attributes and are stored together in one record, which would be a single row in our database table. To make it easier to search and sort our database, we should also select a primary key: one field that will be unique for each book. Sometimes one of the fields we are already storing works for this purpose; if not, then the database will create an ID number that it uses to uniquely identify each record.

Create a library application

Pull the class back together and ask a few groups about the data they selected to track. Make sure they have chosen appropriate data types. Ask some if they can find any of the fields that would be a primary key; the answer will most likely be no. The ISBN could work, but for our simple application, having to type in a 10- or 13-digit number just to use for an ID would be overkill. In our database, we are going to generate our own IDs.

The requirements for our database are that it can do the following things: save data to a file, read data from that file, create new books, display our full database, allow the user to enter a search term, and display a list of relevant results based on that term. We can decompose the problem into the following steps:

  • Set up our structures
  • Create a record
  • Save the data to the database file
  • Read from the database file
  • Display the database to the user
  • Allow the user to search the database
  • Display the results

Have the class log in and power up Python. If they are doing this locally, have them create a new folder to hold this project. We will be interacting with external files and so having them in the same folder avoids confusion with file locations and paths. They should then load up a new Python file. To start, download the starter file from the link provided. Each student should make a copy of this file. At first, I have them examine the code, and then get them to run it. Using concepts from PRIMM, I get them to print certain messages when a menu option is selected. This can be a great exemplar for making a menu in any application they are developing. This will be the skeleton of our database app: giving them a starter file can help ease some cognitive load from students.

Have them examine the variables and make guesses about what they are used for.

  • current_ID – a variable to count up as we create records, this will be our primary key
  • new_additions – a list to hold any new records we make while our code is running, before we save them to the file
  • filename – the name of the database file we will be using
  • fields – a list of our fields, so that our dictionaries can be aligned with our text file
  • data – a list that will hold all of the data from the database, so that we can search and display it without having to read the file every time

Create the first record

We are going to use dictionaries to store our records. They reference their elements using keys instead of indices, which fit our database fields nicely. We are going to generate our own IDs. Each of these must be unique, so a variable is needed that we can add to as we make our records. This is a user-focused application, so let’s make it so our user can input the data for the first book. The strings, in quotes, on the left of the colon, are the keys (the names of our fields) and the data on the right is the stored value, in our case whatever the user inputs in response to our appropriate prompts. We finish this part of by adding the record to the file, incrementing the current ID, and then displaying a useful feedback message to the user to say their record has been created successfully. Your students should now save their code and run it to make sure there aren’t any syntax errors.

You could make use of pair programming, with carefully selected pairs taking it in turns in the driver and navigator roles. You could also offer differing levels of scaffolding: providing some of the code and asking them to modify it based on given requirements.

How to use the code in your class

To complete the project, your students can add functionality to save their data to a CSV file, read from a database file, and allow users to search the database. The code for the whole project is available at helloworld.cc/database.

An example of the code

You may want to give your students the entire piece of code. They can investigate and modify it to their own purpose. You can also lead them through it, having them follow you as you demonstrate how an expert constructs a piece of software. I have done both to great effect. Let me know how your classes get on! Get in touch at [email protected]

Hello World issue 9

The brand-new issue of Hello World is out today, and available right now as a free PDF download from the Hello World website.



UK-based educators can also sign up to receive Hello World as printed magazine FOR FREE, direct to their door. And those outside the UK, educator or not, can subscribe to receive new digital issues of Hello World in their inbox on the day of release.

The post How to build databases using Python and text files | Hello World #9 appeared first on Raspberry Pi.

Your Back-to-School Bootcamp with our free online training

Post Syndicated from Dan Fisher original https://www.raspberrypi.org/blog/back-to-school-bootcamp-online-training/

Are you ready FEEL THE BURN…of your heating laptop? And MAX THOSE REPS…using forever loops? Then get your programming muscles into the best shape possible with our free online training courses.

Pump up your programming skills for free

Today we are excited to announce our new online training course Programming with GUIs — now open for sign-ups on FutureLearn. To celebrate, we’ve also curated a set of courses as your personal Back-to-school Bootcamp. Sign up now to start training from Monday 29 July and throughout August!

Scratch Cat and a Python supervising teachers at an outdoor bootcamp

Your Back-to-school Bootcamp has something for beginner, intermediate, and advanced learners, and all the courses are free, thanks to support from Google.

Also keep in mind that all the courses count towards becoming certified through the National Centre for Computing Education.

Couch to 5k…lines of code

If you’re just beginning to learn about coding, the perfect place to start is Programming 101: An Introduction to Python for Educators. You’ll first get to grips with basic programming concepts by learning about the basics of Python syntax and how to interpret error messages. Then you’ll use your new coding skills to create a chatbot that asks and answers questions!

Scratch Cat and a Python doing a relay race

For Primary teachers, our course Scratch to Python: Moving from Block- to Text-based Programming is ideal. Take this course if you’ve been using Scratch and are wondering how to introduce Python to your older students.

If you’ve been programming for a while, sign up for our brand-new course Programming with GUIs — an intermediate-level course that shows you how to build your own graphical user interface (GUI) in Python. You will learn how to incorporate interactivity in your programs, discover different types of GUI features, and build your confidence to design more complex GUI-based apps in the future.

Or maybe you’d like to try Programming 101’s follow-on course Programming 102: Think Like a Computer Scientist? Take your Python skills further by learning to break down problems into smaller tasks and designing algorithms you can apply to data.

Finally, if you’re an experienced computing educator, dig into Object-oriented Programming in Python, a really fun and challenging course that helps you get to grips with OOP principles by creating a text-based adventure game in Python.

Scratch Cat and a Python supervising an outdoors sports activity

Sign-ups are open until the end of August. Now go get those gains!

Tell us about your workout routine

What will your personal coding regime look like this summer? What online courses have you enjoyed taking this year? (They don’t have to be ours!) Tell us in the comments below.

No Title

No Description

The post Your Back-to-School Bootcamp with our free online training appeared first on Raspberry Pi.

The NEW Official Raspberry Pi Beginner’s Guide: updated for Raspberry Pi 4

Post Syndicated from Phil King original https://www.raspberrypi.org/blog/the-new-official-raspberry-pi-beginners-guide-updated-for-raspberry-pi-4/

To coincide with the launch of Raspberry Pi 4, Raspberry Pi Press has created a new edition of The Official Raspberry Pi Beginner’s Guide book — as if this week wasn’t exciting enough! Weighing in at 252 pages, the book is even bigger than before, and it’s fully updated for Raspberry Pi 4 and the latest version of the Raspbian operating system, Buster.A picture of the front cover of the Raspberry Pi Beginner's Guide version two

The Official Raspberry Pi Beginner’s Guide

We’ve roped in Gareth Halfacree, full-time technology journalist and technical author, and the wonderful Sam Alder, illustrator of our incredible cartoons and animations, to put together the only guide you’ll ever need to get started with Raspberry Pi.



From setting up your Raspberry Pi on day one to taking your first steps into writing coding, digital making, and computing, The Official Raspberry Beginner’s Guide – 2nd Edition is great for users from age 7 to 107! It’s available now online from the Raspberry Pi Press store, with free international delivery, or from the real-life Raspberry Pi Store in Cambridge, UK.

As always, we have also released the guide as a free PDF, and you’ll soon be seeing physical copies on the shelves of Waterstones, Foyles, and other good bookshops.

The post The NEW Official Raspberry Pi Beginner’s Guide: updated for Raspberry Pi 4 appeared first on Raspberry Pi.

European Astro Pi Challenge: Mission Space Lab winners 2018–2019!

Post Syndicated from Olympia Brown original https://www.raspberrypi.org/blog/european-astro-pi-challenge-mission-space-lab-winners-2018-2019/

This is your periodic reminder that there are two Raspberry Pi computers in space! That’s right — our Astro Pi units Ed and Izzy have called the International Space Station home since 2016, and we are proud to work with ESA Education to run the European Astro Pi Challenge, which allows students to conduct scientific investigations in space, by writing computer programs.

Astro PI IR on ISS

An Astro Pi takes photos of the earth from the window of the International Space Station

The Challenge has two missions: Mission Zero and Mission Space Lab. The more advanced one, Mission Space Lab, invites teams of students and young people under 19 years of age to enter by submitting an idea for a scientific experiment to be run on the Astro Pi units.

ESA and the Raspberry Pi Foundation would like to congratulate all the teams that participated in the European Astro Pi Challenge this year. A record-breaking number of more than 15000 people, from all 22 ESA Member States as well as Canada, Slovenia, and Malta, took part in this year’s challenge across both Mission Space Lab and Mission Zero!

Eleven teams have won Mission Space Lab 2018–2019

After designing their own scientific investigations and having their programs run aboard the International Space Station, the Mission Space Lab teams spent their time analysed the data they received back from the ISS. To complete the challenge, they had to submit a short scientific report discuss their results and highlight the conclusions of their experiments. We were very impressed by the quality of the reports, which showed a high level of scientific merit.

We are delighted to announce that, while it was a difficult task, the Astro Pi jury has now selected eleven winning teams, as well as highly commending four additional teams. The eleven winning teams won the chance to join an exclusive video call with ESA astronaut Frank De Winne. He is the head of the European Astronaut Centre in Germany, where astronauts train for their missions. Each team had the once-in-a-lifetime chance to ask Frank about his life as an astronaut.

And the winners are…

Firewatchers from Post CERN HSSIP Group, Portugal, used a machine learning method on their images to identify areas that had recently suffered from wildfires.

Go, 3.141592…, Go! from IES Tomás Navarro Tomás, Spain, took pictures of the Yosemite and Lost River forests and analysed them to study the effects of global drought stress. They did this by using indexes of vegetation and moisture to assess whether forests are healthy and well-preserved.

Les Robotiseurs from Ecole Primaire Publique de Saint-André d’Embrun, France, investigated variations in Earth’s magnetic field between the North and South hemispheres, and between day and night.

TheHappy.Pi from I Liceum Ogólnokształcące im. Bolesława Krzywoustego w Słupsku, Poland, successfully processed their images to measure the relative chlorophyll concentrations of vegetation on Earth.

AstroRussell from Liceo Bertrand Russell, Italy, developed a clever image processing algorithm to classify images into sea, cloud, ice, and land categories.

Les Puissants 2.0 from Lycee International de Londres Winston Churchill, United Kingdom, used the Astro Pi’s accelerometer to study the motion of the ISS itself under conditions of normal flight and course correction/reboost maneuvers.

Torricelli from ITIS “E.Torricelli”, Italy, recorded images and took sensor measurements to calculate the orbital period and flight speed of the ISS followed by the mass of the Earth using Newton’s universal law of gravitation.

ApplePi from I Liceum Ogólnokształcące im. Króla Stanisława Leszczyńskiego w Jaśle, Poland, compared their images from Astro Pi Izzy to historical images from 35 years ago and could show that coastlines have changed slightly due to erosion or human impact.

Spacethon from Saint Joseph La Salle Pruillé Le Chétif, France, tested their image-processing algorithm to identify solid, liquid, and gaseous features of exoplanets.

Stithians Rocket Code Club from Stithians CP School, United Kingdom, performed an experiment comparing the temperature aboard the ISS to the average temperature of the nearest country the space station was flying over.

Vytina Aerospace from Primary School of Vytina, Greece, recorded images of reservoirs and lakes on Earth to compare them with historical images from the last 30 years in order to investigate climate change.

Highly commended teams

We also selected four teams to be highly commended, and they will receive a selection of goodies from ESA Education and the Raspberry Pi Foundation:

Aguere Team from IES Marina Cebrián, Spain, investigated variations in the Earth’s magnetic field due to solar activity and a particular disturbance due to a solar coronal hole.

Astroraga from CoderDojo Trento, Italy, measured the magnetic field to investigate whether astronauts can still use a compass, just like on Earth, to orient themselves on the ISS.

Betlemites from Escoles Betlem, Spain, recorded the temperature on the ISS to find out if the pattern of a convection cell is different in microgravity.

Rovel In The Space from Scuola secondaria I grado A.Rosmini ROVELLO PORRO(Como), Italy, executed a program that monitored the pressure and would warn astronauts in case space debris or micrometeoroids collided with the ISS.

The next edition is not far off!

ESA and the Raspberry Pi Foundation would like to invite all school teachers, students, and young people to join the next edition of the challenge. Make sure to follow updates on the Astro Pi website and Astro Pi Twitter account to look out for the announcement of next year’s Astro Pi Challenge!

The post European Astro Pi Challenge: Mission Space Lab winners 2018–2019! appeared first on Raspberry Pi.

Ghost hunting in schools with Raspberry Pi | Hello World #9

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/digital-ghost-hunt-raspberry-pi-hello-world-9/

In Hello World issue 9, out today, Elliott Hall and Tom Bowtell discuss The Digital Ghost Hunt: an immersive theatre and augmented reality experience that takes a narrative-driven approach in order to make digital education accessible.The Digital Ghost Hunt - Raspberry Pi Hello World

The Digital Ghost Hunt combines coding education, augmented reality, and live performance to create an immersive storytelling experience. It begins when a normal school assembly is disrupted by the unscheduled arrival of Deputy Undersecretary Quill of the Ministry of Real Paranormal Hygiene, there to recruit students into the Department’s Ghost Removal Section. She explains that the Ministry needs the students’ help because children have the unique ability to see and interact with ghostly spirits.

The Digital Ghost Hunt - Raspberry Pi Hello World

Under the tutelage of Deputy Undersecretary Quill and Professor Bray (the Ministry’s chief scientist), the young ghost-hunters learn how to program and use their own paranormal detectors. These allow students to discover ghostly traces, translate Morse code using flickering lights, and find messages left in ultraviolet ectoplasm. Meanwhile, the ghost communicates through a mixture of traditional theatrical effects and the poltergeist potential of smart home technology. Together, students uncover the ghost’s identity, discover her reason for haunting the building, unmask a dastardly villain, find a stolen necklace, clear the ghost’s name, right an old wrong, and finally set the ghost free.

The Digital Ghost Hunt - Raspberry Pi Hello World

The project conducted two successful test performances at the Battersea Arts Centre in South London in November 2018, funded by a grant from AHRC’s New Immersive Experiences Programme, led by Mary Krell of Sussex University. Its next outing will be at York Theatre Royal in August.

Adventures in learning

The Digital Ghost Hunt arose out of a shared interest in putting experimentation and play at the centre for learners. We felt that the creative, tinkering spirit of earlier computing — learning how to program BASIC on an Atari 800XL to create a game, for example — was being supplanted by a didactic and prescriptive approach to digital learning. KIT Theatre’s practice — creating classroom adventures that cast pupils as heroes in missions — is also driven by a less trammelled, more experiment-led approach to learning.

We believe that the current Computer Science curriculum isn’t engaging enough for students. We wanted to shift the context of how computer science is perceived, from ‘something techy and boyish’ back to the tool of the imagination that it should be. We did this by de-emphasising the technology itself and, instead, placing it in the larger context of a ghost story. The technology becomes a tool to navigate the narrative world — a means to an end rather than an end in itself. This helps create a more welcoming space for students who are bored or intimidated by the computer lab: a space of performance, experiment, and play.

Ghosts and machines

The device we built for the students was the SEEK Ghost Detector, made from a Raspberry Pi and a micro:bit, which Elliot stapled together. The micro:bit was the device’s interface, which students programmed using the block-based language MakeCode. The Raspberry Pi handled the heavier technical requirements of the show, and communicated them to the micro:bit in a form students could use. The detector had no screen, only the micro:bit’s LEDs. This meant that students’ attention was focused on the environment and what the detector could tell them about it, rather than having their attention pulled to a screen to the exclusion of the ‘real’ world around them.

In addition to the detector, we used a Raspberry Pi to make ordinary smart home technology into our poltergeist. It communicated with the students using effects such as smart bulbs that flashed in Morse code, which the students could then decode on their devices.

To program their detectors, students took part in a series of four lessons at school, focused on thinking like a programmer and the logic of computing. Two of the lessons featured significant time spent programming the micro:bit. The first focused on reading code on paper, and students were asked to look out for any bugs. The second had students thinking about what the detector will do, and acting out the steps together, effectively ‘performing’ the algorithm.

We based the process on KIT Theatre’s Adventures in Learning model, and its Theory of Change:

  • Disruption: an unexpected event grabs attention, creating a new learning space
  • Mission: a character directly asks pupils for their help in completing a mission
  • Achievement: pupils receive training and are given agency to successfully complete the mission

The Ghost Hunt

During these lessons, Deputy Undersecretary Quill kept in touch with the students via email, and the chief scientist sent them instructional videos. Their work culminated in their first official assignment: a ghost haunting the Battersea Arts Centre — a 120-year-old former town hall. After arriving, students were split into four teams, working together. Two teams analysed evidence at headquarters, while the others went out into places in the building where we’d hidden ghostly traces that their detectors would discover. The students pooled their findings to learn the ghost’s story, and then the teams swapped roles. The detectors were therefore only one method of exploring the narrative world. But the fact that they’d learned some of the code gave students a confidence in using the detectors — a sense of ownership. During one performance, one of the students pointed to a detector and said: “I made that.”

Future of the project

The project is now adapting the experience into a family show, in partnership with Pilot Theatre, premiering in York in summer 2019. We aim for it to become the core of an ecosystem of lessons, ideas, and activities — to engage audiences in the imaginative possibilities of digital technology.

You can find out more about the Digital Ghost Hunt on their website, which also includes rather lovely videos that Vimeo won’t let me embed here.

Hello World issue 9

The brand-new issue of Hello World is out today, and available right now as a free PDF download from the Hello World website.

Hello World issu 9

UK-based educators can also sign up to receive Hello World as printed magazine FOR FREE, direct to their door, by signing up here. And those outside the UK, educator or not, can subscribe to receive new issues of Hello World in their inbox on the day of release.

The post Ghost hunting in schools with Raspberry Pi | Hello World #9 appeared first on Raspberry Pi.

An opportunity to reach thousands with the Raspberry Pi

Post Syndicated from Dana Augustin original https://www.raspberrypi.org/blog/an-opportunity-to-reach-thousands-with-the-raspberry-pi/

Dr Bob Brown is a former professor who taught at Kennesaw State University and Southern Polytechnic State University. He holds a doctorate in computer information systems. Bob is also a Raspberry Pi Certified Educator, and continues to provide exceptional classroom experiences for K-12 students. The moment his students have that “Aha!” feeling is something he truly values, and he continues to enjoy that experience in his K-12 classroom visits.

After retiring from teaching computing in 2017, Bob continued his school visits, first on an informal basis, and later as an official representative of KSU’s College of Computing and Software Engineering (CCSE). Keen to learn more about K-12 Computing, Bob applied to the Raspberry Pi Foundation’s Picademy program, and attended Picademy Atlanta in 2018. Here’s his story of how he has since gone on to lead several Raspberry Pi Teachers’ Workshops, inspiring educators and students alike.

“I couldn’t have done this if I had not attended Picademy” — Bob Brown

“I was amazed at the excitement and creativity that Picademy and the Raspberry Pi created among the teachers who attended,” Bob says. “After reading about the number of applicants for limited Picademy positions, I realized there was unmet demand. I began to wonder whether we could do something similar at the CCSE.”

Bob spent over a hundred hours developing instructional material, and raised over $2,000 from Southern Polytechnic alumni. With the money he raised, Bob conducted a pilot workshop for half a dozen teachers in the autumn of 2018. The workshop was free for participants, and covered material similar to Picademy, but in a one-day format. Participants were also given a Raspberry Pi 3B+ and a parts pack. Bob says, “I couldn’t have done this if I had not attended Picademy and been able to start with the Picademy material from the Raspberry Pi Foundation.”

“[The CCSE] helps improve access, awareness, and sustainability to middle and high school students and teachers.” — Jon Preston

The Dean of CCSE at KSU, Dr Jon Preston, was so impressed with the results of the pilot workshop that he authorised a formal fundraising program and two additional workshops in the spring of 2019. Four more workshops have also been scheduled for the summer.

“The College of Computing and Software Engineering at KSU STEM+Computing project helps improve access, awareness, and sustainability to middle and high school students and teachers. CCSE faculty and undergraduate students build learning materials and deliver these materials on-site to schools in an effort to increase the number of students who are energized by computing and want to study computing to help improve their careers and the world. Given the price and power of the Raspberry Pi computers, these devices are a perfect match for our project in the local schools,” says Preston.

The teachers really enjoyed the workshop, and left incredibly inspired.

Teachers came from all over Georgia and from as far away as Mississippi to attend the workshops. For some of the teachers, it was their first time exploring the concept of physical computing, and the hands-on approach to the workshop helped them set their own pace. The teachers really enjoyed the workshop, and left incredibly inspired. “Teacher workshops have a multiplier effect,” says Brown. “If I teach 30 students, I’ve reached 30 students; if I teach 30 teachers, I potentially reach thousands of students over a period of years.”

Another great contribution to the program was the addition of college student facilitators, who provided individual support to the teachers throughout the day, making it easier for everyone to have the assistance they needed.

By the end of the summer, more than 150 K-12 teachers will have participated in a CCSE Raspberry Pi Teachers’ Workshop.

The Raspberry Pi Teachers’ Workshops have become a regular part of the outreach efforts of the CCSE. Grants from State Farm Insurance, 3M Corporation, and a few very generous individual gifts keep the workshops free for K-12 teachers, who also take home a Raspberry Pi and extra components and parts. Participants are also invited to join an online forum where they can exchange ideas and support each other. By the end of the summer, more than 150 K-12 teachers will have participated in a CCSE Raspberry Pi Teachers’ Workshop. You can find more information about the workshops here.

The post An opportunity to reach thousands with the Raspberry Pi appeared first on Raspberry Pi.