Smart Home Motion Security Sensor Kit: ESP32, PIR, Relay
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
Smart Home Motion Security Sensor Kit: ESP32, PIR, Relay — an intermediate-level kit.
Smart Home Motion Security Sensor Kit: ESP32, PIR, Relay
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-7 days.
Kit at a glance
What you build: A home automation security sensor: an ESP32 appears in your home automation server as a PIR motion sensor and a relay, so you can get a phone alert when there's movement while you're away and switch a light or siren on through the relay.
What's in the box
- ESP32 Dev Board
- DHT22
- HC-SR501 PIR
- 5V Relay Module
- 4.7kΩ Resistors × 5
- 10kΩ Resistors × 5
- 400-pt Breadboard
- M-M Wires × 20
- Micro USB Cable
Power: USB. A USB charger is not included. A home automation server is not included.
Skill level: Intermediate (3-4 hours).
Frequently asked questions
Is it a certified alarm?
No. It's a learning project.
Where do alerts come from?
From your home automation server's phone app.
With this kit, you’ll build a smart home security sensor that reports motion, temperature, humidity, and actuator state directly to a home automation server using the ESP32’s native API—no cloud dependency, no MQTT broker needed. The HC-SR501 PIR detects human movement, the DHT22 captures ambient conditions, and the 5V relay can switch a siren, light, or any low-voltage alert. Every data point appears instantly as a home automation server entity, ready for automations without extra middleware.
What You'll Build
You’ll create a fully functional wireless security node that streams real-time motion alerts, temperature, and humidity to your home automation server dashboard. The relay output can trigger an alarm or notification based on custom rules—like sounding a buzzer when motion is detected after dark. Because the ESP32 speaks the home automation server API directly, your sensor appears as binary_sensor.motion, sensor.temperature, sensor.humidity, and switch.relay. You can chain them into advanced automations without writing a single line of YAML.
What You'll Learn
- Programming the ESP32 with Arduino IDE to expose sensor entities via the home automation server's native API
- Interfacing digital PIR motion sensors and DHT22 temperature/humidity sensors on a breadboard
- Designing stable pull-up circuits with 4.7kΩ and 10kΩ resistors for reliable sensor data
- Building a home automation server automations that combine motion, temperature, and relay states into practical security logic
Kit Contents
| Component | Quantity |
|---|---|
| ESP32 Dev Board | 1 |
| DHT22 | 1 |
| HC-SR501 PIR | 1 |
| 5V Relay Module | 1 |
| 4.7kΩ Resistors | 5 |
| 10kΩ Resistors | 5 |
| 400-pt Breadboard | 1 |
| M-M Wires | 20 |
| Micro USB Cable | 1 |
Who This Kit Is For
This kit is tailored for intermediate electronics enthusiasts and students in India who are comfortable with basic circuits and want to leap into real home automation. It fits perfectly into B.Tech ECE/EEE IoT projects, Smart India Hackathon prototypes, and ATL Tinkering Lab workshops where ESP32 and a home automation server are becoming essential skills. If you're a mentor guiding students through sensor programming or a hobbyist building a local-first smart home dashboard, you'll find the learning curve smooth and practical.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
The AI companion provides step-by-step guidance for every connection and code upload. For anything beyond, our WhatsApp support replies.
How does this kit connect to a home automation server?
The ESP32 runs firmware that integrates with the home automation server’s native API over Wi-Fi. The AI companion guides you through flashing the board and adding the entities to your server in under 15 minutes.
Is the relay module safe for mains-powered appliances?
The relay can switch up to 250V AC at 10A, but wiring to mains requires electrical safety knowledge. The kit does not include AC cables; we recommend controlling low-voltage sirens or lights if you’re not experienced with high voltage.
What if my DHT22 gives erratic readings?
A 4.7kΩ pull-up resistor is included to stabilise the data line. The AI companion will show you exactly where to place it on the breadboard, and the troubleshooting guide resolves common timing issues.
Home Security — ESP32 uses home automation server's native API to expose temperature, relay and motion as HA entities directly.
What's in this kit
- ESP32 Dev Board
- DHT22
- HC-SR501 PIR
- 5V Relay Module
- 4.7kΩ Resistors x5
- 10kΩ Resistors x5
- 400-pt Breadboard
- M-M Wires x20
- Micro USB Cable
Other projects you can build
Shipping Information
- Prepaid Orders: ₹45 for orders up to ₹1,999, FREE shipping above ₹1,999
- COD Orders: ₹45 shipping for orders up to ₹1,999, FREE shipping above ₹1,999. COD available.
- Delivery Timeline: Dispatch in 3-7 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items