All about Arduino Wireless and the IoT
This course is a strong foundation for understanding IoT utilizing wireless Arduino communications. We will be using both the Arduino and the ESP8266 for wiFi and radio functions. This course will give students an good understanding of IoT and wireless communications utilizing Arduino and the ESP8266 with inexpensive wireless transmitters, receivers and transceivers. We will go over most of the popular and least expensive methods, tools, and associated hardware to pass data wirelessly between devices and over the web and through the cloud. Students will learn how to configure, develop, and program these popular and cheap wireless devices to trigger an event or pass data between devices. Students will be able to thoroughly grasp the concepts of transmitting data around the web:
*ESP8266 to the web
* Arduino data to a PC
* Arduino data to the “Cloud”
* Arduino to Putty and Teraterm
* Arduino to SD Card for Datalogging
* Arduino to ThingSpeak, Google, IFTTT, Losant, Ubidots and others for for graphics and conditional
control Flow applications.
Hardware and Tools utilized in this course:
315 MHz transmitters
nRF2401+ (Nordic radio Transceivers)
ESP8266 (Model 12-E)
DHT11 Environmental Monitor
Ethernet Shield based on the popular WIZnet 5100 chip
Students will learn how to manipulate each of the wireless libraries, functions, and protocols to meet the requirements of a wireless network. we will cover not only simple wireless over the “air” , Students will also acquire the knowledge needed to use wireless Wifi chips and Ethernet to pass data to the web with, and without, a computer.
Introduction to Arduino Wireless
A brief description of what this course covers.
Hardware parts list
2 Arduino's uno or other model (reccomend Uno or Mega)
40PCS Dupont Wire Jumpers Male to Male 20cm
40PCS Dupont Wire Jumpers Male to Female 20cm
315Mhz RF transmitter and receiver kit
2PCS NRF24L01 2.4GHz Wireless Transceiver Modules
Ethernet Shield with WIZnet5100 and Memory Card Slot For Arduino
WiFi Shield for Arduino with CC3000 chip (LinkSprite or Adafruit preferred)
HC-05 6 Pin Wireless Bluetooth RF Transceiver Module Serial For Arduino
Micro SD Storage Board Memory Shield Module on SPI For Arduino
for future bonus lecture material you can look at and order ESP8266 (01 or 12 model)
Free software to download
Bluetooth Graphics Terminal for Android
ThingSpeak account on web
ThingView App for Android
Additional resources and getting help
Sending and receiving data with the 315Mhz Wireless radio
A demonstration on how to set up the 315 radio transmission unit.
Setting up the DHT11 receiver
An explanation on how to set up the Com Ports on your computer to work with the radio unit and Arduino.
A simple program to send data for proof of cobncept. See .py file for code.
Code to receive our data from the trnssmisssion unit.
Setting up the DHT11 with the transmitter
Sending data with the DHT11 unit and simple transmisssssion code.
Receivinbg basic environmental data with our DHT11 and 315 Mhz unit.
talking bout the VirtualWire.h library with a focus on vw_send and vw_get_message and relevant parameters
sending over a a double array of data
Receiving a double array of data.
Sending and Receiving data with th nRF2401 Transceivers
Setting up and wiring the hardware on the Nordic Radio Transceiver.
Coding a simple blink example to coordinate transmissions on the nRF2401.
Going over code for receiving the blink single from the transmitting unit of the transceiver set.
Reviewing the code needed to pass an entire structure of data between Nordic Radios
Coding the receiving side of the Nordic radio. This code will receive a whole structure of data elements from the sending unit.
The WIZnet5100 TCP/IP based Ethernet Shield for Arduino
Discussing the specifications of the Ethernet shield and it interacts with the Arduino IDE. Uploading a simple data point.
Coding a more complex example which will uploaded complete environmental data to the ThingSpeak website on the internet and can be used for remote monitoring anywhere in the world both graphically and for data logging.
The CC3000 based WiFi network Shiled for Arduino
A Wifi example using the LinkSprite shiled based on the CC3000 chip. See resouces for code and examples
More advanced example utilizing a lot more functionality, implementing your API key from ThingsSpeak.
The ESP8266 12-E WiFi device
Explaining what the ESP8266 is about and then comparing the ESP8266-01 to the ESP8266-12E wireless IoT modules.
Showing how to wire the ESP8266 on the breadboard for both the wifi scan code example and the ThingsSpeak example with the DHT11.
Demonstrating how to use the Acrobotix resource page and download the Silicon Labs C2102 UART-USB driver for the ESP8266 12-E board.
Showing how to configure the Arduinio IDE to work with the ESP8266.
Tasks include pointing to the ESP8266 community website, downloading the Board Support Package from the website, downloading the Adafruit ESP8266 Libraries, and configuring the board for using NodeMCU (1.0).
After configuration using the premade WiFi Scan example program to find your wireless networks with the ESP8266
Demonstrating the code to connect the ESP8266 12-E using the DHT11 to the ThingSpeak website and upload your environmental data.
Send WiFi data to your Google Sheet
In this part we will create a Google sheet based on your Gmail account and then use our Google script to prepare to receive variables from our WiFi deice sketch to log our data over the web.
In this second part we will configure our free PushingBox account with our Gmail to link the variables from our WiFi Device sketch(Part 4) into our Google Script (Part 1)
Send WiFi Data to InitialState.com
Losant with JSON and MQTT
Send WiFi Data to theThings.io using MQTT
Send an Email and Text with Arduino ESP8266 over WiFi
Configuring IFTTT.com API's to get email and text messages sent directly to you from your ESP8266
The Arduino Code to send data from your DHT on the ESP8266 to IFTTT to get an email and text message.
Setting up Bluetooth to work with Arduino and Android
Setting up and wiring our Bluetooth module to use as a wireless extender for our tramsitting or receiving unti.
Demonstrating Bluetooth reception over Andriod and bluetooth wireless on Tera Term
Datalogging to an SD card
Connecting and wiring or inexpensive SD card reader/writer for use datalogging from our Arduino.
Reviewing the code needed for implementing the datalogging to the SD card
Datalogging to a Serial monitor
We can use putty to save our Data with the log. Download at:
Using Tera Term for data logging functions over serial or Bluetooth from data sent from Arduino
This is a quiz on relevant elements on the wireless 315 MHz transmitter and receiver and VirtualWire.h library
a Quiz on the nRF2401