Interfacing with the Raspberry Pi
Description
When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan .
- Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
- Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.
About this course: The Raspberry Pi uses a variety of input/output devices based on protocols such as HDMI, USB, and Ethernet to communicate with the outside world. In this class you will learn how to use these protocols with other external devices (sensors, motors, GPS, orientation, LCD screens etc.) to get your IoT device to interact with the real world. Most physical devices use analog signals; however computer hardware is digital so in this class you will learn how these signals are converted back-and-forth and how this must be considered as you program your device. The basic design of a sensor-actuator system will also be covered. You will also learn how to build more sophisticated…
Frequently asked questions
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan .
- Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
- Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.
About this course: The Raspberry Pi uses a variety of input/output devices based on protocols such as HDMI, USB, and Ethernet to communicate with the outside world. In this class you will learn how to use these protocols with other external devices (sensors, motors, GPS, orientation, LCD screens etc.) to get your IoT device to interact with the real world. Most physical devices use analog signals; however computer hardware is digital so in this class you will learn how these signals are converted back-and-forth and how this must be considered as you program your device. The basic design of a sensor-actuator system will also be covered. You will also learn how to build more sophisticated hardware systems using Raspberry Pi expansion boards to create fun and exciting IoT devices. Please note that this course does not include discussion forums.
Created by: University of California, Irvine-
Taught by: Ian Harris, Associate Professor
Department of Computer Science
每门课程都像是一本互动的教科书,具有预先录制的视频、测验和项目。
来自同学的帮助与其他成千上万的学生相联系,对想法进行辩论,讨论课程材料,并寻求帮助来掌握概念。
证书获得正式认证的作业,并与朋友、同事和雇主分享您的成功。
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.Syllabus
WEEK 1
Module 1
This module presents the use of the Raspberry Pi to connect to the Internet, from a user perspective. The first way to use the Raspberry Pi as a networked device is to use it as a general-purpose computer rather than as a programmed IoT device. Using networking with a Raspberry Pi in this way is similar to using the network from any Linux machine, and we present its use in this module. We also present the standard Internet protocols that must be understood in order to develop network programs.
10 videos, 4 readings expand
- 阅读: Pre-Course Survey
- 阅读: Course Overview
- 阅读: Module 1 Objectives
- 阅读: Module 1 Reading
- Video: Module 1 - Introduction (video)
- Video: Lecture 1.1 - Network
- Video: Lecture 1.2 - Secure Shell
- Video: Lecture 1.3 - SSH Client/Server
- Video: Lecture 2.1 - SSH Server
- Video: Lecture 2.2 - Network Programs
- Video: Lecture 2.3 - Internet Protocols
- Video: Lecture 3.1 - IP Addresses
- Video: Lecture 3.2 - Domain Names
- Video: Lecture 3.3 - Client/Server
Graded: Module 1 Quiz
Graded: TCP vs. IP: What's the Difference?
WEEK 2
Module 2
This module introduces the networking socket interface that is used to transfer data across the network programmatically. An essential aspect of the Internet of Things is for your IoT device to send and receive data on the Internet, and the socket interface is key to enabling that. We describe how to use socket in Python to act as both a client and a server.
9 videos, 2 readings expand
- 阅读: Module 2 Objectives
- 阅读: Module 2 Reading
- Video: Module 2 - Introduction (video)
- Video: Lecture 1.1 - Sockets
- Video: Lecture 1.2 - Sending Data
- Video: Lecture 1.3 - Exceptions
- Video: Lecture 2.1 - Server Code
- Video: Lecture 2.2 - Live Server
- Video: Lecture 2.3 - Internet Control
- Video: Lecture 3.1 - Python Client Demo
- Video: Lecture 3.2 - Python Server Demo
Graded: Module 2 Quiz
Graded: Write a simple web server on your Raspberry Pi
WEEK 3
Module 3
This module focuses on how to have your Raspberry Pi interact with online services through the use of public APIs and SDKs. Many interesting and useful services are available in the cloud and this module describes how to write code that accesses those services. We define what an Application Programming Interface (API) is and what a Software Development Kit (SDK) is. We present some API examples and we show the use of the Twitter API in detail using the Twython package.
11 videos, 2 readings expand
- 阅读: Module 3 Objectives
- 阅读: Module 3 Reading
- Video: Module 3 Introduction (video)
- Video: Lecture 1.1 - Network Libraries
- Video: Lecture 1.2 - Web Services
- Video: Lecture 1.3 - Public APIs
- Video: Lecture 2.1 - Twitter's API
- Video: Lecture 2.2 - Twitter Registration
- Video: Lecture 2.3 - Sending a Tweet
- Video: Lecture 2.4 - Sending a Tweet (Demo)
- Video: Lecture 3.1 - Twython Callbacks
- Video: Lecture 3.2 - Tweet Response
- Video: Lecture 3.3 - Responding to a Tweet (Demo)
Graded: Module 3 Quiz
Graded: Have your Raspberry Pi Search Twitter
WEEK 4
Module 4
In this module we show how to use the Raspberry Pi to interface with more complicated sensors and actuators. We explore the use of the Raspberry Pi camera module and the use of a servo. The Raspberry Pi camera module is used through the picamera library, which we describe. Servos are controlled by generating pulse width modulated signals and varying their pulse width using library functions.
9 videos, 3 readings expand
- 阅读: Module 4 Objectives
- 阅读: Module 4 Reading
- Video: Module 4 Introduction (video)
- Video: Lecture 1.1 - Camera Module
- Video: Lecture 1.2 - picamera Library
- Video: Lecture 1.3 - Capturing Images
- Video: Lecture 2.1 - Camera (Demo)
- Video: Lecture 2.2 - PWM on RPI
- Video: Lecture 2.3 - Servo Control
- Video: Lecture 3.1 - Servo Code
- Video: Lecture 3.2 - Servo (Demo)
- 阅读: End-of-Course Survey
Graded: Module 4 Quiz
Graded: Connect an LED to your Raspberry Pi
Share your review
Do you have experience with this course? Submit your review and help other people make the right choice. As a thank you for your effort we will donate $1.- to Stichting Edukans.There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.