Arduino has created an open-source, easy-to-use hardware & software platform that has made microcontrollers and electronics accessible to a broad audience of makers. Dozens of variations on the platform exist today, and dedicated devices found in 3D printers, Quadcopters, Media players and robots have bloomed thanks to a diverse ecosystem of vendors and enthusiasts. These devices are following the trend of adding more and more networking and communication capabilities, pushing toward applications on the Internet of Things.
This course is a guide to the exciting world of internet-enabled microcontrollers using the Arduino platform. Starting with the fundamentals of Arduino programming, the course builds expertise in Analog/Digital Input & Output, and other core topics used to prototype electronic devices. The course then extends the experience by focusing on programming the ESP8266 to scan and connect to pre-existing WiFi networks, or create its own network as an access point. This course features lectures with information to help students build the demonstrations as they go, and challenges students to extend the lecture-provided circuits and code to add additional features. Finally, there is a projects section at the end of the course where new projects will be added to illustrate special topics and techniques, based on student interests and questions!
This lecture provides an introduction to the course, including the motivation behind the class, the course objectives, the intended audience and how the lectures are organized.
Introduction to microcontrollers, explaining points of differentiation and how they can be applied to solve problems.
This lecture introduces the microcontroller that is used in this course, the ESP8266. At the end of the lecture, students will be able to identify points of differentiation between the different versions of this microcontroller, and compare its features to that of the Arduino Uno.
This lecture covers the suggested and required materials needed to follow and build the circuits and programs covered in this course. At the end of this lecture, students will have an understanding of what materials are going to be useful to get the most out of the course.
This is a base-level lecture that discusses the concepts of input & output functions for analog and digital signals. At the conclusion of this lecture, students will be able to identify whether a signal is analog or digital, and whether the signal should be a microcontroller input or output.
This lecture covers installing the Arduino software, an overview of the user interface, and adding support for the ESP8266 microcontroller to the software. Students will be able to configure their Arduino software to work with the ESP8266 microcontroller at the end of this lecture.
An overview of the steps needed to prepare the ESP8266 for use and programming.
This lecture shows the student how to set up a stable power source for the ESP8266. At the end of this lecture, the student will be able to build a circuit that supplies a stable 3.3V from a battery pack or other power supply.
Step by step, this lecture covers the fixed connections and how to add a reset button and a program button. At the end of this lecture, the student will be able to extend the circuit from the previous lecture to complete the connections necessary for the ESP8266 to run programs already loaded in memory.
With this lecture, the students will learn how to connect a USB to Serial converter to the ESP8266 for programming and debugging purposes.
The first project steps the student through the process of writing and uploading a program to blink an LED using the ESP8266. At the end of this lecture, the student will know how to build a circuit with an LED and upload a program to the microcontroller to make that LED blink.
This base-level lecture covers the variables, variable scope, and common variable types used in Wiring (the Arduino programming language). At the end of the lecture, students will be able to identify what types of values belong to different variable types, and the scope of a variable in a sketch.
This lecture uses the circuit from Lecture 12 to demonstrate analog output using the microcontroller, while introducing the method of pulse-width-modulation (PWM) to generate analog signals. Students will be able to write a sketch that uses analog outputs using PWM to generate analog signals.
This base-level lecture covers the topics of conditional statements, loops and flow control. At the end of this lecture, students will be able to evaluate the value of variables to determine which code blocks to execute, and run a code block multiple times using standard boolean logic.
With this lecture, the student will be able to create a circuit with a button connected to the ESP8266, and program the microcontroller to detect if the button has been pressed or not.
Serial communication is a handy way to share information between the microcontroller and another device, whether its a computer, another microcontroller, or a dedicated serial component. This lecture uses the circuit from Lecture 15 to relay the button state over serial. Students will be able to program the microcontroller to send debugging information to a serial terminal at the end of this lecture.
Interupts are a program flow control mechanism that allows signals to "interupt" the normal program process to take a small action. This lecture explains how to set up an interupt on a digital input pin and program a response to the interrupt. At the end of this lecture, students will be able to use interrupts to respond to digital input events.
This lecture shows how to connect a potentiometer to the ESP8266 to read it's value, and report it over the serial connection first shown in Lecture 17. Students will be able to connect analog signals and read their values using the microcontroller by the end of this lecture.
This lecture discusses some of the common terms of WiFi communication, and discusses some of the capabilities of the ESP8266. Students will be able to explain the difference between an access point and a station, and between a client and a server.
This lecture provides an overview for common WiFi functions of the ESP8266. Students will be able to program the ESP8266 to scan for active WiFi networks at the end of this lecture.
Much of the data exchange on the internet is handled using the HyperText Transfer Protocol. While the HTTP standard has a thick list of features and specifications, this lecture covers the very basics that make it possible to retrieve information from the internet.
The fundamentals of setting up a WiFi client are discussed in this lecture. Students will be able to program the microcontroller to connect to an existing WiFi network to retrieve a web page with time information on it at the end of this lecture.
ThingSpeak is a free service that takes information from Internet of Things devices and provides a running graph of the values posted. This lecture will show the step by step process for setting up a ThingSpeak channel and posting data from the ESP8266. Students will be able to set up their own ThingSpeak channels and program the ESP8266 to post data to those channels at the end of this lecture.
This lecture covers the basic process of programming the ESP8266 to act as a WiFi server. By the end of this lecture, students will know how to serve simple web pages from the ESP8266 on an existing WiFi network.
The previous lectures have relied on using an existing WiFi network to provide connectivity between the ESP8266 and other devices. This lecture will cover how to use the ESP8266 to establish its own independent WiFi network, and use code from the previous lecture to serve simple web pages. Students will be able to use the ESP8266 to create an independent WiFi network that serves web pages by the end of this lecture.
This lecture describes some of the initial projects and special topics that will be covered. As time progresses, additional topics and projects will be added.
The Temperature and Light project is an introduction to extending the ESP8266 analog input capability to support multiple channels using the MCP3008 chip and SPI communication. It's a simple project, but it introduces several special topics that will be handy for other projects. At the end of this lecture, the student will be able to measure Temperature and brightness using the ESP8266 with the MCP3008, and will be ready to add other sensors to the system!
Hi, I'm Tom. I've been a technology entrepreneur for the past 20 years since I left a graduate program in Astrophysics to co-found a company providing software and web services. Along the way, I've earned a MBA from the Lally School at Rensselaer Polytechnic Institute, built a company making spectrometers, and lead a community of makers and entrepreneurs to found the Tech Valley Center of Gravity (TVCOG), a makerspace and startup cultivator in the Capital District of NY.
Over the past few years I've shared my passion for rapid prototyping, electronics and software with students, engineers and entrepreneurs at the TVCOG, and now I want to share it with the world through Udemy! I can't wait to help you learn how to use microcontrollers to build devices for the Internet of Things!
See you soon!