Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 36 ยท Getting Started

What Is the Internet of Things?

Learn what the Internet of Things is, how a thing becomes a connected device, a short history, key terms and a simulated smart thermostat you can run.

The Internet of Things (IoT) is the idea that everyday objects, from thermostats and light bulbs to tractors and factory pumps, can measure the world, talk over a network and sometimes act on what they learn. A "thing" is any physical object that has a small computer, a way to sense or act, and a connection.

You already use IoT without naming it. A fitness band that uploads your steps, a doorbell that sends a video to your phone, and a shipping container that reports its location are all IoT devices. This course explains how they work, from a single sensor wire to a cloud dashboard, and you will simulate much of it in the browser.

There is no hardware to buy for this tutorial. Real board code (Arduino, MicroPython) is shown as read-only listings, and everything you can run is a clearly labelled Python simulation of the same logic.

What makes a thing "connected"

A connected device needs four capabilities. Remove any one and it is just an ordinary gadget.

Four parts of an IoT device

Sense Measure temperature, motion, light
Think A tiny computer runs your code
Connect Send data over Wi-Fi, Bluetooth, cellular
Act Switch a relay, turn a motor

Some devices only sense, some only act, many do both.

1 / 2

A smart thermostat is a good example. Its temperature sensor senses, its microcontroller thinks (is it colder than the target?), its Wi-Fi chip connects to your phone app, and its relay acts by switching the furnace.

A short history

The phrase "Internet of Things" was coined by Kevin Ashton in 1999 while working on tagging goods with RFID so computers could track them without human data entry. Earlier, in the early 1980s, a networked soda machine at a university could report its stock and whether drinks were cold. Three trends then made IoT practical for everyone:

  • Cheap, tiny chips. A Wi-Fi-capable microcontroller now costs a few dollars.
  • Ubiquitous networks. Wi-Fi, Bluetooth Low Energy and mobile data are everywhere.
  • Cloud computing. Storing and analyzing millions of readings no longer needs your own data center.

Analysts counted more connected devices than people on Earth some years ago, and the gap keeps growing. Most of those devices are not phones: they are sensors, meters, tags and controllers.

Key terms you will see

Term Meaning
Sensor Converts a physical quantity (heat, light, motion) into an electrical signal
Actuator Converts an electrical signal into physical action (motor, valve, relay)
Microcontroller (MCU) A tiny single-chip computer that runs one program, often on a battery
Gateway A device that links local, low-power networks to the internet
Telemetry Data a device sends upstream, such as readings and battery level
Command A message sent down to a device to make it do something
Edge Computing done near the device instead of far away in the cloud
Firmware The program stored on the device itself
Payload The data inside a message, without the envelope around it

The basic loop of every IoT system

Almost every IoT program, from a toy to a factory system, repeats the same loop: read, decide, report, act. The next example simulates a thermostat with a fake room whose temperature drifts up and down. Run it and watch the heater switch on and off. Nothing here is real hardware; the read_sensor function stands in for a driver.

Python Simulated thermostat: read, decide, act, report

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Notice the dead band (hysteresis). Without it, a reading of 19.99 then 20.01 would flip the relay constantly and wear it out. You will meet this pattern again in actuators.

Connected does not mean "always online"

Many devices work offline and sync later. A garden moisture sensor might wake up every 15 minutes, measure, transmit for two seconds and sleep, which lets a small battery last for years. IoT design is mostly about trade-offs between power, cost, range, data rate and security, a theme of the whole course.

Python How many readings a day does a sensor send?

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Fleet math like this is why you will later learn about batching, compression and efficient protocols such as MQTT.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which list contains the four capabilities of a typical IoT device?

    A connected device senses the world, runs logic, communicates and may act on the world.
  2. 2. What is an actuator?

    Actuators are the output side of IoT, turning commands into motion, heat, light or sound.
  3. 3. Why does the thermostat example use a dead band (hysteresis)?

    Switching only outside the band prevents rapid cycling that wears out relays and wastes energy.
  4. 4. What is telemetry?

    Telemetry flows from device to platform; commands flow the other way.

Summary

  • IoT connects physical objects that sense, think, communicate and act.
  • Cheap chips, ubiquitous networks and the cloud made it practical.
  • Core terms: sensor, actuator, MCU, gateway, telemetry, command, edge, firmware.
  • Every IoT program repeats a loop: read, decide, report, act.
  • Design is about trade-offs: power, cost, range, data rate and security.

Next: IoT Architecture and Layers