Arduino Nano — Temperature on Serial Monitor
Read the room temperature every 2 seconds and print it
Arduino
Nano
DHT11
Serial
What you will learn
- How to call a sensor library and read structured data
- How Serial.begin() / Serial.print() / Serial.println() work
- Why we add a 2-second delay between reads (most sensors need time to settle)
What you will need
| Component |
|---|
| 1× Arduino Nano |
| 1× DHT11 temperature/humidity sensor |
| 2× 7-segment LED screens (tens / ones) |
| 1× breadboard |
| 7× jumper wires |
Step by step
Take it further
- Open the Arduino IDE → Tools → Serial Plotter to see the temperature as a live graph.
- Add a red LED that lights up when the temperature goes above 30 °C.
- Log the readings to a file by using a SoftwareSerial connection to an SD card module.
Practise it before you build it
Wire this circuit in the ThinkEdge Learn simulator first. The simulator runs a real Arduino sketch against a modified-nodal-analysis solver, so the LED on screen actually lights when the current is right — no hardware, no burnt components, and a class can try it in a browser.
Related projects
Arduino — Blink Without DelayUse millis() instead of delay() — the right way to blink
Arduino — Fade an LED with PWManalogWrite on D9 — the smoothest way to dim an LED
Arduino — Button + Buzzer DoorbellPress the button, hear a tone. The classic Arduino starter.
Arduino — Light-Activated Night LampLDR + LED — the LED turns on automatically when it gets dark
Arduino — LED Chaser (Knight Rider)5 LEDs that light up in sequence, like KITT from Knight Rider
DHT11 — Digital ThermometerRead the room temperature on your laptop
Guides that use this project
13 guides on the site build this project as part of a longer explanation. The guide says why the circuit works; this page says how to wire it.
Arduino Projects for BeginnersTen Arduino projects for beginners that really work, in the order that makes them easiest, with the parts each one needs and the mistake that catches people out.
Robotics and Autonomous Systems: The Four Sub-AreasRobotics and autonomous systems split into perception, planning, control and SLAM. Here is what each needs, and which parts an Arduino can reach.
ESP32 Microcontroller: The One With the Radio OnboardThe ESP32 is a 3.3 V microcontroller with Wi-Fi and Bluetooth built in. What it really is, how it differs from an Arduino Uno, and where it fits in IoT builds.
Raspberry Pi 5: What Changed Inside and How to Teach With ItThe Raspberry Pi 5 has a faster CPU, a new RP1 I/O chip and a 5 V power supply. What changed, what it costs, and how to use it in a classroom.
LoRa and LoRaWAN: The Physics of Long Range, Low Power RadioLoRa is the radio, LoRaWAN is the network. Real link budgets, airtimes, the Indian 865 to 867 MHz band and the sensors you can send over it.
Flipper One and Sub-GHz Radio: What the Hardware Is DoingThe Flipper One pairs an RK3576 Linux computer with an RP2350 microcontroller. How its hardware works, what a sub-GHz radio really does, and where the legal line is.
Local LLM: Your Own Model, Your Own MachineRun a language model on your own hardware: the RAM maths for a Raspberry Pi, the real token speeds, and how an Arduino can act on what the model says.
DGX Spark: What the Hardware Actually IsDGX Spark packs a 20-core Arm CPU and a Blackwell GPU into 128 GB of shared memory. Here is what it buys you, what it costs, and where it does not help.
RTX 5080: The Card, the Numbers, the CaveatRTX 5080 specs and price: 16 GB of GDDR7, 360 W of board power and a $999 launch price that no longer matches the street. Here is who should buy one.
Open Code and OpenCode: A Coding Agent You Can ReadOpen code is a loop: read, plan, edit, run, read the error, fix. Here is how opencode, an open source coding agent, fits into a school project and what it costs.
Arduino Cloud EditorWhat the Arduino Cloud Editor is, what it does that the desktop IDE does not, and the honest limits you hit when a class runs entirely in a browser.
Arduino IDE Download and SetupWhere to download the Arduino IDE safely, which version to pick, the board manager and library manager steps, and the three install problems almost everyone hits.
arduino.cc and the Official Arduino Resourcesarduino.cc is the official Arduino site: the language reference, the board specs, the library registry and the free learning resources worth using in class.
Where this project sits
It is also part of these lists, which is how a class usually finds it.
Arduino LED projects for beginners36 projects in this list
Arduino DHT11 temperature sensor projects7 projects in this list
Try the full simulator with your class
103 guided circuit projects, 21 lessons and an in-browser Arduino simulator. The first 15 projects are free, no account needed. One licence covers a whole school.