Skip to content
Tutorials Center
My learning

Topics

Lesson 32 of 36 ยท Platforms and Applications

IoT Applications: Home, Industry, City, Agriculture and Health

Tour the main IoT application domains: smart home, industrial IoT, smart cities, agriculture, health, logistics and energy, with the design lessons of each.

IoT is not one industry but a toolkit, and the same pattern of sensor, connectivity, cloud and action appears everywhere. Understanding the typical constraints of each domain tells you which technology to choose: a farm has no Wi-Fi but plenty of space, a factory has strict timing, a hospital has strict privacy.

For each domain below you will see what is measured, what is controlled, which links and protocols fit, and the main challenge. Two runnable examples at the end show the decision logic behind real deployments.

Domain overview

Where IoT is used

Smart home Lights, heating, locks, cameras
Industry 4.0 Machines, quality, maintenance
Smart city Parking, lighting, waste, air
Agriculture Soil, weather, irrigation

Same pattern, different constraints

1 / 2
Domain Typical sensors and actuators Links Main challenge
Smart home temperature, motion, door contacts, relays, bulbs Wi-Fi, Zigbee, Thread/Matter, Bluetooth LE Interoperability, privacy, setup ease
Industrial IoT (IIoT) vibration, current, pressure, PLCs, valves Ethernet, OPC UA, Modbus, private 5G, MQTT with Sparkplug Reliability, real-time, safety, legacy machines
Smart city parking sensors, air quality, lighting controllers, bins LoRaWAN, NB-IoT, LTE-M Thousands of cheap battery nodes, long life
Agriculture soil moisture, weather, flow, pump relays LoRaWAN, cellular, solar power Wide area, no mains power, harsh weather
Healthcare heart rate, glucose, SpO2, pumps Bluetooth LE, Wi-Fi, cellular Privacy, regulation, accuracy, safety
Logistics GPS, temperature, shock, door sensors cellular, satellite, BLE tags Battery life, roaming, intermittent coverage
Energy smart meters, inverters, EV chargers PLC, cellular, Ethernet Security of critical infrastructure
Vehicles CAN bus data, GPS, camera cellular, V2X Mobility, safety, data volume

Industrial IoT: predictive maintenance

The most valuable IIoT use is predictive maintenance: sensors on motors and pumps detect early signs of wear so a repair is scheduled before a breakdown. A bearing that is wearing out usually vibrates a little more each week. Unplanned downtime in a factory can cost thousands of dollars per minute, so catching it early pays.

The logic is often simple: track a health indicator and warn when its trend crosses a limit.

Node.js Predictive maintenance from a vibration trend

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 node:readline or process.stdin), it gets the next line from this box.

Machine learning models do the same thing with more signals, but a transparent trend plus threshold is a good first version and easy to explain to the maintenance team.

Agriculture: irrigation decisions

A farm has soil-moisture probes, a weather forecast and a valve. The rule is not "water when dry", but "water when dry and no rain is coming and it is the right time of day", with a cap on daily water.

Node.js Irrigation rule with weather and limits

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 node:readline or process.stdin), it gets the next line from this box.

Returning the reasons is a good habit: when a farmer asks why the system did not water, the answer is in the log.

Domain notes

Smart home. Interoperability was long the biggest problem: each brand had its own app. The Matter standard, running over Wi-Fi and Thread, aims to let devices from different makers work together. Privacy matters most: cameras and microphones should work locally where possible.

Smart city. LoRaWAN and NB-IoT give years of battery life and kilometers of range for small messages such as "parking space occupied". The value comes from combining feeds (traffic, air quality, transit) into one view.

Healthcare. Wearables measure heart rate or glucose and send data to apps and clinicians. Medical devices are regulated (FDA, CE marking), and accuracy and data protection are as important as connectivity. Alerts must be reliable but not so frequent that people ignore them (alarm fatigue).

Logistics and cold chain. A tag in a vaccine shipment logs temperature and alerts when it leaves its range. Devices sleep most of the time and burst-transmit when coverage appears; store-and-forward (edge lesson) is essential.

Energy. Smart meters, solar inverters and home batteries support demand response: shifting consumption to when electricity is cheap or green. This is critical infrastructure, so security is a first-class requirement.

Common design questions

  1. How is the device powered, and for how long must it run?
  2. How far must data travel, how often, and how large is each message?
  3. What happens when connectivity is lost?
  4. What is the worst consequence of a wrong or missing reading?
  5. Who owns and may see the data?

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which link best fits thousands of battery-powered parking sensors spread over a city?

    Low-power wide-area networks give long range and multi-year battery life for small messages.
  2. 2. What is predictive maintenance?

    It uses condition data, such as rising vibration, to act before a breakdown.
  3. 3. Why should an irrigation rule consider rain forecasts?

    Combining sensor data with forecasts avoids wasted water.
  4. 4. Which is the biggest concern specific to healthcare IoT?

    Medical data is highly sensitive and devices are regulated for safety and accuracy.

Summary

  • The IoT pattern repeats across domains; constraints (power, range, reliability, privacy) decide the technology.
  • Industry values predictive maintenance and real-time reliability; cities and farms value long range and battery life; homes need interoperability and privacy; healthcare needs accuracy and regulation.
  • Simple, explainable rules with reasons are a strong starting point before machine learning.
  • Always ask about power, range, offline behavior, impact of errors and data ownership.

Next: Project: A Temperature Monitoring System