Confirm Download

Simultaneous file downloading works best in FireFox, Chrome, and Safari browsers. Please keep this window open until all downloads are complete. Some customers prefer using file download managers for Chrome or Firefox to better manage large and multiple file downloads.

Cancel Download

Raspberry Pi Cookbook Videos

      • 00.00 Introduction  (Free)

        Simon Monk tells you what is in store as you take a journey through these recipes that bring your Raspberry Pi to life.
      • 00:00:53

      • 08.04 Setting up I2C

        Learn how to set up I2C on your Raspberry Pi. (If you are using Adafruit Occidentalis 0.2 or later then you most likely can skip this recipe.)
      • 00:02:31

      • 08.05 Using I2C Tools

        Now that you have an I2C device attached to your Raspberry Pi, find out how do you check that it is attached correctly and find its I2C address.
      • 00:02:57

      • 08.06 Setting up SPI

        Find out how to set up an SPI (serial peripheral interface) bus with your Raspberry Pi.
      • 00:04:13

      • 09.12 Programming with Interrupts

        Learn to use the add-event-detect function of the RPi.GPIO library to respond to an event such as a button push without having to continually poll the input pin to see if its state has changed.
      • 00:04:21

      • 11.02 Toggling with a Push Switch

        Record the last state of the button and invert that value each time the button is pressed to create a push switch that toggles between on and off each time you press it.
      • 00:06:13

      • 11.05 De-bouncing a button press

        Sometimes when you press the button on a switch, the expected action happens more than once, because the switch contacts bounce. In that case, you want to write code to de-bounce the switch.
      • 00:02:48

      • 11.09 Detecting Movement

        Use a PIR (passive infrared) motion detector module to trigger some action in Python when movement is detected.
      • 00:02:43

      • 12.04 Measuring a Voltage

        The Raspberry Pi GPIO connector has only digital inputs, so in order to measure a voltage, you need to use a separate analog-to-digital converter (ADC).
      • 00:08:14

      • 12.06 Using Resistive Sensors with an ADC

        Use a potential divider with one fixed resistor and the resistive sensor to convert the resistance of the sensor into a voltage that can be used with an MCP3008 ADC chip.
      • 00:02:29

      • 13.01 Using a 4-Digit LED Display

        Use an I2C LED module attached via a breadboard to a Raspberry Pi to display a four-digit number in an old-fashioned, seven-segment LED display.
      • 00:04:44

      • 13.03 Using Pi-Lite

        Fit a Pi-Lite onto the GPIO port of your Raspberry Pi, and write a Python program to send it messages to display over the serial connection.
      • 00:04:51

      • 14.05 Using PyFirmata with TTL Serial

        Use a level converter to connect the RXD pin of the Raspberry Pi to the TX pin of the Arduino, and the TXD pin of the Raspberry Pi to the Rx pin of the Arduino.
      • 00:06:12

Raspberry Pi Cookbook Videos

  • Publisher: O'Reilly Media
  • Released: December 2013
  • Run time: 5 hours 42 minutes

The world of Raspberry Pi is evolving quickly, with many new interface boards and software libraries becoming available all the time. In this video, prolific hacker and author Simon Monk introduces more than 60 practical recipes for running this tiny low-cost computer with Linux, programming it with Python, and hooking up sensors, motors, and other hardware—including Arduino.

: You’ll also learn basic principles to help you use new technologies with Raspberry Pi as its ecosystem develops. Python and other code examples from the book are available on GitHub. This cookbook is ideal for programmers and hobbyists familiar with the Pi through resources such as Getting Started with Raspberry Pi (O’Reilly).

  • Program Raspberry Pi with Python
  • Control hardware through the GPIO connector
  • Use Raspberry Pi to run different types of motors
  • Work with switches, keypads, and other digital inputs
  • Hook up sensors for taking various measurements
  • Attach different displays, such as an LED matrix
  • Create dynamic projects with Raspberry Pi and Arduino