Raspberry Pi Blog

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

Ten millionth Raspberry Pi, and a new kit

When we started Raspberry Pi, we had a simple goal: to increase the number of people applying to study Computer Science at Cambridge. By putting cheap, programmable computers in the hands of the right young people, we hoped that we might revive some of the sense of excitement about computing that we had back in the 1980s with our Sinclair Spectrums, BBC Micros and Commodore 64s.

At the time, we thought our lifetime volumes might amount to ten thousand units – if we were lucky. There was was no expectation that adults would use Raspberry Pi, no expectation of commercial success, and certainly no expectation that four years later we would be manufacturing tens of thousands of units a day in the UK, and exporting Raspberry Pi all over the world.

Less than ten million Raspberry Pis

The first two thousand Raspberry Pis. Each Pi in this pallet now has 5000 siblings.

With this in mind, you can imagine how strange it feels to be able to announce that over the last four and a half years we’ve sold a grand total of ten million Raspberry Pis. Thanks to you, we’ve beaten our wildest dreams by three orders of magnitude, and we’re only just getting started. Every time you buy a Raspberry Pi, you help fund both our ongoing engineering work, and our educational outreach programs, including Code Club and Picademy.

Very early on, we decided that we would offer the bare-bones Raspberry Pi board without accessories: that way, cost-conscious customers get the lowest possible price, provided they can beg or borrow USB peripherals, a power supply and an SD card. Over the years, Raspberry Pi distributors have built on this, producing some fantastic bundles for people who would rather get everything they need from a single source.

To celebrate the ten millionth Raspberry Pi, for the first time we’ve put together our own idea of what the perfect bundle would look like, creating the official Raspberry Pi Starter Kit.

The starter kit, unboxed and ready to go

The starter kit, unboxed and ready to go

Inside the minimalist white box (like the official case, another beautiful Kinneir Dufort design), you’ll find:

  • A Raspberry Pi 3 Model B
  • An 8GB NOOBS SD card
  • An official case
  • An official 2.5A multi-region power supply
  • An official 1m HDMI cable
  • An optical mouse and a keyboard with high-quality scissor-switch action
  • A copy of Adventures in Raspberry Pi Foundation Edition

This is an unashamedly premium product: the latest Raspberry Pi, official accessories, the best USB peripherals we could find, and a copy of the highest-rated Raspberry Pi book. The kit is available to order online in the UK from our partners element14 and RS Components, priced at £99+VAT, and will be coming to the rest of the world, and to your favourite reseller, over the next few weeks.

91 Comments

Hallo Deutschland! The MagPi magazine has arrived in Germany

It gives me great pleasure to announce that The MagPi, the official Raspberry Pi magazine, is now available – fully translated and localised – in Germany, thanks to a collaboration with our friends at CHIP.

The cover of the first issue of the German version of the MagPi magazine, "das offizielle Raspberry Pi Magazin"

Germany was one of the first places outside the UK to take an interest in Raspberry Pi, so it’s quite fitting that it’s our first license. Eben Upton tells us more:

Germany is our third largest market so it seems natural that, after only 18 months, Germany should be the first country to get a localised version of The MagPi.

On a personal note, it’s particularly satisfying for me to see the MagPi launch in Germany, because as a child I used to import German Commodore Amiga magazines, which had so much more technical detail than their UK equivalents. The style of the MagPi is very reminiscent of these magazines: I hope that we’re in some sense “returning the favour,” and that German children of all ages (from 8-80) will be inspired to create exciting projects with Raspberry Pi and share them with the world.

The first issue is out right now everywhere you’d expect a cutting-edge technology magazine to be, not to mention available direct from CHIP’s online store.

Like the UK magazine, das offizielle Raspberry Pi Magazin features 100 pages of glossy Raspberry Pi goodness, but unlike its UK language counterpart it’s currently scheduled to run bi-monthly, so the next issue will be arriving on 2 November.

The magazine is available now for €9.95 in print or €6.50 on digital devices, and you can pick up a subscription for €54.80. Subscribers will also receive the same amazing free gift – a Raspberry Pi Zero and full cable bundle (including the camera ribbon cable). The free PDF edition will follow in 90 days.

A two-page spread from the magazine featuring photographs and text: "LEBENDIGE LEGOSTADT"

A two-page spread from the magazine, featuring text and code snippets: "PROGRAMMIEREN IN C: ERSTE SCHRITTE"

A two-page spread from the magazine, featuring photos and text: "WILDLIFE-KAMERA"

20 Comments

PiBakery – foolproof custom Raspbian setup

Everybody loves cake, right? Cakes have layers. Mmm…. cake! We’re sure you’ll also love PiBakery, a brand new way to bake Raspberry Pi images, which makes creating a custom image a… piece of cake.

blocks-on-workspace

PiBakery was created by David Ferguson. He’s a talented 17-year-old whom we first met at the Big Birthday event we held to celebrate four years of Pi back in February. He showed Liz and Eben a work-in-progress version of PiBakery, and they’ve been raving about it ever since.

This crafty program enables users to mix together a customised version of Raspbian with additional ingredients, and you need absolutely no experience with computers to set up your custom image.

In PiBakery, you drag and drop blocks (just like Scratch) to add extra components. PiBakery then mixes the latest version of Raspbian with its additional sprinkles, and flashes the result directly to an SD card.

PiBakery_script

“The idea for PiBakery came about when I went to a Raspberry Pi event,” says David. “I needed to connect my Pi to the network there, but didn’t have a monitor, keyboard, and mouse. I needed a way of adding a network to my Raspberry Pi that didn’t require booting it up and manually connecting.”

“PiBakery solves this issue,” he explains. “You can simply drag across the blocks that you want to use with your Raspberry Pi, and the SD card will be created for you.”

“If you’ve already made an SD card using PiBakery, you can insert that card back into your computer, and keep editing the blocks to add additional software, configure new wireless networks, and alter different settings,” says David. “All without having to find a monitor, keyboard, and mouse.”

PiBakery is available for Mac and Windows, with a Linux version on the way. It can be downloaded directly from its website. As well as the scripts and block interface, it contains the whole Raspbian installation, so the initial download takes quite a while. However, it makes the process of building and flashing SD cards remarkably simple.

PiBakery_success

David has written a guide to creating customised SD cards with PiBakery. It’s a very easy program to use, and we followed his guide to quickly build a custom version of Raspbian that connected straight to our local wireless network. Guess what: it worked first time.

Behind the scenes, PiBakery creates a set of scripts that run when the Raspberry Pi is powered on (either just the first time, or every time it is powered). These scripts can be used to set up and connect to a WiFi network, and activate SSH.

Other options include installing Apache, changing the user password, and running Python or command line scripts.

The user controls which scripts are used with the block-based interface. You drag and drop the tasks you want the Raspberry Pi to perform when it’s powered up. Piece of cake.

We love PiBakery, and cake. Did we mention cake?

 

52 Comments

Now with added cucumbers

Working here at Pi Towers, I’m always a little frustrated by not being able to share the huge number of commercial businesses’ embedded projects that use Raspberry Pis. (About a third of the Pis we sell go to businesses.) We don’t get to feature many of them on the blog; many organisations don’t want their work replicated by competitors, or aren’t prepared for customers and competitors to see how inexpensively they’re able to automate tasks. Every now and then, though, a company is happy to share what they’re using Pis for.

cucumber-farmer-3

Makoto Koike, centre, with his parents on the family cucumber farm

Here’s a great example: a cucumber farm in Japan, which is using a Raspberry Pi to sort thorny cucumbers, saving the farmer eight to nine hours’ manual work a day.

Makoto Koike is the son of farmers, who works as an embedded systems designer for the Japanese car industry. He started helping out at his parents’ cucumber farm (which he will be taking over when they retire), and spotted a process that was ripe for automation.

cucumber-farmer-7

Cucumbers from the Makotos’ farm

At the Makotos’ farm, cucumbers are graded into nine categories: the straightest, thickest, freshest, most vivid cucumbers (which must have plenty of characteristic spurs) are the best, and can be sold at the highest price. Makoto-san’s mother was in charge of sorting the cucumbers every day, which took eight hours at the peak of the harvest. Makoto-san had an epiphany after reading about Google’s AlphaGo beating the world number one professional Go player. He realised that machine learning and deep learning meant the sorting process could be automated, so he built a process using Google’s open-source machine learning library, TensorFlow, and some machinery to process the cucumbers into graded batches.

cucumber-farmer-10

Sorting in action

cucumber-farmer-6

Camera interface

Google have put together a diagram showing how the system works:

cucumber-farmer-14

There are difficulties in building this sort of system, not least the 7000 cucumbers, pre-graded by his mother, that Makoto-san had to photograph and label over a period of three months to give the model material to train with. He says:

“When I did a validation with the test images, the recognition accuracy exceeded 95%. But if you apply the system with real use cases, the accuracy drops down to about 70%. I suspect the neural network model has the issue of “overfitting” (the phenomenon in neural networks where the model is trained to fit only the small training dataset) because of the insufficient number of training images.”

Still, it’s an impressive feat, and a real-world >95% accuracy rate is not unfeasible with a big enough data set. We’d be interested to see how the setup progresses, especially as more automation is added; right now, cucumbers are added to the processing hopper by hand, and a human has to interact with the touchscreen grading panel. Here’s the system at work:

TensorFlow powered cucumber sorter by Makoto Koike

Uploaded by Kazunori Sato on 2016-08-05.

We’re hoping to see some updates from the Makoto family as the system evolves. And in the meantime, if you have an embedded project you’d like to share with us, let us know in the comments!

 

3 Comments

Identifying The Hallway Whistler

Becky Stern suffers from that same condition that many of us apartment dwellers are affected by: a curiosity about who is making noise outside the door.

Living within a large New York City apartment, Becky wanted to be able to see out of her peep hole without having to leave her desk. After all, the constant comings and goings of any shared property, though expected, can often be distracting.

(And seriously, whoever keeps slamming their door in my apartment block at 4am WILL suffer my wrath!)

So she decided to use a motion detector to trigger a Pi camera at her door. The camera would then stream live video back to a monitor within her apartment: a wireless peep hole, allowing her the freedom to be productive without having her eye to the door.

Peep Hole Cam

Becky used a Pi Zero for the project and took to the internet to educate herself on how to code a live streaming camera with motion detection. Tony D’s Cloud Cam tutorial gave her everything she needed to get the project working… and a handful of magnets, plus an old makeup bag, finished off the job.

Pi Zero Peep Hole Camera

Tutorial: http://www.instructables.com/id/Pi-Zero-Peep-Hole-Camera/ Subscribe for new videos Mondays and Thursdays! http://www.youtube.com/user/bekathwia previous video: https://youtu.be/p7uUcNFfP3Q tech playlist: https://www.youtube.com/playlist?list=PLxW5bBHPfdBzmynozxfEPv2DJgyoFiqgn this time last year: https://youtu.be/kZmyXzzXqfc Connect with Becky: http://www.instructables.com/member/bekathwia https://twitter.com/bekathwia http://instagram.com/bekathwia http://bekathwia.tumblr.com/ http://www.pinterest.com/bekathwia/ https://www.snapchat.com/add/bekathwia tip jar: https://www.patreon.com/beckystern Music is “Marxist Arrow” from the YouTube Music Library

Along with live streaming, the camera could be set up to take and upload photos and video to a cloud server; a handy tool to aid in home security. Taking the project further afield, she could allow remote access to the camera, allowing her to view the hallway while away from home. Did the delivery man leave your expected package? Which of the neighbours’ kids is the one trailing mud across the carpet?

And seriously… who keeps whistling every time they come home?!

12 Comments

Gran Check

New Zealander James Zingel recognised his mother’s concern over his grandmother’s well-being, and decided to do something about it.

Gran Check

For the Bay of Plenty Science Fair, the 14-year-old Bethlehem College student designed and built ‘Gran Check’, a Raspberry Pi-powered monitor that uses a PIR sensor to recognise his gran’s movement as she feeds her dogs, taking a photograph every morning to email back to his mother.

Gran Check

14-year-old James was concerned by the news of the elderly passing away unnoticed

James had researched similar builds on the market, noting their price was unrealistic for those with a lower budget. With the increase in average lifespans, plus upsetting reports of the elderly passing away unnoticed, he was determined to create something affordable and readily available to all, with little to no maintenance requirements.

 

Gran Check

A knob on the lid allows for the PIR sensitivity to be adjusted

The Gran Check lives within a wooden box, installed beside his grandmother’s dogs’ food. He knew it was the best location, since the dogs would never allow her to go a day without feeding them. For added peace of mind, James built the device to be self-sufficient, ensuring she’d never have to operate it herself.

James noted his grandmother’s independent nature, understanding that constant ‘check in’ calls from the family would be unrealistic. The Gran Check removes all concern for her welfare, without constantly bugging her for updates.

Gran Check

James credits the internet for much of his digital maker education

James was given a Raspberry Pi by his father, though he soon overtook the level of expertise on offer, and turned to YouTube and websites for help. 

James built the Gran Check over four weekends, and has ambitions to improve the build for others:

“I want to make it easy [to build], but also useful in loads of situations; it could also send a text message and attach a photo to it, for example. This would make sure that, for people in different situations, it’s not just one size fits all.”

It’s no surprise that James’s hard work was acknowledged. Not only did he win the award for best junior technology and best exhibit, but the 14-year-old also took home the NIWA Best in Fair Overall Winner.

To see James talking about Gran Check, and his plans for the build, visit the Bay of Plenty Times.

We look forward to seeing what’s next for James and Gran Check.

11 Comments

Building Computer Labs in Western Africa

Back in 2014, Helen covered the story of Dominique Laloux and the first Raspberry Pi computer room in Togo, West Africa.

Having previously worked alongside friends to set up the Kuma Computer Center, Dominique and the team moved on to build another computer room in Kuma Adamé.

Both builds were successful, proving the need for such resources within an area where, prior to 2012, 75% of teachers had never used a computer.

Dominique has since been back in contact via our forum; he informed us of another successful build, again in Togo, converting an old toilet block into a Raspberry Pi computer lab.

Togo RPi Lab

The blank canvas…

The team had their work cut out, stripping the building of its inner walls, laying down a new concrete floor, and installing windows. 

Togo RPi

Some serious climbing was needed…

Electricity and LAN were installed next, followed by welded tables and, eventually, the equipment.

Togo RPi

Local teachers and students helped to set up the room

The room was finally kitted out with 21 Raspberry Pis. This would allow for one computer per student, up to a maximum of 20, as well as one for the teacher’s desk, which would power an LED projector.

The room also houses a laptop with a scanner, and a networked printer.

The project took four weeks to complete, and ended with a two-week training session for 25 teachers. 

Togo RPi

Forget the summer holidays: each teacher showed up every day

Dominique believes very strongly in the project, and in the positive influence it has had on the area. He writes:

I am now convinced that the model of Raspberry Pi computer labs is an ideal solution to bring ICT to small schools in developing countries, where resources are scarce.

Not only is he continuing to raise funds to build more labs, he’s also advising other towns who want to build their own. Speaking of the growth of awareness over the past year, he explained, “I was so happy to advise another community 500 km away on how to install their own microcomputer room, based on the same model.”

And his future plans?

My goal is now to raise enough funds to set up one computer room in a school each year for the foreseeable future, hoping that other communities will want to copy the model and build their own at the same time.

We love seeing the progress Dominique and his team have made as they continue to build these important labs for communities in developing countries. Dominique’s hard work and determination is inspiring, and we look forward to seeing the students he and his team have helped to nurture continue to learn.

Togo RPi

5 Comments

Docker comes to Raspberry Pi

If you’re not already familiar with Docker, it’s a method of packaging software to include not only your code, but also other components such as a full file system, system tools, services, and libraries. You can then run the software on multiple machines without a lot of setup. Docker calls these packages containers.

Mayview Maersk by Flickr user Kees Torn

Mayview Maersk by Flickr user Kees Torn

Think of it like a shipping container and you’ve got some idea of how it works. Shipping containers are a standard size so that they can be moved around at ports, and shipped via sea or land. They can also contain almost anything. Docker containers can hold your software’s code and its dependencies, so that it can easily run on many different machines. Developers often use them to create a web application server that runs on their own machine for development, and is then pushed to the cloud for the public to use.

While we’ve noticed people using Docker on Raspberry Pi for a while now, the latest release officially includes Raspbian Jessie installation support. You can now install the Docker client on your Raspberry Pi with just one terminal command:

curl -sSL https://get.docker.com | sh

From there, you can create your own container or download pre-made starter containers for your projects. The documentation is thorough and easy to follow. You can also follow this Pi-focused guide by Docker captain Alex Ellis.

Docker Swarm

One way you can use Raspberry Pi and Docker together is for Swarm. Used together, they can create a computer cluster. With Swarm containers on a bunch of networked Raspberry Pis, you can build a powerful machine and explore how a Docker Swarm works. Alex shows you how in this video:

Docker Swarm mode Deep Dive on Raspberry Pi (scaled)

Get all the details @ http://blog.alexellis.io/live-deep-dive-pi-swarm/

You can follow along with Alex’s written tutorial as well. He has even taken it further by using Pi Zero’s USB gadget capabilities to create a tiny Docker Swarm:

Alex Ellis on Twitter

Look ma, no Ethernet! 8 core @Docker 1.12 swarm boom USB OTG @Raspberry_Pi @pimoroni

The Raspberry Pi already makes many computing tasks easier; why not add deploying remote applications to that list with Docker?

19 Comments

Call me Ishmael

“I write this sitting in the kitchen sink”. “It was the best of times, it was the worst of times”. “When Gregor Samsa woke one morning from troubled dreams, he found himself transformed right there in his bed into some sort of monstrous insect”. “It was the day my grandmother exploded”. The opening line of a novel can catch our attention powerfully, and can stay with us long after the book itself is finished. A memorable first line is endlessly quotable, and lends itself to parody (“It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains”). Sometimes, a really cracking first line can even inspire a group of talented people to create a unique and beautiful art object, with a certain tiny computer at its heart. 

IMG_5975

Stephanie Kent demonstrates the Call Me Ishmael Phone at ALA 2016

If you read the roundup of our trip to ALA 2016, you will already have caught a glimpse of this unusual Pi-powered project: the Call Me Ishmael Phone. The idea originated back in 2014 when founders Logan Smalley and Stephanie Kent were discussing their favourite opening lines of books: they were both struck by Herman Melville’s laconic phrase in Moby Dick and began wondering, “What if Ishmael had a phone number? What if you actually could call him?” Their Call Me Ishmael project began with a phone number (people outside the US can Skype Ishmael instead), an answering machine, and an invitation to readers to tell Ishmael a story about a book they love, and how it has shaped their life. The most interesting, funny, and poignant stories are transcribed by Stephanie on a manual typewriter and shared on social media. Here’s a playlist of some of the team’s favourites: 

Having created Ishmael’s virtual world, Stephanie and Logan collaborated with artist and maker Ayodamola Okunseinde to build the physical Call Me Ishmael Phone. Ayo took a commercially available retro-style telephone and turned it into an interactive book recommendation device. For the prototype, he used a Raspberry Pi 2 Model B, but the production model of the phone uses the latest Pi 3. He explains: “We have a USB flash drive connected to the Pi that holds audio files, configuration, and identification data for each unit. We also have a small USB-powered speaker that amplifies the audio output from the Pi”. The Pis are controlled by a Python script written by programmer Andy Cavatorta.

CMI-Phone-in-Shop_Steph_Andy_Ayo-min-min

Stephanie, Andy, and Ayo in the workshop

The phone can be installed in a library, bookshop, or another public space. It’s also loaded with a number of book reviews, some mapped to individual buttons on the phone, and some which can be selected at random. When a person presses the dial buttons on the phone, the GPIO pins detect the input, which triggers an audio file to play. If, during play, another button is pressed, the Pi switches audio output to the associated button. Hanging up the phone causes the termination of the audio file currently playing. The system consists of several units in different locations that have audio and data files pushed to them daily from a control server. The system also has an app that allows users to push and pull content from individual Pis, as well as triggering a particular phone to ring.

CMI-Phone-Avid-center-floor-stand-flush-right-min-min

The finished unit installed in a bookshop

The Call Me Ishmael Phone is a thoughtful project which uses the Raspberry Pi in a very unusual way: it’s not often that programming and literature intersect like this. We’re delighted to see it, and we can’t wait to see what uses for the Raspberry Pi the makers might come up with in future. And if you have a book which has changed your life, why not call Ishmael and share your story?

5 Comments

Begin your journey with Raspberry Pi in The MagPi 49

Rob here from The MagPi! 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

7 Comments