DHT11 — Digital Thermometer
Read the room temperature on your laptop
DHT11
Temperature
Sensor
Serial
What you will learn
- How a digital sensor differs from an analog one (it has its own brain)
- What a "library" is and how to install one
- How to print data to the Serial Monitor to debug
What you will need
| Component |
|---|
| 1× 9V battery |
| 1× DHT11 sensor |
| Breadboard |
| 3× jumper wires |
Step by step
Take it further
- Add a 16x2 LCD display so the temperature shows on hardware, not just Serial Monitor.
- Convert the temperature to Fahrenheit: F = C * 9/5 + 32.
- Add a "heat index" calculation — what the temperature "feels like" with humidity.
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
LDR — Automatic Night LightThe room gets dark, the LED turns on
Ultrasonic — Distance SensorMeasure how far away an object is
PIR — Motion-Activated LEDWalk past, the light turns on. Stand still, it goes off.
Sound Sensor — Loud Sound LightLED brightness follows the sound · quiet keeps it off
DHT11 — Auto Fan ControllerHot day, fan on. Cool day, fan off.
Arduino Nano — Temperature on Serial MonitorRead the room temperature every 2 seconds and print it
Guides that use this project
18 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.
How to Learn RoboticsHow to learn robotics without a degree: the order to learn electronics, code and control in, how long each stage takes, and the projects that prove each one landed.
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.
ESP32 IoT Projects: From a Single Sensor to a Live DashboardFive ESP32 IoT projects that teach sensors, MQTT publishing, deep sleep and reconnection, each staged so the logic runs in a browser simulator first.
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.
Repairable Phone: The Engineering Behind a Phone You Can OpenA repairable phone is designed around replaceable modules, standard connectors and long software support. What that means in engineering terms.
GPU Repair: Why Graphics Cards Fail and Whether Fixing One PaysGraphics cards fail from solder fatigue, VRM breakdown, dead fans and ageing capacitors. How to diagnose the cause and whether a repair is worth the money.
3D Printing for StudentsHow a 3D printer works, which type to start with, and how to design your own models, with the electronics behind extrusion and stepper control explained.
Electric Bikes ExplainedHow an electric bike works: the hub or mid-drive motor, the battery and its management, the controller, and what the numbers on the spec sheet actually mean.
Solar-Powered DevicesHow to build a solar-powered device: charge controllers, energy budgets, why a panel alone is not enough, and how to size everything for a sensor that runs all year.
Home Energy MonitoringHow to monitor energy use in a home or classroom: clamp meters, energy monitoring modules, the difference between watts and watt-hours, and what the data shows.
Artificial Intelligence for StudentsArtificial intelligence for students: what a model really is, the three ways to learn it that are not hype, and the projects that prove each one landed.
AI in the Classroom: What to Allow and What to StopAI in the classroom works when the policy is specific. Here is what AI genuinely helps with, the rules that keep it honest, and what a school should not upload.
How to Learn ArduinoHow to learn Arduino properly: an eight-week plan from a blinking LED to real builds, with the parts to buy first and the mistake that slows most beginners down.
UAV Drones ExplainedWhat a UAV is, how the main airframe types differ, and how a drone actually stays upright. The engineering behind drones, taught the way a student can build it.
Drone Inspection and SurveillanceWhere drones genuinely pay for themselves: inspection of towers, roofs, pipelines and power lines. The sensor choices, the regulation and the real economics.
How a Drone Flight Controller WorksInside a drone flight controller: sensor fusion, the PID loop, the rate profile and the mixer. The algorithms behind every drone, explained from first principles.
The Shahed Drone ExplainedHow a Shahed one-way attack drone works: the airframe, the piston engine, the satellite navigation and the economics that made it effective.
Where this project sits
It is also part of these lists, which is how a class usually finds it.
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.