STEP 1 / 6ESP + IOT

ESP8266 Weather Station with Arduino

When I first heard about the ESP8266 in last year, I had no idea what to do with it. I'm now really interested in how easy it is to connect an Arduino to the Internet. Like others, I star…

Circuit Atlas themed schematic for ESP8266 Weather Station with Arduino
PROJECT#406
TRACKIoT
PARTS07
STAGES06
STEP 1 / 6 · Overview

Know the mission before touching a wire.

Understand what you are making, prepare the right tools, and make the workbench safe.

01

Project details

ESP8266 Weather Station with Arduino is a iot project. When I first heard about the ESP8266 in last year, I had no idea what to do with it. I'm now really interested in how easy it is to connect an Arduino to the Internet. Like others, I star…

Source pages
926-932
Named parts
7
Build goal
Working, tested prototype
02

Tools you need

  • Digital multimeter
  • Wire stripper and side cutters
  • Soldering iron with a fine tip
  • Current-limited bench supply
  • Computer with a data-capable USB cable

Use eye protection, good lighting, and a clean insulated surface throughout the build.

03

Safety precautions

  • Disconnect every power source before changing a connection.
  • Check component polarity, pinout, and supply voltage twice.
  • Use a current limit for the first power-up.
  • This project may involve hazardous voltage. Work only with qualified supervision and proper isolation.
Ready to continue?
STEP 2 / 6 · Parts library

Gather, identify, and understand every part.

Use the standardized inventory, then open What's this? to learn each part's role, advantages, limitations, handling, and specifications.

NAMED PROJECT INVENTORY7 PART LINES
PARTTYPEQTYREADY
Px stripboard 20x15 verticalPART1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for ESP8266 Weather Station with ArduinoPART LEARNING VIEW

x stripboard 20x15 vertical

A named project component whose exact role is defined by the source circuit and build guide.

What it does here

It performs a documented electrical, control, interface, or construction function in this project.

Buy / compare this part

Advantages

  • Selected for this project
  • Can be checked independently
  • Supports modular troubleshooting

Limitations

  • Substitutes may differ
  • Generic names can hide variants
  • Pinouts and ratings vary

Handling

  • Compare the received part with the source
  • Keep it labelled
  • Do not force connectors or adjusters

Specifications to verify

  • Use the exact model, value, package, and rating listed for x stripboard 20x15 vertical; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
Px ESP01PART1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for ESP8266 Weather Station with ArduinoPART LEARNING VIEW

x ESP01

A named project component whose exact role is defined by the source circuit and build guide.

What it does here

It performs a documented electrical, control, interface, or construction function in this project.

Buy / compare this part

Advantages

  • Selected for this project
  • Can be checked independently
  • Supports modular troubleshooting

Limitations

  • Substitutes may differ
  • Generic names can hide variants
  • Pinouts and ratings vary

Handling

  • Compare the received part with the source
  • Keep it labelled
  • Do not force connectors or adjusters

Specifications to verify

  • Use the exact model, value, package, and rating listed for x ESP01; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
Pfriendly compared to the official one)PART1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for ESP8266 Weather Station with ArduinoPART LEARNING VIEW

friendly compared to the official one)

A named project component whose exact role is defined by the source circuit and build guide.

What it does here

It performs a documented electrical, control, interface, or construction function in this project.

Buy / compare this part

Advantages

  • Selected for this project
  • Can be checked independently
  • Supports modular troubleshooting

Limitations

  • Substitutes may differ
  • Generic names can hide variants
  • Pinouts and ratings vary

Handling

  • Compare the received part with the source
  • Keep it labelled
  • Do not force connectors or adjusters

Specifications to verify

  • Use the exact model, value, package, and rating listed for friendly compared to the official one); similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
PDHT11 or DHT22PART1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for ESP8266 Weather Station with ArduinoPART LEARNING VIEW

DHT11 or DHT22

A named project component whose exact role is defined by the source circuit and build guide.

What it does here

It performs a documented electrical, control, interface, or construction function in this project.

Buy / compare this part

Advantages

  • Selected for this project
  • Can be checked independently
  • Supports modular troubleshooting

Limitations

  • Substitutes may differ
  • Generic names can hide variants
  • Pinouts and ratings vary

Handling

  • Compare the received part with the source
  • Keep it labelled
  • Do not force connectors or adjusters

Specifications to verify

  • Use the exact model, value, package, and rating listed for DHT11 or DHT22; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
Mshield for a BMP180 (the one with 4 pins)MODULE1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for ESP8266 Weather Station with ArduinoMODULE LEARNING VIEW

shield for a BMP180 (the one with 4 pins)

A sensor converts a physical condition into an electrical signal the circuit can measure.

What it does here

It provides project input as an analogue, digital, resistive, frequency, or calibrated signal.

Buy / compare this part

Advantages

  • Adds real-world awareness
  • Can usually be tested independently
  • Often supports calibration

Limitations

  • Readings can drift
  • Placement affects results
  • Some sensors need warm-up or calibration

Handling

  • Protect the sensing surface
  • Observe supply voltage and polarity
  • Keep signal leads away from noisy power wiring

Specifications to verify

  • Use the exact model, value, package, and rating listed for shield for a BMP180 (the one with 4 pins); similar-looking parts are not always interchangeable.
  • Confirm supply range, output type, measurement range, accuracy, response time, and pin order.
Mx sensor shield for temperature and lightMODULE1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for ESP8266 Weather Station with ArduinoMODULE LEARNING VIEW

x sensor shield for temperature and light

A sensor converts a physical condition into an electrical signal the circuit can measure.

What it does here

It provides project input as an analogue, digital, resistive, frequency, or calibrated signal.

Buy / compare this part

Advantages

  • Adds real-world awareness
  • Can usually be tested independently
  • Often supports calibration

Limitations

  • Readings can drift
  • Placement affects results
  • Some sensors need warm-up or calibration

Handling

  • Protect the sensing surface
  • Observe supply voltage and polarity
  • Keep signal leads away from noisy power wiring

Specifications to verify

  • Use the exact model, value, package, and rating listed for x sensor shield for temperature and light; similar-looking parts are not always interchangeable.
  • Confirm supply range, output type, measurement range, accuracy, response time, and pin order.
MESP8266 - controller board / ICMODULE1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for ESP8266 Weather Station with ArduinoMODULE LEARNING VIEW

ESP8266 - controller board / IC

A programmable controller that reads inputs, makes decisions, and drives the project's outputs.

What it does here

It is the control centre and must use the documented board, pin map, supply, and logic level.

Buy / compare this part

Advantages

  • Reprogrammable and reusable
  • Large learning ecosystem
  • Complex behaviour remains changeable

Limitations

  • GPIO voltage and current are limited
  • Some pins affect boot or communication
  • Loads normally need a driver

Handling

  • Disconnect power before rewiring
  • Avoid static discharge
  • Never power motors, relays, or pumps directly from GPIO

Specifications to verify

  • Use the exact model, value, package, and rating listed for ESP8266 - controller board / IC; similar-looking parts are not always interchangeable.
  • Confirm operating voltage, logic level, pinout, memory, USB interface, and maximum GPIO current.
Ready to continue?
STEP 4 / 6 · Source code

Confirm the hardware-only control path.

This project does not include firmware in the source. The circuit itself provides the required behaviour.

01

How to connect

  1. Match every controller label to the circuit view and source pin map.
  2. Join grounds before signal wires when separate low-voltage supplies are used.
  3. Keep motors, relays, pumps, and other loads on a suitable driver and external supply.

Common mistakes

Reversed VCC/GND, board-label versus GPIO-number confusion, missing common ground, and charge-only USB cables.

Troubleshoot

Disconnect loads, continuity-test one path at a time, then test with a current limit.

02

Software preparation

No IDE, board package, library, or firmware upload is required for this project.

If you add a programmable controller as an extension, document its pin map separately.

03

How to upload code

The original design is implemented entirely in hardware, so proceed after verifying the circuit and supply.

Ready to continue?
STEP 5 / 6 · Build

Assemble, deploy, test, and troubleshoot.

Use the complete source notes in build order, then pass the final checks before calling the project finished.

ASSEMBLY

Build in functional stages

  • Power and regulation
  • Controller or processing stage
  • Inputs and sensors
  • Outputs and loads
  • Enclosure and strain relief
TEST

Power up safely

  • Inspect unpowered continuity first
  • Apply the lowest safe current limit
  • Measure supply rails before signals
  • Add one load at a time
  • Record expected and actual results
TROUBLESHOOT

Work from simple to complex

  • Confirm power, ground, polarity, and orientation
  • Compare each pin with the source
  • Test inputs separately from outputs
  • Replace only one variable at a time
  • Power off before every correction
PROJECT-SPECIFIC BUILD NOTES

Follow the documented instructions.

These notes come from this project's source and remain in their original order.

01

Project overview

Project build note

When I first heard about the ESP8266 in last year, I had no idea what to do with it. I'm now really interested in how easy it is to connect an Arduino to the Internet. Like others, I started by putting together a weather station on a breadboard and sending data to thingspeak.com. This leads to a very small stripboard layout and the software package that is needed.

Why stripboard rather than etch a PCB? A lot of good PCB layouts are out there. But I want to make something simple enough that anyone can do it at home. It's easy to get a soldering iron, stripboards, and parts. But it's often hard to etch a PCB. So, my task was to make the design on a stripboard that was the same size and worked as well as a PCB that had been etched. What functions does it have? Measure the temperature, the humidity, the pressure, and the amount of light. All the information to Thingspeak Arduino can turn on and off ESP8266 to save energy and add more digital IOs. Works on 5 to 12 V and much more.

Why do you need ESP8266 and Arduino? Each one has its own good points. When it comes to sensors, the Arduino is perfect. And the ESP8266 is great for connecting to the Internet. And if I want to save energy, I can turn off the Internet.

02

And best of all

Project build note

The weather functions are just one part of the app. Because the Arduino has the following sensor pinouts, you can use this board to measure almost

03

anything

Project build note

2x analogue, 6x digital I2C connections for WIRE 1x reset 1x click

04

You need the following parts to build this weather station

Project build note

1x stripboard 20x15 vertical 1x ESP01 1x Arduino Mini Clone (this layout Arduino Mini, I chose the clone version because the position of A4 and A5 is more stripboard friendly compared to the official one) DHT11 or DHT22 1 shield for a BMP180 (the one with 4 pins) 1x sensor shield for temperature and light

05

Capacitors

Project build note

3x 100 µF (*) Z-diode 1x 3.3 V Resistor: 1x 10 kΩ 1x 360 Ω 1x 150 Ω (for red LED) (for red LED)

06

AMS 1117

Project build note

1x 3.3 V 1x 5 V (*) LEDs: 1x red 1 green or one with two colors

07

Headers

Project build note

1x 12x1 female

1x 6x1 female 2x 5x1 female 5x 4x1 female 1x 3x1 female 1x 2x1 female 3x 3x1 male (*) 1x 4x1 male 1x 4x1 male 90° 1x 3x1 male 90°

You can get rid of one of these parts if you only want a 5V version. First, cut the stripes out of the stripboard where the drawing shows. Use the bottom view picture to make this easier. At the end, count your cuts to make sure you don't connect them wrong. The headers will be soldered to the board in the next step. Pay attention to the heading in the bottom right corner. You also have to solder the wire on the left side into the same hole. Connect every wire to the PCB. It doesn't matter what colour they are. For me, they are only a guide. In the top right corner, one of the holes is used twice. So the resistor also needs to be soldered in at this step. Because the two AMS1117 are surface-mounted parts, you have to get them ready to be mounted through holes. To do this, you need to solder each to a 3x1 male header. After that, it will be easy to put them on the PCB with the resistors, capacitors, and Z-diode. LEDs are hooked up to the male header. The resistor goes on the leg that is green. So, you're here. The PCB has all of the parts. Do the following tests first (with a multimeter) to make sure everything works well and there are no short circuits or high voltages:

1. Check how much resistance there is between (1) and (3). Should be close to 1 k (but not less!). 2. Find out how much resistance there is between (1) and all ground (GND, G) pins. Except for (13)-G, they should all be 0. 3. Connect a 9-volt battery to pin (1) (GND, -) and pin (3) (+). 4. Check the voltages of 5 V on pins 2, 8, 9, 10, 12, and 14. 5. Measure 3.3 V voltages on pin (15). If the board passed all five tests, the components can be put on. Yes, hardware and software are both important. Nodemcu is what makes the ESP8266 connect to the Internet. The Arduino does everything that has to do with the sensors. Arduino and ESP8266 talk to each other through a serial connection, and Arduino uses the SoftwareSerial Library to talk to the ESP8266. The Arduino software has two modes: standard and low power. The standard version only turns on the ESP01 once and sends data to thingspeak.com at short intervals. The low-power one also sends the date regularly, but it does so less often. The ESP01 is turned off between two sending’s.

Ready to continue?
PROJECT ACHIEVED

You built ESP8266 Weather Station with Arduino.

You followed the full workflow from understanding the mission to testing the finished project. That is a real engineering achievement - well done.

ESP8266 WiFi Temperature Logger project thumbnail featuring x ESP8266, x Arduino Pro Mini 328 - 3.3V/8MHz, x DS18B20 Digital Temperature Sensor
NEXT IOT ADVENTURE

ESP8266 WiFi Temperature Logger

Ready to reuse what you learned in another project from the same track?

Start this project
Browse all 500 projects