This web page hosts the companion material for a two-day IoT workshop at the San Francisco State University. The focus of this IoT workshop is an introduction of the Arduino-based microcontroller. In a sequence of thirteen steps, this tutorial walks through the basics of electronics followed by various examples to show how the Arduino can be used. Towards the end more sophisticated examples demonstrate the use of infrared for communication as well as how an Arduino can send a notification to a regular smartphone via the Cloud. The following parts are required for the tutorial:
- Arduino Starter Kit
- Infrared Diode and Receiver
- FTDI USB to TTL Serial Converter Adapter
- ESP8266
- ESP8266 breakout board
A solid knowledge of common programming concepts is required. In particular, local and global variables, functions, loops, and conditional statements should be understood for this tutorial. All code samples are written in simple C and C++.
The following provides an overview of the individual steps of this tutorial:
- Lighting up a LED
- Lighting up a LED when a button is pressed
- Arduino controlling LED & Button
- Use of the Serial Monitor
- Blinking LED
- Electronic dice
- Concurrency in Arduino sketches
- Analog signals
- Low-level access of the Arduino hardware
- Basics of infrared signals
- Sending & receiving of infrared signals
- Remote communication via infrared
- Connecting an Arduino to the Cloud
Additional material is available via the following slides: