STEP 1 / 6ESP + IOT

ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors

476.ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors We will walk you through the process of constructing an Internet of Things shield PCB for the ESP32 as well as a web server…

ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors - source illustration from page 1284
PROJECT#476
TRACKIoT
PARTS09
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

ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors is a iot project. 476.ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors We will walk you through the process of constructing an Internet of Things shield PCB for the ESP32 as well as a web server…

Source pages
1284-1292
Named parts
9
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.
  • Keep liquids, loose metal, and uninsulated wires away from the bench.
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 INVENTORY9 PART LINES
PARTTYPEQTYREADY
MDOIT ESP32 DEVKIT V1 BoardMODULE1
What's this?Image, role, pros, cons, handling & specifications
ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors - source illustration from page 1284MODULE LEARNING VIEW

DOIT ESP32 DEVKIT V1 Board

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 DOIT ESP32 DEVKIT V1 Board; similar-looking parts are not always interchangeable.
  • Confirm operating voltage, logic level, pinout, memory, USB interface, and maximum GPIO current.
Px 5mm LEDPART1
What's this?Image, role, pros, cons, handling & specifications
Red 5mm LEDPART LEARNING VIEW

x 5mm LED

An output component turns an electrical control signal into light, sound, motion, switching, or displayed information.

What it does here

It presents the circuit result or acts on the physical world.

Buy / compare this part

Advantages

  • Makes system state visible
  • Can be tested separately
  • Supports clear troubleshooting

Limitations

  • Loads may exceed controller current
  • Polarity or driver direction can matter
  • Inductive loads create voltage spikes

Handling

  • Use the documented driver stage
  • Check polarity and load current
  • Add flyback protection for inductive loads

Specifications to verify

  • Use the exact model, value, package, and rating listed for x 5mm LED; similar-looking parts are not always interchangeable.
  • Confirm voltage, current, polarity, interface, driver requirements, and duty cycle.
Presistors with 330 Ohm eachPART1
What's this?Image, role, pros, cons, handling & specifications
ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors - source illustration from page 1284PART LEARNING VIEW

resistors with 330 Ohm each

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 resistors with 330 Ohm each; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
Px BME280 (4 pins) (4 pins)PART1
What's this?Image, role, pros, cons, handling & specifications
ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors - source illustration from page 1284PART LEARNING VIEW

x BME280 (4 pins) (4 pins)

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 BME280 (4 pins) (4 pins); similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
Mx mini-PIR motion sensorMODULE1
What's this?Image, role, pros, cons, handling & specifications
ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors - source illustration from page 1284MODULE LEARNING VIEW

x mini-PIR motion sensor

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 mini-PIR motion sensor; similar-looking parts are not always interchangeable.
  • Confirm supply range, output type, measurement range, accuracy, response time, and pin order.
Px light dependent resistorPASSIVE1
What's this?Image, role, pros, cons, handling & specifications
Axial through-hole resistorPASSIVE LEARNING VIEW

x light dependent resistor

A passive component sets current, voltage, timing, filtering, or signal behaviour without adding gain.

What it does here

Its exact value and tolerance determine how the surrounding stage behaves.

Buy / compare this part

Advantages

  • Simple and dependable
  • Low cost
  • Easy to measure before installation

Limitations

  • A wrong value can stop or damage the circuit
  • Ratings must not be exceeded
  • Polarized parts require correct orientation

Handling

  • Measure unclear values
  • Observe capacitor polarity
  • Avoid overheating leads while soldering

Specifications to verify

  • Use the exact model, value, package, and rating listed for x light dependent resistor; similar-looking parts are not always interchangeable.
  • Confirm value, tolerance, power or voltage rating, polarity, and package size.
Px 10k Ohm resistorPASSIVE1
What's this?Image, role, pros, cons, handling & specifications
10kΩ axial through-hole resistorPASSIVE LEARNING VIEW

x 10k Ohm resistor

A passive component sets current, voltage, timing, filtering, or signal behaviour without adding gain.

What it does here

Its exact value and tolerance determine how the surrounding stage behaves.

Buy / compare this part

Advantages

  • Simple and dependable
  • Low cost
  • Easy to measure before installation

Limitations

  • A wrong value can stop or damage the circuit
  • Ratings must not be exceeded
  • Polarized parts require correct orientation

Handling

  • Measure unclear values
  • Observe capacitor polarity
  • Avoid overheating leads while soldering

Specifications to verify

  • Use the exact model, value, package, and rating listed for x 10k Ohm resistor; similar-looking parts are not always interchangeable.
  • Confirm value, tolerance, power or voltage rating, polarity, and package size.
Px pushbuttonPART1
What's this?Image, role, pros, cons, handling & specifications
ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors - source illustration from page 1284PART LEARNING VIEW

x pushbutton

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 pushbutton; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
BA set of jumper wiresBUILD1
What's this?Image, role, pros, cons, handling & specifications
ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors - source illustration from page 1284BUILD LEARNING VIEW

A set of jumper wires

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 A set of jumper wires; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
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

476.ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors We will walk you through the process of constructing an Internet of Things shield PCB for the ESP32 as well as a web server dashboard to manage it. The shield includes a BME280 sensor, which measures temperature, humidity, and pressure; an LDR, which measures how sensitive an object is to light; a PIR motion sensor; a status LED; a pushbutton; and a terminal

socket, which can be used to connect a relay module or any other type of output. IoT Shield Features The Internet of Things sensor shield was made specifically to be stacked atop an ESP32. Because of this, in order to use our PCB, you will need an ESP32 board that is identical to ours. The board that we're using is an ESP32 DEVKIT DOIT V1 (the model with 36 GPIOs). You can still complete this project even if you have a different model of ESP32 by building the circuit on a breadboard or modifying the PCB layout and wiring so that it is compatible with your ESP32 board. The shield includes the following components: a BME280 temperature, humidity, and pressure sensor; a light-dependent resistor (LDR); a passive infrared (PIR) motion sensor; a status on-board LED and pushbutton; a three-pin socket that provides access to GND, 5V, and a GPIO where any output can be connected; and an on-board LED that displays the current status of the shield (like a relay module for example). ESP32 IoT Shield Pin Assignment The pin assignments for each component of the Internet of Things shield

02

are detailed in the following table

Project build note

Web Server (IoT Dashboard) Features We will construct a web server so that the shield can be controlled. You can, however, program the sensor shields however you like using any other web server, or you can integrate it with a home automation platform if you so choose. The following is a list of the web server features that can be used to control

03

the IoT shield

Project build note

You are required to log in with a username and password before you can access the web server (read: ESP32 Web Server HTTP Authentication: Username and Password Protected). You will be able to access the web server once you have successfully authenticated yourself using the appropriate credentials. You can log out of the website by clicking the icon that is located at the very top of the page. After that, you will be required to log in once more.

There are two toggle switches: one controls the output socket, and the other controls the status LED that is located on the board. The status LED can also be controlled by pressing the button that is physically located on the shield. The status of the LED will be updated on the website at regular intervals (like in this tutorial: Control Outputs with Web Server and a Physical Button Simultaneously). You can activate or deactivate something on the ESP32 by using the toggle switch for the status LED, and the LED will provide you with visual feedback of what is occurring. On the web server, the temperature, humidity, and luminosity values are presented, and they are kept up to date automatically through the utilization of server-sent events (SSE). At long last, there is a card that indicates whether or not motion was picked up. You can dismiss the "Motion Detected" warning by clicking on the card after you have been notified that motion has been detected. These are the primary functions that will be included in the ESP32 IoT dashboard that we are going to develop. Testing the Circuit on a Breadboard It is essential to test the circuit on a breadboard prior to designing and constructing the PCB shield. You can still complete this project even if you don't want to make a PCB by building the circuit on a breadboard instead of a printed circuit board.

04

Parts Required

Project build note

DOIT ESP32 DEVKIT V1 Board 2x 5mm LED 2 resistors with 330 Ohm each 1x BME280 (4 pins) (4 pins) 1x mini-PIR motion sensor 1x light dependent resistor 2x 10k Ohm resistor 1x pushbutton Breadboard A set of jumper wires

05

Circuit Diagram

Project build note

Testing the Multisensory Shield Start up the Serial Monitor with the baud rate set to 112500. To print the ESP IP address, you will need to press the ESP32 RST button.

Launch your web browser, then type the ESP32's IP address into the address bar. The page that you've requested should load now. To access the web server, enter your username and password in the appropriate fields. Both the username and password for the account are set to admin by default. You have the ability to alter that in the code. Following the successful entry of the correct credentials, you will have access to the functionalities of the dashboard. There are two toggle switches: one controls the additional output, while the other controls the status LED.

The shield's status LED can be controlled using both the toggle switch and the physical button on the shield. On the website, the current state is always displayed in the most recent version. There is an additional button that can be toggled to control an additional output, such as a relay module. The most recent sensor readings can be seen on the web server. Automatically using server-sent events, the readings are synchronized and updated once every ten seconds. This indicates that whenever the ESP32 obtains new readings, it notifies the client by way of an event (your browser). When this event takes place, the fields get refreshed with their most recent readings. At long last, there is a card that indicates whether or not motion was picked up by the camera. The message "Motion Detected" appears on the screen whenever motion is recognized. Additionally, using server-sent events, this message is kept up to date automatically. Following the display of this notification, you will be able to access the motion card by clicking on it. It will get rid of the warning message and

instead display the words "No motion." We are hopeful that you have found this project to be helpful and that you will be able to construct it on your own. You are free to use any other code that is suitable for your purposes when programming the IoT Shield. For instance, you are able to control the output in accordance with the current temperature value.

Ready to continue?
PROJECT ACHIEVED

You built ESP32 IoT Shield PCB with Dashboard for Outputs and Sensors.

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

ESP32 LoRa Sensor Monitoring with Web Server (Long Range Communication) project thumbnail featuring BME280 sensor for measuring temperature, humidity, and pressure It ought, Preparing the Arduino IDE, Installing libraries
NEXT IOT ADVENTURE

ESP32 LoRa Sensor Monitoring with Web Server (Long Range Communication)

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

Start this project
Browse all 500 projects