← Raspberry Pi learning path
Raspberry Pi · Module 8 of 10

IoT and automation projects

Connect sensors to the cloud and automate tasks.

📖 Key ideas

  1. Read sensors (DHT22, BME280) and publish data with MQTT.
  2. Visualise with Grafana, Node-RED or cloud dashboards.
  3. Automate with cron jobs and systemd services.
  4. Control relays to switch appliances (with safe, certified modules).
  5. Log data to SQLite or InfluxDB.
💡 Real-life example: A Pi IoT hub is a village post office collecting letters (sensor data) and sending replies (commands).
Node-REDFlow-based IoT programming tool
GrafanaDashboard tool
cronScheduled task runner
InfluxDBTime-series database