The wasteland stretches endlessly before you, a cracked canvas of what was once civilization. In your makeshift shelter, cobbled together from scavenged metal and desperation, the heat builds like a living thing. Outside, the temperature climbs past survivable limits—again. Your jury-rigged thermometer reads 31°C and climbing, the numbers glowing ominously in the dim light filtering through rust-stained panels.
This isn't just discomfort. In this new world, heat kills. Equipment fails. Electronics fry. People don't make it through another scorching day without cooling systems that actually work when they're needed most. Your HERO Board sits before you, a technological lifeline in this harsh reality. Today, you're not just learning to read temperature—you're building an automated climate guardian that could mean the difference between survival and becoming another casualty of the changed world.
The DHT11 sensor in your supplies isn't just a component; it's an early warning system. The relay controlling your improvised fan isn't just a switch; it's automated protection that never gets tired, never forgets, never fails to respond when the mercury rises. In the post-apocalyptic landscape of Pandora's Box, smart survivors build smart systems. Dumb ones... well, they don't build anything for very long.
Your LCD display flickers to life, ready to show the readings that determine your fate. Every degree matters. Every automated response could save your life. The wind from your controlled fan might be the difference between another day of survival and becoming part of the wasteland's grim statistics.
What You'll Master in This Mission
When you complete this survival challenge, you'll have built a fully automated climate control system that monitors temperature and responds intelligently to keep you alive in extreme conditions.
You'll be able to:
- Read precise temperature data from a DHT11 environmental sensor
- Display real-time climate information on an LCD screen
- Control high-power devices like fans using relay modules
- Create automated threshold-based responses that activate cooling systems
- Build fail-safe climate monitoring that works 24/7 without human intervention
This isn't theoretical knowledge. This is practical survival engineering—the kind of automated climate control that keeps equipment functional and humans alive when the environment turns hostile.
Understanding Automated Climate Control
Think about the thermostat in a normal building—before the world changed, of course. It constantly measured the temperature and automatically kicked on heating or cooling to maintain comfort. Your survival depends on recreating that intelligence using basic components.
The DHT11 sensor acts as your electronic thermometer, but unlike the old mercury versions, it can talk directly to your HERO Board. It measures both temperature and humidity by detecting changes in electrical resistance as environmental conditions shift. When air gets hotter, the sensor's internal elements respond by changing how much electrical current they allow to pass through—your microcontroller reads these changes and converts them into the actual temperature numbers you need.
The relay module serves as your automated power switch. Regular switches require human hands to flip them, but a relay can be controlled electronically. When your HERO Board sends a signal to the relay, it physically connects or disconnects the power flowing to your fan motor. It's like having an invisible hand that never gets tired, never forgets the rules, and always responds exactly when needed.
Your LCD becomes the control panel that displays critical information in real-time. In emergency situations, you need to know what's happening at a glance. Temperature readings, fan status—all the data that determines whether your cooling system is working or whether you need to evacuate to somewhere safer.
The magic happens in the threshold logic. By programming a specific temperature limit (31°C in today's setup), you create an automated decision-making system. When temperature exceeds that limit, the fan activates. When it drops below, the fan shuts off. No human monitoring required—the system protects you even while you sleep.
Critical Wiring for Survival
Your life depends on these connections being perfect. Double-check everything before powering up.

- DHT11 to Digital Pin 8: This sensor needs a digital pin because it communicates using a specific timing protocol. Pin 8 gives reliable digital communication without interference from other systems.
- Motor Relay to Digital Pin 9: