Pick an IoT project that reads one sensor, sends the data somewhere and acts on it, then measure its accuracy and uptime. Below are 24 ideas across sensing, connected devices and sensor-data analysis, a free simulator path for building without hardware, and a Python pipeline that was run.
On this page
Which IoT project should you build?Build without hardware: the Wokwi pathSensing and control, 1 to 8 (Arduino, ESP32)Connected projects, 9 to 16 (Wi-Fi, MQTT, cloud)Sensor-data and ML projects, 17 to 24 (hardware-free)Indicative part costsFour-week plan, README and resume bulletsFrequently asked questionsThis page is for engineering students who need an IoT project for a semester or final year and may not have hardware yet. Every idea is a loop: sense, validate, send, store, act. Ideas 1 to 16 use microcontrollers; ideas 17 to 22 use public sensor datasets, so you can build and evaluate the data side with no hardware at all. For smaller campus-style ideas with a social angle (smart bin, soil alert, room counter) see unique project ideas for college students and design thinking project ideas; this page adds the data pipeline, the simulator route and the measurements.
What was checked on 1 December 2026: the Python pipeline below was run on Python 3.9.6 and its output is quoted exactly. No microcontroller code was run on hardware for this page, so the ideas are specifications, not tested firmware. Wokwi's pricing page, the Arduino store, one Indian retailer (Robocraze) and each dataset page were opened that day. Raspberry Pi's own product pages returned an access error to automated reads, so no Raspberry Pi board price is quoted.
Which IoT project should you build?
| Your situation | Choose | Ideas below |
|---|---|---|
| No hardware yet | Simulate in Wokwi, or build on public sensor data | 1, 3, 9, 17 to 22 |
| One weekend with a kit | Single sensor with a threshold and an alarm | 1, 2, 4, 7 |
| Final year, 4 weeks | Wi-Fi node + broker + Python storage + dashboard | 9, 10, 14, 21 |
| You like data and ML | Predictive maintenance or activity recognition | 17, 18, 19 |
| Systems and reliability | Gateway with batching and retries, low-power node | 16, 23, 24 |
Build without hardware: the Wokwi path
Wokwi simulates microcontrollers in the browser. Its supported-hardware page lists Arduino Uno and Nano, ESP32 variants and Raspberry Pi Pico and Pico W, and it has part pages for the DHT22 temperature sensor, HC-SR04 ultrasonic sensor, PIR motion sensor, relay module and MPU6050 motion sensor. Its pricing page showed, on 1 December 2026, a Community plan at EUR 0 a month described as for open source projects, with unlimited simulations, unlimited public projects and virtual Wi-Fi; paid plans (EUR 7 a month and up) add private projects and custom libraries. Check that your use fits the free plan's description before you rely on it.
- Open the Wokwi site, start an ESP32 project and add a DHT22 part.
- Wire the sensor to a GPIO pin and read it in code; use the virtual Wi-Fi to reach the internet from the simulated board.
- Publish readings to a message broker. The public test.mosquitto.org broker is described by its operator as publicly available; use it for development only and send nothing private.
- Subscribe from Python on your laptop, validate and store the data (see the pipeline below).
- Move to a real board later by changing only the pin numbers and Wi-Fi credentials, and keep the simulated run as your recorded demo.
Sensing and control, 1 to 8 (Arduino, ESP32)
| Idea | Level | Hardware or simulator | Data or platform | What to measure |
|---|---|---|---|---|
| 1. Room temperature and humidity logger | Beginner | ESP32 or Uno + DHT22 (Wokwi) or DHT11 | Your own readings | Error vs a reference thermometer over 24 hours |
| 2. Soil moisture alert for a pot or plot | Beginner | Uno or ESP32 + soil sensor | Your own readings | Calibrate dry and wet; false alerts per week |
| 3. Water tank level indicator | Beginner | Ultrasonic HC-SR04 (Wokwi part) | Distance to level formula | Reading error against a ruler at 5 levels |
| 4. Motion-activated light that works only at night | Beginner | PIR + relay (both Wokwi parts) | Light threshold you set | Delay from motion to light; false triggers |
| 5. Smart bin with fill alert | Intermediate | HC-SR04 + buzzer | Distance threshold | Alert at 80% full across 20 fills |
| 6. Classroom noise monitor with a rolling average | Intermediate | Sound sensor + ESP32 | Your own readings | Average vs a phone decibel app |
| 7. Gas leak alarm with hysteresis | Intermediate | MQ-type sensor module | Threshold you calibrate in clean air | Chatter: alarm toggles per hour with and without hysteresis |
| 8. Plant watering pump with a timer and a soak limit | Intermediate | Relay + pump + moisture sensor | Your schedule | Water used per day; no overwatering in 7 days |
Connected projects, 9 to 16 (Wi-Fi, MQTT, cloud)
| Idea | Level | Hardware or simulator | Platform | What to measure |
|---|---|---|---|---|
| 9. ESP32 to MQTT to Python | Intermediate | ESP32 (Wokwi or real) | Mosquitto broker, own or the public test one for development | Messages sent vs stored over 24 hours |
| 10. Temperature dashboard on a cloud channel | Intermediate | ESP32 + sensor | ThingSpeak: read its plan and non-commercial terms first | Chart refresh delay; gaps |
| 11. Occupancy counter with two beam sensors | Intermediate | Two IR sensors + ESP32 | Your own logic | Count error over 100 entries |
| 12. Home energy monitor with a current clamp | Advanced | ESP32 + current sensor | Build on UCI household power data, CC BY 4.0, 2,075,259 rows, before wiring mains; use a safe isolated sensor module | Daily kWh vs the meter reading |
| 13. Relay schedule page: switch a lamp from a web page | Intermediate | ESP32 + relay (low voltage test load) | Built-in web server | Command-to-action latency |
| 14. Weather node vs forecast | Intermediate | ESP32 + DHT22 | Open-Meteo: free non-commercial, under 10,000 calls a day, credit required | Your sensor vs forecast: mean error over 7 days |
| 15. Over-the-air update demo | Advanced | ESP32 | Your own server | Update success on 10 tries; rollback works |
| 16. Battery node with deep sleep | Advanced | ESP32 or Pico W + battery | Datasheet currents you cite | Estimated vs measured battery life |
Sensor-data and ML projects, 17 to 24 (hardware-free)
| Idea | Level | Data, read 1 Dec 2026 | Split and metric | What to measure |
|---|---|---|---|---|
| 17. Predictive maintenance classifier | Intermediate | UCI AI4I 2020, 10,000 rows, CC BY 4.0 | Stratified CV; recall of failures | Failures caught vs false alarms |
| 18. Activity recognition from accelerometer data | Advanced | UCI HAR, 10,299 rows, CC BY 4.0 | Split by person | Accuracy on unseen people |
| 19. Low-cost gas sensor calibration | Intermediate | UCI Air Quality, 9,358 hourly rows, CC BY 4.0 | Early months train, later test | Drift: error by month |
| 20. Appliance energy anomaly detector | Advanced | UCI Appliances Energy, 19,735 rows, CC BY 4.0 | Inject faults; precision and recall | Detection rate vs false alarms per day |
| 21. Sensor pipeline with validation, smoothing and SQLite (starter below) | Intermediate | Simulated or your own readings | Dropped and kept counts | Dropout and spike handling tested |
| 22. Plain-HTML dashboard from a CSV | Intermediate | Output of idea 21 | Page load and refresh | Page works with 100,000 rows or says it cannot |
| 23. Gateway with batching and retries on a Raspberry Pi or laptop | Advanced | Idea 9 messages | Loss under link failure | Messages lost in a 5-minute disconnect |
| 24. Tiny model on a microcontroller with MicroPython | Advanced | Idea 17 or 18 data | Accuracy vs the laptop model | Memory used and inference time |
The starter is idea 21. It simulates a day of hourly readings with a fixed seed, plants one spike and one dropout, drops invalid rows, smooths with a 3-point rolling median, stores to SQLite and reports averages and alert hours. It uses only the standard library.
import random, sqlite3, statistics
rng = random.Random(7)
# 24 hourly readings from a pretend DHT-style sensor: temperature in C, humidity in percent
rows = ["hour,temp_c,humidity"]
for h in range(24):
t = 24 + 4 * (1 if 10 <= h <= 17 else 0) + rng.gauss(0, 0.3)
hum = 60 - 8 * (1 if 10 <= h <= 17 else 0) + rng.gauss(0, 1.0)
rows.append(f"{h},{t:.1f},{hum:.0f}")
rows[6 + 1] = "6,85.0,59" # spike: a bad reading
rows[13 + 1] = "13,," # dropout: sensor returned nothing
raw = "\n".join(rows)
def parse(text):
good, bad = [], []
for line in text.splitlines()[1:]:
h, t, hum = line.split(",")
try:
t, hum = float(t), float(hum)
except ValueError:
bad.append((int(h), "missing")); continue
if not (-10 <= t <= 60 and 0 <= hum <= 100):
bad.append((int(h), "out of range")); continue
good.append((int(h), t, hum))
return good, bad
good, bad = parse(raw)
print("kept", len(good), "dropped", bad)
# smooth with a 3-point rolling median
temps = [t for _, t, _ in good]
smooth = [statistics.median(temps[max(0, i - 2):i + 1]) for i in range(len(temps))]
db = sqlite3.connect(":memory:")
db.execute("create table r(hour int, temp real, hum real, smooth real)")
db.executemany("insert into r values (?,?,?,?)", [(h, t, hu, s) for (h, t, hu), s in zip(good, smooth)])
for label, lo, hi in (("night", 0, 9), ("day", 10, 17), ("evening", 18, 23)):
a, b, n = db.execute("select avg(temp), avg(hum), count(*) from r where hour between ? and ?", (lo, hi)).fetchone()
print(f"{label:<8} n={n:<2} avg temp {a:.1f} C, avg humidity {b:.0f}%")
alerts = [h for h, s in ((r[0], r[3]) for r in db.execute("select * from r")) if s > 27]
print("hours with smoothed temp above 27 C:", alerts)Output: 22 rows kept; hour 6 dropped as out of range and hour 13 as missing. Night (hours 0 to 9, n=9) averages 24.0 C and 60% humidity; day (10 to 17, n=7) 28.1 C and 52%; evening (18 to 23, n=6) 23.8 C and 60%. Smoothed temperature exceeds 27 C in hours 11, 12, 14, 15, 16, 17 and 18. Hour 18 appears because a median over the last three points lags one step behind the real drop; note that kind of delay in your write-up.
Indicative part costs
Prices below are listed prices read on product pages on 1 December 2026, before shipping, and change with stock and promotions. The Arduino price is in euros as shown on the Arduino store (with 30 percent off shown that day); the rest are in rupees from Robocraze.
| Part | Listed price, 1 Dec 2026 | Source page |
|---|---|---|
| Arduino Uno Rev3, official | EUR 20.50 incl. VAT | Arduino store |
| Arduino Uno compatible board (SMD, ATmega328PB) | Rs 309 | Robocraze |
| ESP32 38-pin Wi-Fi and Bluetooth dev board | Rs 430 | Robocraze |
| D1 Mini V2 ESP8266 board | Rs 212 | Robocraze |
| DHT11 temperature and humidity module | Rs 162 | Robocraze |
| PIR motion sensor module (NS412) | Rs 130 | Robocraze |
| DS18B20 digital temperature breakout | Rs 191 | Robocraze |
Four-week plan, README and resume bullets
| Week | Do | Finished when |
|---|---|---|
| 1 | Pick the sensor and rule; simulate it in Wokwi or collect 24 hours of data; write the wiring or data schema | A sensor value appears on your screen |
| 2 | Send data (serial, MQTT or HTTP) and store it with validation | A 24-hour run with a count of sent vs stored messages |
| 3 | Add the action (alarm, relay or alert), calibrate against a reference, test failure cases such as unplugging the sensor | Accuracy and failure behaviour documented |
| 4 | Dashboard or report, README, wiring diagram, 60-second demo video, repository | A stranger can reproduce your result from the README |
Every number in the README and resume templates below is a placeholder; replace it with a result you measured.
# Room Climate Logger (ESP32, MQTT, Python, SQLite)
ESP32 publishes temperature and humidity every 60 seconds over MQTT. A Python subscriber validates readings, stores them in SQLite and flags hours above a threshold.
## Hardware or simulation
Built and tested in the Wokwi simulator (ESP32 + DHT22); then run on a real ESP32 with a DHT11. [say which you did]
## Data handling
- Readings outside -10 to 60 C or 0 to 100 percent are dropped and counted
- 3-point rolling median removes single spikes
- 7 days of data, [your count] rows, [your dropped %] dropped
## Limits
- Public test broker used for development only; no private data sent.Room Climate Logger | ESP32, MQTT, Python, SQLite | github.com/<you>/climate-logger
- Built a sensor pipeline from ESP32 firmware to a Python subscriber with validation, spike removal and SQLite storage; simulated first in Wokwi, then on hardware.
- Logged 7 days of readings; dropped [your %] invalid samples and handled sensor dropouts without crashing.
- Documented wiring, sampling interval and one calibration check against a reference thermometer.Free electronics tutorials for beginners are at Raspberry Pi Projects, and the embedded systems engineer roadmap shows what to learn after the first project. For the software side of IoT, see software development projects and the Python mini projects list.
Frequently asked questions
What is a good IoT project for engineering students?
Choose one with a sensor, a rule and a measurable result, such as a tank level indicator checked against a ruler, or a climate logger with a validated data pipeline. Examiners care about calibration, failure handling and a clear block diagram, not the number of sensors.
Can I do an IoT project without buying hardware?
Yes. Wokwi can simulate Arduino, ESP32 and Raspberry Pi Pico boards with common sensors, and public datasets such as UCI AI4I, HAR and Air Quality let you build the data and ML side. Check Wokwi's free plan description on its pricing page before relying on it.
Which is better for IoT projects: Arduino, ESP32 or Raspberry Pi?
Use Arduino Uno for learning wiring and sensors, ESP32 when you need Wi-Fi at a low price, and a Raspberry Pi when you need a full operating system, a database or a gateway. Many final-year projects use an ESP32 node plus a laptop or Pi as the receiver.
Is a public MQTT broker safe for my project?
Only for development with data you do not mind being public. The test.mosquitto.org broker is described as publicly available, so anyone may read or publish. For a demo with real data, run your own broker on a laptop or Pi and add a username and password.
How much does an IoT project cost in India?
A basic sensor node with an ESP32 board (listed at Rs 430 on one retailer on 1 December 2026) and a DHT11 (Rs 162) comes to about Rs 600 before wires, a breadboard and shipping. Simulation costs nothing. Prices vary by seller and day, so check current listings.
How do I present an IoT project in a viva or interview?
Show a block diagram, the wiring or simulator link, a short demo, and your measurements: calibration error, messages stored vs sent and what happens when the sensor fails. Be ready to explain one design choice, such as the sampling interval or the threshold.
Learn this with mentors
Programmes for builders and engineers with admissions open: live classes, mentors and project work.


