The Arduino Platform and C Programming

所在平台: Coursera

课程主页: https://www.coursera.org/learn/arduino-platform

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Arduino平台与C编程 课程概述: Arduino是一个开源的计算机硬件/软件平台,旨在构建能够感知和控制周围物理世界的数字设备和互动对象。在本课程中,您将学习Arduino平台的工作原理,包括物理主板、库和集成开发环境(IDE)。您还将了解“扩展板”,这些较小的电路板可以插入主Arduino板,执行感测光线、温度、GPS追踪或提供用户界面显示等其他功能。课程还将介绍如何使用C代码编程Arduino,并通过软件访问主板上的引脚以控制外部设备。请注意,本课程不包括讨论论坛。 完成本课程后,您将能够: 1. 概述Arduino开发板的组成 2. 描述对板的固件进行编程的含义 3. 阅读电路板原理图 4. 安装Arduino IDE 5. 描述“扩展板”的定义及其用法 6. 指定库在扩展板使用中的角色 7. 编译并运行程序 8. 命名C语言变量及类型 9. 命名常见C语言运算符 10. 使用条件语句和循环 11. 解释函数的定义与调用 12. 说明全局变量的影响 13. 进行Arduino构建过程 14. 描述IDE背后的工具角色 15. 解释如何在类中调用函数 16. 解释Arduino草图的结构 17. 访问Arduino的引脚 18. 区分数字引脚和模拟引脚 19. 调试嵌入式软件 20. 解释可控性与可观察性在调试过程中的重要性 21. 描述嵌入式系统的常见调试架构 22. 解释UART串行通信协议的工作原理 23. 描述Arduino串行库如何进行串行通信 课程大纲: 1. **Arduino环境**: 介绍Arduino环境,包括Arduino板、Arduino IDE和Arduino兼容的扩展板及其库。讨论主板的主要组件、输入和输出,查看电路板原理图,安装和使用Arduino IDE,并探讨扩展板的功能及其库的作用。 2. **C编程**: 介绍C编程语言的基础知识,包括基本语法、变量和类型,常见的C运算符,条件语句(if、switch)和循环(while、for),函数的定义与调用,以及全局变量的创建与使用。 3. **Arduino程序**: 介绍Arduino程序(或称草图)的组成,以及其编译与上传过程。概述Arduino IDE的使用,描述草图的基本结构,包括setup()和loop()函数,以及如何通过草图访问Arduino引脚。 4. **模块4**: 介绍在Arduino上调试嵌入式软件的基本要求:可控性和可观察性。描述如何使用UART通信协议来增强调试能力,并介绍如何利用串行库通过串行监视器与Arduino进行通信。

课程大纲

Name:Arduino Environment

Description:This module provides an introduction to the Arduino environment which is composed of three things: the Arduino board, the Arduino IDE, and the Arduino-compatible shields together with their libraries. We first investigate the board, discussing all of its main components, inputs, and outputs. We discuss how each component is used and we examine the board schematic to see how they are connected. We then discuss the Arduino Integrated Development Environment (IDE) which is used primarily to write, compile, and upload code. We survey the interface of the IDE and discuss how to install and use it. We also examine the use of shields to extend the functionality of an Arduino-based system. We discuss how shield libraries provide a useful abstraction to facilitate programming.

Name:C Programming

Description:This module covers the basics of the C programming language which will be used to write code for the Arduino. The course first covers basic syntax, variables, and types. Most of the basic C operators are presented. Conditional statements (if, switch) and loops (while, for) are described. The concept of functions is presented together with how to define and call functions. Creation and use of global variables is explained.

Name:Arduino Programs

Description:This module describes the composition of an Arduino program, or sketch, and the process by which it is compiled and uploaded. The Arduino IDE is a user interface for the software tools which actually compile and upload the program. We outline the use of these tools in the build process. We describe the basic structure of a sketch, including the use of the setup() and loop() functions. The main interface of an Arduino is through its pins, so we describe how to access those pins from a sketch.

Name:Module 4

Description:This module is an introduction on debugging embedded software on an Arduino. We discuss the basic debugging requirements: controllability and observability. The debugging environment available for an Arduino UNO is limited, so we describe how to use the UART communication protocol to gain controllability and observability. We present the use of the Serial library to communicate with the Arduino through the serial monitor.

课程评论(0条)

课程详情

The Arduino is an open-source computer hardware/software platform for building digital devices and interactive objects that can sense and control the physical world around them. In this class you will learn how the Arduino platform works in terms of the physical board and libraries and the IDE (integrated development environment). You will also learn about shields, which are smaller boards that plug into the main Arduino board to perform other functions such as sensing light, heat, GPS tracking, or providing a user interface display. The course will also cover programming the Arduino using C code and accessing the pins on the board via the software to control external devices. Please note that this course does not include discussion forums. Upon completing this course, you will be able to: 1. Outline the composition of the Arduino development board 2. Describe what it means to program the board's firmware 3. Read board schematics 4. Install Arduino IDE 5. Describe what "shields" are and how they are used 6. Specify the role of libraries in the use of shields 7. Compile and run a program 8. Name C Variables and Types 9. Name common C operators 10. Use conditionals and loops 11. Explain functions, their definition and invocation 12. Explain the implications of global variables 13. Undertake the Arduino build process 14. Describe the role of the tools behind the IDE 15. Describe how to invoke functions in classes 16. Explain the structure of an Arduino sketch 17. Access the pins of the Arduino 18. Differentiate between digital and analog pin 19. Debug embedded software 20. Explain the importance of controllability and observability in the debugging process 21. Describe common debugging architectures for embedded systems 22. Explain how the UART Serial communication protocol works 23. Describe how the Arduino Serial library performs serial communication

课程标签

0人关注该课程

主题相关的课程