TinkerExplorerv1.0.0

Weather Station

Create a simple mini weather station using temperature and light sensor.

2026-04-143 min read
Sensor MeasurementSignals#UNDA.Xplora

Introduction

What’s the weather like today? Is it sunny outside, or are there clouds in the sky? Does the air feel hot, or is it cool?

The weather changes every day. It helps us decide what clothes to wear, what games we can play outside, and even affects how plants and animals behave.

Sometimes we try to guess the weather by looking at the sky or feeling the air with our hands. But wouldn’t it be more fun to build something that can measure it for real?

In this project, you’ll build a weather station that helps you observe and record the weather around you

This mini weather station uses a light sensor to tell how bright or dark it is. This helps you know if it’s sunny, cloudy, or getting close to sunset and temperature sensor to measure how hot or cold the air is.

With these sensors, you’ll be able to track how the weather changes during the day, compare morning and afternoon temperatures, and even see how indoor and outdoor weather feels different.

So no more weather guessing. Now you can read the weather like a meteorologist, using real tools and sensors to measure, track, and understand what’s happening in the world around you.

Let’s start building

Weather Station Circuit on Xplora 3D Simulator

Build the Project

In this section we will explore how to use UNDA.Xplora to build the mini Weather Station.

Components Used

#NameComponentQtyDescription
1Light Sensor (LDR)
Light Sensor (LDR)
1

Senses the ambient light intensity

2Temperature Sensor
Temperature Sensor
1

TMP 36 with operating range between -40°C to +125°C

3Resistor
Resistor
1

10 Kilo-ohm Resistor

4Jumper Wire
Jumper Wire
2

Male-Male Jumper Wires

5Breadboarding Jumper Wires
Breadboarding Jumper Wires
6

Choose breadboarding wires that fit easily between connection points

6Battery Connector
Battery Connector
1

9V Battery Connector

7Battery
Battery
1

UNDA 9V Rechargeable Battery

8UNDA:Xplora
UNDA:Xplora
1

Xplora Electronics Kit

Step 1

Wiring Connections3 connections
FromWire / PartToNote
Pin 1Temperature SensorBreadboard Pin f6Positive pin of sensor connected on the breadboard
Pin 2Temperature SensorBreadboard Pin f7Signal pin of sensor connected on the breadboard
Pin 3Temperature SensorBreadboard Pin f8Negative pin of sensor connected on the breadboard
Temperature Sensor Placement

Before inserting the TMP36, ensure the flat side faces you. This places Pin 1 (+) on the left, Pin 2 (Signal) in the middle, and Pin 3 (–) on the right.

Product image
1
1
Temperature Sensor Connection

Place the TMP36 with Pin 1 (+) in f6, Pin 2 (Signal) in f7, and Pin 3 (–) in f8.

Step 2

Connecting the Light Sensor on the breadboard.

Wiring Connections3 connections
FromWire / PartToNote
LDR Pin 1LDRBreadboard Pin f22Placing Pin 1 on the breadboard
LDR Pin 2LDRBreadboard Pin f25Placing Pin 2 on the breadboard
Breadboard Pin g25Resistor 10 Kilo-OhmBreadboard Pin g29
Light Sensor Polarity

The light sensor has two legs and it also has no polarity which means it has no positive and negative terminal Pins and therefore you can connect it in any orientation.

Product image
1
2
1
Light Sensor Connection

Insert the light sensor with one leg in breadboard pin f22 and the other in pin f25.

2
Resistor Connection

Insert a 10 kΩ resistor with one leg in breadboard pin g25 and the other leg into breadboard pin g29.

Step 3

Connecting the Sensors to 3.3 Power.

Wiring Connections3 connections
FromWire / PartToNote
Xplora 3.3V Pin
red
Top Positive Breadboard Rail3.3V Power supplied to top positive breadboard rail
Top Positive Breadboard Rail
orange
Breadboard Pin j6Supplies 3.3V power to the temperature sensor
Top Positive Breadboard Rail
orange
Breadboard Pin j22Supplies 3.3V power to the light sensor
Product image
1
2
3
1
3.3V Power Connection

Connect a breadboarding jumper wire from any 3.3V pin on your kit to the top positive breadboard rail.

2
Temperature Sensor Power Connection

Connect a breadboarding jumper wire from the top positive breadboard rail to breadboard pin j6, next to the positive pin of the TMP36 sensor.

3
Light Sensor Power Connection

Connect a breadboarding jumper wire from the top positive breadboard rail to breadboard pin j22, next to the pin 1 of the LDR.

Step 4

Connecting the circuit to Ground (GND).

Wiring Connections3 connections
FromWire / PartToNote
Bottom Negative Breadboard Rail
black
Xplora GND PinConnects bottom negative rail to Ground (GND) Connection
Breadboard Pin j8
black
Top Negative Breadboard RailConnects the Temperature Sensor to GND Connection
Breadboard Pin j29
black
Top Negative Breadboard RailConnects the Light Sensor to GND Connection
Product image
1
2
3
1
Ground Connection

Connect a jumper wire from any GND pin on your kit to any pin of the top negative breadboard rail.

2
Temperature Sensor GND Connection

Run a breadboarding jumper wire from the top negative breadboard rail to breadboard pin j8, (next to the negative pin of the tmp36).

3
Light Sensor GND Connection

Run a breadboarding jumper wire from the top negative breadboard rail to breadboard pin e29.

Step 5

Connecting the sensors to Xplora digital pins.

Wiring Connections2 connections
FromWire / PartToNote
Xplora Pin A5
green
Breadboard Pin j25Signal Jumper Wire for the light sensor
Xplora Pin B1
blue
Breadboard Pin j7Signal Jumper Wire for the temperature sensor
Product image
1
2
1
Signal Wire 1 Connection

Connect a jumper wire from breadboard pin j25 to ADC pin A5 on the UNDA.Xplora board.

2
Signal Wire 2 Connection

Connect a jumper wire from breadboard pin j7 (next to the signal pin of the sensor) to ADC pin B1 on the UNDA.Xplora board.

Xplora Virtual Simulator

Check out the virtual breadboarding for the same project at:
Weather Station

Run the Project

After you are done building the project, connect the battery to the battery connector and then plug it to the power port of your UNDA.Xplora to power it on.

Once it powers on, upload the Weather Station Project and Play Section automatically opens once it is fully loaded. Press the temperature sensor gently but firmly or you can also blow on it and check changes in Play section.

Also check the reading for light levels and cover it if project is done at day time or shine light on it if project is done at night.

Loading Xplora Projects

Refer to Xplora Menu - Projects on how to load the project on your UNDA.Xplora.

Observation

When you press the temperature sensor gently but firmly, or blow on it, the temperature reading in the Play Section changes, showing how the sensor responds to heat from your body or breath.

At the same time, the light level reading also changes—if you cover the LDR during the day, the value decreases, and if you shine light on it at night, the value increases. This shows how both sensors detect and respond to changes in their environment.