Interfacing with the Arduino
- Module 1
- IoT devices involve a combination of software and hardware. This module provides background on the basics of hardware design and wiring needed to build useful circuits. This module describes the functions of basic passive components and describes how to use them in simple circuits. This module also describes how to wire circuits together using a breadboard. The goal of this module is to enable students to design and implement the circuits they need to interact with basic sensors and actuators.
- Module 2
- This module introduces sensors and actuators and discusses how to interface with them. We’ll examine different classes of sensors and actuators. For each type of sensor/actuator, we’ll examine the circuitry needed to interface with it. Additionally, we’ll take a look at the Arduino code needed to communicate with the sensors and actuators.
- Module 3
- This module introduces the use of software libraries with an Arduino sketch. One of the best aspects of the Arduino environment is that the use of good libraries allows a programmer to use complicated hardware without dealing with the complexity. The Arduino environment is supported by many libraries and this module examines the use of several of the more common libraries that allow the use of hardware peripherals in the microprocessor.
- Module 4
- In this module we’ll examine Arduino shields and how they are used to extend the capabilities of an Arduino-based system. Shields are printed circuit boards that are stacked on top of the Arduino together with libraries that enable the new hardware to be used through an Arduino sketch. We’ll describe the benefits of shields and their basic construction as well as the use of libraries in interfacing with each shield.
This module also describes how to connect your IoT device to the Internet using shields. We focus on an Ethernet shield in order to establish a wired network connection, and a WiFi shield to establish a wireless connection.