The Raspberry Pi Platform and Python Programming for the Raspberry Pi

About this course: The Raspberry Pi is a small, affordable single-board computer that you will use to design and develop fun and practical IoT devices while learning programming and computer hardware. In addition, you will learn how to set up up the Raspberry Pi environment, get a Linux operating system running, and write and execute some basic Python code on the Raspberry Pi. You will also learn how to use Python-based IDE (integrated development environments) for the Raspberry Pi and how to trace and debug Python code on the device. Please note that this course does not include discussion forums.

Created by:  University of California, Irvine

  • Ian Harris
    Taught by:  Ian Harris, Associate Professor
    Department of Computer Science
Basic Info
How To PassPass all graded assignments to complete the course.
User Ratings
Average User Rating 4.5See what learners said
Module 1
This module describes the basic functionality the Raspberry Pi B+ board. I'll describe how to set up the board, configure it, and use it. An important point differentiating Raspberry Pi from the Arduino platform which we have talked about previously is that Raspberry Pi uses an operating system. I'll describe some of the implications of an operating system on the behavior of the Raspberry Pi as an IoT device.
10 videos4 readings
  1. Reading: Pre-Course Survey
  2. Reading: Course Overview
  3. Reading: Module 1 Objectives
  4. Reading: Module 1 Reading
  5. Video: Module 1 Introduction (Video)
  6. Video: Lecture 1.1 - Raspberry Pi Board
  7. Video: Lecture 1.2 - Raspberry Pi Processor
  8. Video: Lecture 1.3 - Raspberry Pi vs. Arduino
  9. Video: Lecture 2.1 - Operating System Benefits
  10. Video: Lecture 2.2 - Processes
  11. Video: Lecture 2.3 - Raspberry Pi IoT
  12. Video: Lecture 3.1 - Raspberry Pi Setup
  13. Video: Lecture 3.2 - Raspberry Pi Configuration
  14. Video: Lecture 3.3 - Overclocking
Graded: Module 1 Quiz
Graded: Module 1 Peer Assignment:
Module 2
The Raspberry Pi is typically installed with a Linux-based operating system, so we present the basics of Linux and its use. We describe some of the main features including navigating the file system and managing processes. We describe the text-based user interface through the shell and we overview the graphic user interface which is the default with the Raspian Linux distribution.
10 videos2 readings
  1. Reading: Module 2 Objectives
  2. Reading: Module 2 Reading
  3. Video: Module 2 Introduction (Video)
  4. Video: Lecture 1.1 - Linux Basics
  5. Video: Lecture 1.2 - Login
  6. Video: Lecture 1.3 - Linux Filesystem
  7. Video: Lecture 2.1 - Navigating the Filesystem
  8. Video: Lecture 2.2 - Text Editors
  9. Video: Lecture 2.3 - Accessing Files
  10. Video: Lecture 3.1 - Permissions
  11. Video: Lecture 3.2 - Processes
  12. Video: Lecture 3.3 - Linux Graphic User Interface
Graded: Module 2 Quiz
Graded: Module 2 Peer Assignment
Module 3
We present the basics of the Python programming language to prepare you for programming on the Raspberry Pi. Many languages can be used but Python is the most convenient for the Raspberry Pi because convenient APIs are provided for basic operations such as controlling the pins. Python is a powerful language with useful features that we will present so that you can use these features to control the Raspberry Pi.
10 videos2 readings
  1. Reading: Module 3 Objectives
  2. Reading: Module 3 Reading
  3. Video: Module 3 Introduction (Video)
  4. Video: Lecture 1.1 - Python on Raspberry Pi
  5. Video: Lecture 1.2 - Python Programming Environment
  6. Video: Lecture 1.3 - Python Expressions
  7. Video: Lecture 2.1 - Strings
  8. Video: Lecture 2.2 - Functions
  9. Video: Lecture 2.3 - Function Arguments
  10. Video: Lecture 3.1 - Lists
  11. Video: Lecture 3.2 - List Methods
  12. Video: Lecture 3.3 - Control Flow
Graded: Module 3 Quiz
Graded: Module 3 Peer Assignment
Module 4
In this module we describe how to communicate with devices through the pins of the Raspberry Pi. We examine the RPi.GPIO library which provides Python functions used to access the pins. We discuss how to set up the pins, apply digital voltages, and generate Pulse Width Modulated signals. We also describe the Tkinter Python library and show how it can be used to access pins through a graphic user interface.
10 videos3 readings
  1. Reading: Module 4 Objectives
  2. Reading: Module 4 Reading
  3. Video: Module 4 Introduction (Video)
  4. Video: Lecture 1.1 - General Purpose IO Pins
  5. Video: Lecture 1.2 - Protocol Pins
  6. Video: Lecture 1.3 - GPIO Access
  7. Video: Lecture 2.1 - General Purpose IO Pins
  8. Video: Lecture 2.2 - Pulse Width Modulation
  9. Video: Lecture 2.3 - Demo of a Blink
  10. Video: Lecture 3.1 - Graphic User Interface
  11. Video: Lecture 3.2 Tkinter Library
  12. Video: Lecture 3.3 - Interaction
  13. Reading: End-of-Course Survey
Graded: Module 4 Quiz
Graded: Module 4 Peer Assignment
How It Works
Each course is like an interactive textbook, featuring pre-recorded videos, quizzes and projects.
Help from Your Peers
Help from Your Peers
Connect with thousands of other learners and debate ideas, discuss course material, and get help mastering concepts.
Earn official recognition for your work, and share your success with friends, colleagues, and employers.
University of California, Irvine
Since 1965, the University of California, Irvine has combined the strengths of a major research university with the bounty of an incomparable Southern California location. UCI’s unyielding commitment to rigorous academics, cutting-edge research, and leadership and character development makes the campus a driving force for innovation and discovery that serves our local, national and global communities in many ways.

No comments:

Post a Comment