Interfacing with the Raspberry Pi

所在平台: Coursera

课程主页: https://www.coursera.org/learn/raspberry-pi-interface

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:与树莓派接口 概述:树莓派利用各种基于HDMI、USB和以太网的输入/输出设备与外界通信。在本课程中,您将学习如何使用这些协议与其他外部设备(如传感器、电机、GPS、方向感应、LCD屏幕等)进行交互,以实现物联网设备与现实世界的互动。大多数物理设备使用模拟信号,而计算机硬件是数字的,因此您将学习这些信号如何进行双向转换,以及在编程时如何考虑这些因素。课程还将涵盖传感器-执行器系统的基本设计。您还将学习如何使用树莓派扩展板构建更复杂的硬件系统,从而创建有趣且令人兴奋的物联网设备。请注意,本课程不包含讨论论坛。 课程大纲: 模块 1:本模块介绍从用户的角度使用树莓派连接互联网。树莓派作为网络设备的一种使用方式是作为通用计算机,而不是编程的物联网设备。本模块将展示如何像使用任何Linux机器一样使用树莓派进行网络联网。同时介绍开发网络程序所需理解的标准互联网协议。 模块 2:本模块介绍了用于在网络上以程序化方式转移数据的网络套接字接口。物联网的一个关键方面是您的物联网设备能够在互联网上发送和接收数据,而套接字接口是实现这一功能的关键。我们说明如何在Python中使用套接字来充当客户端和服务器。 模块 3:本模块重点介绍如何通过公共API和SDK使树莓派与在线服务进行交互。云中有许多有趣且实用的服务,本模块描述如何编写代码来访问这些服务。我们定义了什么是应用程序编程接口(API)和软件开发工具包(SDK),并展示了一些API示例,详细讲解了如何使用Twython库访问Twitter API。 模块 4:在本模块中,我们展示如何使用树莓派与更复杂的传感器和执行器进行接口。我们探索树莓派摄像模块的使用,以及伺服电机的控制。树莓派摄像模块通过picamera库使用,我们对此进行了描述。伺服电机通过生成脉冲宽度调制信号来控制,并使用库函数变化其脉冲宽度。

课程大纲

Name:Module 1

Description: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.

Name:Module 2

Description: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.

Name:Module 3

Description: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.

Name:Module 4

Description: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.

课程评论(0条)

课程详情

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.

课程标签

0人关注该课程

主题相关的课程