An Introduction to the Internet of Things

  • Explain the difference between the terms: network, internet, intranet and The Internet
  • Identify devices that can be connected to the Internet of Things
  • Explain how things can be connected to the Internet of Things.
  • Explain what a microcontroller is.
  • Explain what an Arduino or and ESP32/8266 is.

The Arduino IDE

  • Explain what an IDE is.
  • Explain what the Arduino IDE is used for.
  • Identify microcontrollers that can be programmed with the Arduino IDE.
  • Run the Arduino IDE.
  • Connect the microcontroller board to the computer.
  • Connect the microcontroller to the Arduino IDE.
  • Enter code in the editor
  • Compile and upload the
  • Open the serial monitor

Understanding the code

  • Identify variables, constants, functions and structures
  • Know how to identify a function
  • Recognise the different types of values that variables and constants can have and what type of information each of these can hold.
  • Know where to find the Arduino Programming Language reference

Connecting the first sensor

  • Identified the DHT11/22 humidity and temperature sensor
  • Identified the three pins on the sensor
  • Identified the three required pins on the ESP32
  • Connected the DHT sensor to the ESP32
  • Added the required code to the Arduino IDE to read the temperature from the sensor and display it in the serial monitor.

Connecting the second sensor

  • Keypoint

Combining the two circuits

  • Keypoint

Using MQTT for the Internet of Things

  • Keypoint

Subscribing to an MQTT topic

  • Use MQTTX to connect to a broker
  • Subscribed to an MQTT topic
  • Exported data to a file in JSON format