Overview of Raspberry Pi
After completing this course, students will be able to:
- Setup and operate the Raspberry Pi and Understand the basics of the Linux OS used on the Pi
- Understand the basics of the X Windows System (the GUI environment) and Program the Pi for a simple GUI-based game
- Program the Pi to access a network, to play audio, to control light emitting diodes (LEDs) attached to the GPIO pins, to get feedback from a switch connected to the GPIO pins, to get the temperature from a sensor connected to the GPIO pins and to detect room light from a photocell censor connected to the GPIO pins.
Duration
1 Day
Prerequisite for Raspberry Pi
- Labs have to be ready well in advance. No prerequisites for the class.
- Individuals that have some programming experience, and in particular Java programming experience, will find following the lab instructions more straight forward.
Course Outline for Raspberry Pi
Introduction
- Parts check
- Lab Guidance
- Warnings
- Resource Lists
Raspberry Pi Cabling/Setup/Startup
- Cable connections
- Preparing the SD card
- Install the operating system
- Explore the Linux OS
- Explore XWindows
Basic Programming of the Pi
- Hello World
- A GUI Game
- Access the World Wide Web
- Play audio
Control Peripherals with a Pi
- Control LEDs
- Get switch feedback
- Get the temperature
- Detect light
Raspberry Pi Starter Kit includes
- Raspberry Pi, Model B
- 4GB Flash SD Card
- Breadboard (a.k.a. protoboard)
- Pi Cobbler and cable (to attach a Pi to a breadboard)
- Collection of LEDs
- Temperature/humidity sensor
- Photocell sensor
- Momentary switch
- Collection of resistors
- Collection of connecting wires