Interfacing with the Raspberry Pi

Product type

Interfacing with the Raspberry Pi

Coursera (CC)
Logo Coursera (CC)
Provider rating: starstarstarstar_halfstar_border 7.2 Coursera (CC) has an average rating of 7.2 (out of 6 reviews)

Need more information? Get more details on the site of the provider.

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…

Read the complete description

Frequently asked questions

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.

Didn't find what you were looking for? See also: .

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
Basic Info Course 5 of 6 in the An Introduction to Programming the Internet of Things (IOT) Specialization Commitment 4 weeks of study 2-4 hours/week Language English How To Pass Pass all graded assignments to complete the course. User Ratings 4.5 stars Average User Rating 4.5See what learners said 课程作业

每门课程都像是一本互动的教科书,具有预先录制的视频、测验和项目。

来自同学的帮助

与其他成千上万的学生相联系,对想法进行辩论,讨论课程材料,并寻求帮助来掌握概念。

证书

获得正式认证的作业,并与朋友、同事和雇主分享您的成功。

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


  1. 阅读: Pre-Course Survey
  2. 阅读: Course Overview
  3. 阅读: Module 1 Objectives
  4. 阅读: Module 1 Reading
  5. Video: Module 1 - Introduction (video)
  6. Video: Lecture 1.1 - Network
  7. Video: Lecture 1.2 - Secure Shell
  8. Video: Lecture 1.3 - SSH Client/Server
  9. Video: Lecture 2.1 - SSH Server
  10. Video: Lecture 2.2 - Network Programs
  11. Video: Lecture 2.3 - Internet Protocols
  12. Video: Lecture 3.1 - IP Addresses
  13. Video: Lecture 3.2 - Domain Names
  14. 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


  1. 阅读: Module 2 Objectives
  2. 阅读: Module 2 Reading
  3. Video: Module 2 - Introduction (video)
  4. Video: Lecture 1.1 - Sockets
  5. Video: Lecture 1.2 - Sending Data
  6. Video: Lecture 1.3 - Exceptions
  7. Video: Lecture 2.1 - Server Code
  8. Video: Lecture 2.2 - Live Server
  9. Video: Lecture 2.3 - Internet Control
  10. Video: Lecture 3.1 - Python Client Demo
  11. 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


  1. 阅读: Module 3 Objectives
  2. 阅读: Module 3 Reading
  3. Video: Module 3 Introduction (video)
  4. Video: Lecture 1.1 - Network Libraries
  5. Video: Lecture 1.2 - Web Services
  6. Video: Lecture 1.3 - Public APIs
  7. Video: Lecture 2.1 - Twitter's API
  8. Video: Lecture 2.2 - Twitter Registration
  9. Video: Lecture 2.3 - Sending a Tweet
  10. Video: Lecture 2.4 - Sending a Tweet (Demo)
  11. Video: Lecture 3.1 - Twython Callbacks
  12. Video: Lecture 3.2 - Tweet Response
  13. 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


  1. 阅读: Module 4 Objectives
  2. 阅读: Module 4 Reading
  3. Video: Module 4 Introduction (video)
  4. Video: Lecture 1.1 - Camera Module
  5. Video: Lecture 1.2 - picamera Library
  6. Video: Lecture 1.3 - Capturing Images
  7. Video: Lecture 2.1 - Camera (Demo)
  8. Video: Lecture 2.2 - PWM on RPI
  9. Video: Lecture 2.3 - Servo Control
  10. Video: Lecture 3.1 - Servo Code
  11. Video: Lecture 3.2 - Servo (Demo)
  12. 阅读: End-of-Course Survey

Graded: Module 4 Quiz
Graded: Connect an LED to your Raspberry Pi
There are no reviews yet.

    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.