Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Raspberry Pi Projects for Kids (Second Edition)
Raspberry Pi Projects for Kids (Second Edition)

Raspberry Pi Projects for Kids (Second Edition): Leverage the power of programming to use the Raspberry Pi to create awesome games

eBook
$14.99 $21.99
Paperback
$26.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Table of content icon View table of contents Preview book icon Preview Book

Raspberry Pi Projects for Kids (Second Edition)

Chapter 1. Getting Started with Raspberry Pi

In the mid-2000s, some of the staff at the University of Cambridge noticed that there were fewer students applying to study computer science each year, and that they didn't have very much experience. Something had to be done about this situation. The answer was the Raspberry Pi: a small, inexpensive computer which makes programming as accessible and as fun as possible. The idea is that students can play with the Raspberry Pi in their spare time, and in the process, learn valuable core computer science skills. Since its creation, many other groups have discovered how useful the Raspberry Pi can be, including schools, adults who want to brush up on their skills with technology, and electronics hobbyists.

This chapter describes how to get a Raspberry Pi computer up and running. Once this is done, the Pi behaves just like any other ordinary computer, and is capable of standard tasks, such as browsing the web and playing games. We will learn in later chapters that the Raspberry Pi is also capable of some things which ordinary computers can't easily do.

The following image shows an example of the Raspberry Pi that we will be using in the rest of the book:

Getting Started with Raspberry Pi

Materials needed

Any model of the Raspberry Pi will work for the projects used in this book. The preceding image shows a Raspberry Pi Model B+, with four USB ports and a network connection. The Model A+ (with one USB port and no network connection) will also work, but a USB hub (which is described later) will be needed to allow both a keyboard and mouse to be used at the same time.

The Models A+ and B+ replace the older Models A and B, and have the same capabilities, but neater designs. You can identify the Plus models by looking at the mounting holes surrounded by metal. The Plus (+) models have four mounting holes in a rectangle, whereas the previous models have two or zero mounting holes. In the preceding image, two mounting holes are in the corners at the left end of the board, and the other two mounting holes are on the mid-right of the board.

The Raspberry Pi 2 looks almost the same as Model B+, but has a faster processor. This is not important for the projects in this book. Along with a Raspberry Pi computer, you will need other peripherals. In order to keep costs down, the Raspberry Pi was designed to work with devices that people already owned; you may find many of these components around your house already. Just make sure they're not in use before you take them!

Tip

http://elinux.org/RPi_VerifiedPeripherals is a useful website to check whether a particular device will work with the Raspberry Pi.

Power supply

The Raspberry Pi requires a micro-USB connection, which is capable of supplying at least 700 mA (or 0.7A) at 5V. Power supplies, which can give 1000 mA or more are available (and will be more reliable), but it must supply exactly 5 V. Most standard mobile phone chargers are suitable for this purpose, and have their capabilities written on them, so you can check. Do not attempt to power your Pi from the USB port of another computer or hub; they are often incapable of supplying the required current.

Power supply

Storage

The operating system and files of Raspbian are stored on an SD card, which is similar to what you may find in a digital camera. The Raspberry Pi models A and B use a standard-sized SD card, while the A+, B+ and Pi 2 models use smaller microSD cards. You will need at least 4 GB of space (preferably 8 GB or more). The Raspberry Pi Foundation sells very affordable 8 GB SD cards with the operating system pre-installed, and these can be found at http://swag.raspberrypi.org/.

If you start with a blank SD card, you will also need a way of writing to it from another computer. Many computers have SD writers built in, but it is possible to buy USB dongles which do the job too.

Storage

Input

For inputs, we will use a USB keyboard and mouse:

Input

Keyboard

Input

Mouse

Video

We will use a monitor or a television with HDMI or DVI input, and a video cable connected from the Pi's HDMI port to the screen's input, as shown in the following figures. It is possible to connect to an older VGA or composite screen, but this is more complicated. Take a look at this website more information http://elinux.org/RPi_VerifiedPeripherals.

The following images show the display monitor and cables that you might use to connect the Pi to your monitor:

Video

Monitor

Video

DVI connector

Video

HDMI connector

Network

An Internet connection is not essential, but is very useful as it allows you to do more work directly on the Pi. The easiest approach is to use a wired Ethernet connection.

The following image shows an Ethernet connector that is used to connect the Pi to the Internet:

Network

RJ-45 Ethernet Connector

It is also possible to use a USB Wi-Fi dongle—you will need a powered USB hub to provide additional USB ports, and you should check whether the dongle is compatible with a Linux operating system. The following image shows an USB hub (unpowered):

Network

USB multi-port hub

You may also like to put your Raspberry Pi in a case to protect it, though this is certainly not necessary. There are many different companies which make different styles of cases, so choose one that suits you, or you could even make your own from Lego or cards!

Preparing the SD card

The first thing we need to do is put an operating system on the SD card using another computer. You can buy SD cards with software preinstalled, but doing it yourself guarantees to get you the latest updates, and is also a useful learning experience. These instructions assume that you are using a computer running Microsoft Windows or Mac OS X. If you are using another operating system, or if you are having difficulties in setting up the SD card, detailed instructions are available online at http://www.raspberrypi.org/downloads.

There is a Troubleshooting section at the end of the chapter if you get stuck.

The following steps show how you can install the OS on your Raspberry Pi:

  1. Download the SD association's formatting tool, SD Formatter, from: http://www.sdcard.org/downloads/formatter_4/.
  2. Download the latest version of the NOOBS (the offline installation) operating system collection from http://www.raspberrypi.org/downloads.

Insert the SD card into the SD card writer, as shown:

Preparing the SD card
  1. If the SD card writer is separate from your computer, plug it in.
  2. Install and run SD Formatter. Select the SD card you just inserted, click on Option, then set FORMAT SIZE ADJUSTMENT to ON and click on OK. In this example, the SD card is shown as the G drive, but this will vary from computer to computer. Finally, click on Format.

    Note

    Make absolutely sure that you have the right SD card selected. If it isn't, all the data will be lost from the formatted card.

    The following screenshot shows the SD Formatter software:

    Preparing the SD card
  3. Extract the contents of the NOOBS zip file to the SD card. How this is done will vary depending on the software you have installed, but will typically involve double-clicking on NOOBS.zip, clicking on Extract or Extract to..., and selecting the SD card as the destination. There is a lot to extract, so this will take a few minutes to complete.
  4. On your taskbar (close to the clock) click on Safely remove/Eject the SD card and take it out of the SD writer, as shown here:
    Preparing the SD card

Starting up the Raspberry Pi

Now, we can prepare the Raspberry Pi to start for the first time. Place it securely on a desk or in a case. Make sure it is not in danger of falling on the floor, and do not rest it on top of the bag in which it comes. We can start up the Raspberry Pi by performing these steps:

  1. Plug the SD card, screen, keyboard, and mouse into the Raspberry Pi. Also, plug in the Ethernet cable, if you have one, as shown here:
    Starting up the Raspberry Pi
  2. Plug the power cable into the Raspberry Pi. The red power light should come on, and the green activity light should flash occasionally.
  3. If necessary, adjust the screen settings to display the images from the Raspberry Pi's input.
  4. You should see a selection of operating systems for you to install (shown in the following screenshot), each with a short description. This book relies on you having Raspbian installed, so select Raspbian and click on Install. You can always come back and select a different operating system later; I will explain how you can do this in the next section.
    Starting up the Raspberry Pi
  5. Wait! Operating systems are quite large, so installation will take a few minutes. You can sit back and read some of the tips shown to you, or read the next few steps in this book.

    The following screen shows the Raspbian installation process, along with the tips shown while its being installed:

    Starting up the Raspberry Pi
  6. When the installation has finished, you should see a blue screen with a final list of options (shown in the following screenshot). This is the Raspberry Pi Software Configuration Tool. Most things should be set up the way we want them, but there are two useful settings to change. Select Enable Boot to Desktop/Scratch using the arrow keys and press Enter. Select the Desktop Log in option, and press Enter. You should now be back at the main menu. Next, select Internationalisation Options, and choose your preferred language and keyboard layout. Use the right arrow key to get to Finish and press Enter. You can return to this menu at any time by typing sudo raspi-config in a command line (refer to the next section for details):
    Starting up the Raspberry Pi
  7. After a minute or so, the Raspberry Pi should finish rebooting, and you should see the Raspberry Pi desktop, as shown in the following screenshot. This might look familiar to you: you can double-click on the icons to start programs, or select them from a menu. We will mainly be using Scratch, Python and Sonic Pi in this book, but take a minute to explore what's available to you. In particular, there are several Python Games: these are the sort of things that are possible to develop after a little programming practice:
    Starting up the Raspberry Pi

Using your Raspberry Pi

Now that your Raspberry Pi is up and running, you'll want to know how to keep it working properly, and how to customize it to your needs.

The command line

Most of the time, it will be possible to do what you want to do using the mouse, by clicking on different parts of the screen, but at some point, you might find yourself needing to use the command line, as shown in the following screenshot:

The command line

The command line is a completely text-based way to control a computer, and can be used to do just about anything which can be done by clicking and more. It is available on almost all computers, but is usually hidden away. Some computer users prefer using the command line because they can type faster than they can click the mouse!

Here is a very quick overview of some common commands. Open a command line by double-clicking on the LXTerminal icon on the desktop, and try these out. You will need to press Enter to tell the Raspberry Pi that your command has finished. A longer introduction, including information on how to watch a movie in the command line, can be found online at http://www.techradar.com/news/computing/pc/1161712.

The following are few of the most important commands that are used in LXterminal:

  • ls (list): This command lists directory contents (directory is Linux's word for a folder.) This will show you all of the files and directories available to you in the current directory.
  • cd <folderdirectory name> (change directory). This command allows you to move into another directory so you can see its contents, in the same way that double-clicking on a directory icon moves you into that directory. You can move through multiple levels of directories in one go by separating the folder directory names with a "/", and you can go up to the parent directory (the directory that contains the current directory) using the special .. directory name.
  • man <program name> (open manual): This command will bring up lots of information about a particular program, including what it does and how to use it. Very useful if you forget how to use something! Try man ls to see some advanced information on the ls program we tried earlier, and press Q on the keyboard to quit. You can scroll through this information using the arrow keys or the Space Bar.
  • <program name> (extra information): This is used to start the program, and optionally pass it some extra information. Try typing in scratch to start the Scratch program (we'll cover this in more detail in the next chapter), or if you are connected to the Internet, go to epiphany www.raspberrypi.org to open the Epiphany web browser and then go straight to the Raspberry Pi home page.

    Note

    The Tab key can be used to automatically complete a word. Even if you have not completely finished typing in the name of a program or file or folder, try pressing Tab. If there is only one option available, which begins with the letters you have typed so far, the whole word will be completed for you. If there are multiple options (or none), nothing will change; you can press Tab again to show you a list of possibilities.

Updating and installing new software

If you want to install a program on your Raspberry Pi, you either need to download a version which is specifically for the Raspberry Pi, or use Raspbian's package system.

A package is a program or a part of a program, and many versions of Linux (including Raspbian) maintain a list of all the compatible packages, making it easy to keep all your software up to date. You can update to the latest version of this list if you have an Internet connection, by typing the following command in a command line:

sudo apt-get update

Note

Be very careful when using the sudo command. It forces the Raspberry Pi to do exactly what you tell it to do, without checking to make sure that the command is sensible. The command is useful in situations like this, where we want to make changes to the installed programs, but it also allows you to delete essential files. Double-check your spelling before continuing.

You can search for available packages with keywords using the following command:

apt-cache search <keywords>

Try the following command, for example, to see a list of available free games. You could even try installing one (xbubble is good, for example):

apt-cache search game

The name of the package is the first word of the line, and you can install a package using the following command:

sudo apt-get install <package name>

To update all the installed packages to the latest available version, type the following command:

sudo apt-get upgrade

Other uses of the Raspberry Pi

Although the Raspberry Pi was designed to get people interested in computing, its cost and power mean that it is also popular for other reasons. Since the Raspberry Pi is a general-purpose computer, it is capable of everything a traditional computer can do, just perhaps a little slower. There is a web browser (Epiphany), and word processors and web servers are available in the Pi that helps you with the basic computing needs . A common use for Raspberry Pi is as a media center, to watch films and view pictures.

There are many different operating systems included with the NOOBS package: if you have NOOBS installed, you can see them if you press Shift when the Raspberry Pi first starts to boot; you will get a screen similar to this:

Other uses of the Raspberry Pi

This will take you back to the list of operating systems you saw earlier when you started your Raspberry Pi for the first time. Each operating system comes with a short description: there are a couple of different flavors of Linux, the very fast RISC OS, and two different media centers, OpenELEC and RaspBMC.

If you want to try out one of these operating systems, make sure you first back up all your data, as it will be erased when the new operating system is installed.

Troubleshooting common issues

One of the main strengths of the Raspberry Pi is its fantastic community. If you ever have any difficulties, consider stopping by the Raspberry Pi forums, which can be found at http://www.raspberrypi.org/forum/. Your question may have already been asked, and if not, there are thousands of enthusiastic Pi owners on hand to help. Some of the most common issues are covered here:

  • My Raspberry Pi doesn't boot (only the red power light comes on): this suggests that the SD card was not written correctly. Try following the instructions again to copy an OS image onto your SD card, and if this fails, try a new SD card.
  • My Raspberry Pi randomly restarts by itself: this is usually because the Pi is not receiving enough power. Double-check that your power supply is capable of supplying at least 700 mA (0.7A) at 5V. This should be written on the supply somewhere. Perhaps, try upgrading to a 1000 mA (1.0A) supply if you continue to have problems.

    Also make sure that you do not have particularly power-hungry peripherals plugged into your Raspberry Pi. Some Wi-Fi dongles and keyboards with extremely bright LEDs can cause problems, for example.

  • I can't enter my password on the login screen: nothing is shown when the password is entered (not even stars) to minimize the information that others can gain from seeing the screen. It is likely that the keys are still being recognized: try typing in the whole password blindly and pressing Enter.
  • The display does not fill my screen or extends beyond the edges: this is because of the overscan settings. Many old televisions had cabinets which overlapped part of the screen, so images were given black borders to ensure that none of the picture was lost. Many modern monitors do not have this problem, however, so the black bars are just a nuisance. First, try enabling or disabling overscan by typing sudo raspi-config in a command line and selecting the appropriate option. If this still does not work, search the Internet for Raspberry Pi overscan troubleshooting for detailed guides.
  • I can't see anything at all on the screen: if the Pi is definitely on, and the OK/ACT light is lit or flashing, try pressing 1, 2, 3, or 4 on your keyboard to select different video modes.
  • My keyboard is behaving strangely: some wireless keyboards occasionally do not work as expected, for example, by registering double key presses or not noticing a key press at all. This should be fixed in the future by software updates, or you can always try another keyboard if you have one.

Summary

In this chapter, we learned how to connect a Raspberry Pi computer, write its operating system to an SD card, and initiate all its components. We learned that the Raspberry Pi is capable of everything a normal computer can do (and more), and that it is targeted at programming.

In the next chapter, we will use one of the provided programming languages, such as Scratch, to create our own animations.

Left arrow icon Right arrow icon

Description

This book is for kids who wish to develop games and applications using the Raspberry Pi. No prior experience in programming is necessary; you need only a Raspberry Pi and the required peripherals.

Who is this book for?

This book is for kids who wish to develop games and applications using the Raspberry Pi. No prior experience in programming is necessary

What you will learn

  • Gear up to start programming by setting up the Raspberry Pi and taking a tour of available applications
  • Understand the fundamentals of programming and electronics using the Raspberry Pi
  • Use the Linux operating system and programming languages such as Scratch and Python to build interesting projects
  • Gain a basic understanding of how the Python programming language works by writing simple programs
  • Build a fully functioning game and explore how to modify it to create new levels
  • Create animations and music to make your games and applications more exciting
  • Make computer code interact with the physical world
  • Add markers to your personal mapping program
  • Get an understanding of Sonic Pi, and discover how to use it to create your own music
Estimated delivery fee Deliver to Egypt

Standard delivery 10 - 13 business days

$12.95

Premium delivery 3 - 6 business days

$34.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 28, 2015
Length: 146 pages
Edition : 1st
Language : English
ISBN-13 : 9781785281525
Vendor :
Raspberry Pi
Category :
Languages :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Estimated delivery fee Deliver to Egypt

Standard delivery 10 - 13 business days

$12.95

Premium delivery 3 - 6 business days

$34.95
(Includes tracking information)

Product Details

Publication date : Apr 28, 2015
Length: 146 pages
Edition : 1st
Language : English
ISBN-13 : 9781785281525
Vendor :
Raspberry Pi
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 93.97
Raspberry Pi Projects for Kids (Second Edition)
$26.99
Python Projects for Kids
$38.99
JavaScript Projects for Kids
$27.99
Total $ 93.97 Stars icon

Table of Contents

8 Chapters
1. Getting Started with Raspberry Pi Chevron down icon Chevron up icon
2. Animating with Scratch Chevron down icon Chevron up icon
3. Making Your Own Angry Birds Game Chevron down icon Chevron up icon
4. Creating Random Insults Chevron down icon Chevron up icon
5. Testing Your Speed Chevron down icon Chevron up icon
6. Making an Interactive Map of your City Chevron down icon Chevron up icon
7. Building Beats with Sonic Pi Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4
(5 Ratings)
5 star 60%
4 star 20%
3 star 20%
2 star 0%
1 star 0%
Amazon Customer Oct 10, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
[Disclaimer & Explanation] I reviewed this book in MagPi magazine #35 - appreciating its concise and concentrated introduction to programming via the Pi, and recommend it for confident learners - or those with a knowledgable parent to call upon for occasional help. The review is reproduced below (like all of MagPi, it's available under CC-by-SA terms)."The Raspberry Pi exposes programming software to make it as easy as possible to get started," says Bates in his preface. After a chapter on getting set up with the Pi, the book launches into trying out programming through six mini projects, starting with the excellent Scratch visual programming language: first to do some animation, with programming concepts – and the power and freedom of programming – introduced as a natural part of learning the animation procedure; then an Angry Birds clone, that includes physics (gravity and bouncing), scoring, and a chance to add in your own extensions.Python is next, with a random insults generator - always a popular bit of fun - which introduces list handling and functions. Then a connection to the physical world: first through an excellent DIY game controller for a speed test game, then with Google maps and tkinter to look at your neighbourhood. Lastly, an introduction to music making with software, through SonicPi.All in all this software focussed introduction gives a quicker starting path than many of the more maker-oriented Pi books, which themselves would make an ideal follow on. After working through Bates's readable and friendly guide, any child will know a surprisingly large amount of core programming skills, as well as a thirst for more. Recommended.
Amazon Verified review Amazon
Eagleeye Jul 11, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
good book
Amazon Verified review Amazon
Jaume Aragay Badia Oct 08, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book begins with the installation process of the operating system on the memory card and also a list of the most common difficulties and their solution. On all the chapters the text offers the basic information needed but also links external references for extra information on the topics covered.After the Raspberry Pi is working properly, we meet Scratch, a graphic language that allows you to make your first programs assembling graphic blocks like with LEGO. This way you don't have to care about writing code properly. There is no code to write, you just assemble the orders to form a program. With Scratch you begin with simple animations and after that you make your own Angry Birds Game.On the next chapter you use Python. Python is a language with an easy syntax that has much more possibilities that Scratch. You will use structures like IF-ELSE to make branches in your programs to reach new heights in your programming skills. Then you use a physical controller to interact with the Raspberry Pi board to broaden even more the possibilities.After that you interact with external resources like Google Maps to make an interactive map of your city.The last chapter moves in a different direction to use Sound in the Raspberry Pi to see new opportunities.As I said before, this book is great for introduction to the possibilities of the Raspberry Pi board and also offers branches to new sources of information to broaden the knowledge on the topic. Very clearly written and explained.
Amazon Verified review Amazon
Gopinath Palaniappan Oct 09, 2015
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I had a couple of older versions of Raspberry Pi's lying around. I was wondering if I could let my 11yr old tinker with dad's favorite inexpensive SBC. Thanks to +Packt Publishing and +Fahad Siddiqui for some great books to help bootstrap the kid. Here's my review of the books.Raspberry Pi Projects for Kids - Second Edition"Leverage the power of programming to use the Raspberry Pi to create awesome games"Author: Daniel BatesAs the name suggests, its a book for kids. You don't need any prior experience to use the book. Hence its perfect for a kids new to Raspberry Pi. You do need a Raspberry Pi to enjoy all the hardware projects, but I realized after reading the book that it does a decent job introducing kids to Scratch and Python. In fact you don't need the Raspberry Pi for the first 4 chapters. You can learn Scratch and Python programming without it.Here's a rough breakdown of the chapters:* C1 : Includes basic setup of Raspberry Pi, installation of software on Raspberry Pi* C2 : Introduces Scratch programming* C3 : You make your own Angry Birds game in Scratch* C4 : Introduces you to Python* C5 : Make your own game controller and program it using Python* C6 : GUI application, Google maps* C7 : Sonic Pi application to teach musicI let my kid read the book. Since he was already familiar with Scratch, it was easy for him to zip thru till Chapter3. He kind of got lost in the middle of Chapter4. The paradigm shift into a non visual programming language was like a jolt for him. There was nothing to drag and drop. Too many concept to grasp in one sitting.I asked him to skip the chapter to the next. Chapter 5 started of interestingly with building of a game controller with some handy office supplies. My son was exited to create his own version using play-dough and some conducting tape. But he didn't have the patience to work on the code. I jumped in and filled in to get the project working.We skipped Chapter6 as well and moved on to another favorite part of the book, to create music with code. My son goes to Piano classes and recently figured out how to play STAR WARS theme song. He was so exited to code that into Sonic Pi and hear his favorite music play.Over all it was a fun experience. It even included code samples on Packt Publishing website. On the positive side, its exactly what I needed a quick jumpstart for my kid. On the downside, I wish it had a little more hands-on with Raspberry Pi hardware, rather than focus on software alone. The later chapters were also hard for my son to follow along. But thats a good thing..it will be something he can revisit in an year and find it fun to work on.I would highly recommend this book to anyone looking to get your kids jumpstarted on programming or getting introduced to hardware. For $35 Raspberry Pi is an affordable way to let your kid introduced to computers...let them tinker and make mistakes.. thats how they learn and thats how I learned growing up.Link to the books:http://www.amazon.com/dp/1785281526 [$11.99 kindle/$24.99 print]https://www.packtpub.com/hardware-and-creative/raspberry-pi-projects-kids-second-edition [$19.99 ebook/$24.99 print]
Amazon Verified review Amazon
MRL Oct 09, 2015
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
The first chapter of the book follows a tradition of other Pack books about Raspberry Pi and describes the system and how to set it up.In the second chapter, the author introduces the main programming language featured in the book: Scratch.This chapter represents a good introduction to the language and to program a simple animation, while the next one goes deeper on the language, using another game as an example.The fourth chapter deals with Python. I must admit that, in my opinion, this chapter aims to cover too many subjects at once. It might prove to be difficult for the reader to absorbe all the information provided.But if the reader manages to keep up with everything, there are a lot of useful examples and all the main features of Python are discussed.In the fifth chapter, the user is guided through creating a game that is programmed in Python, and the author shows how to create a simple game controller, building it from scratch.After this, there’s a chapter that focuses on using Google Maps inside a Python program and teaches how to personalize a program adding buttons and other widgets to it.The last chapter focuses on how to play notes and songs using Sonic Pi. Readers will understand how to do it via simple commands, writing a program that acts as a complete composer.The entire book is full of really interesting examples, but I am under the impression that it shows the readers the pros and cons of different technologies without going deeper in any of them. A little more that 120 pages can’t be enough to discuss all the fascinating topics mentioned in the book.The book doesn’t seem to be suitable for kids, but it would be a good choice for parents who want to learn to program captivating games, maybe to share them with their children.In this way, it can be wonderful choice, but if you want to continue to program games, you are bound to need further reading, at least about Scratch and Python.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela