Pi Zero W Email Alert System Kit: DHT22, PIR, Python SMTP
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
Pi Zero W Email Alert System Kit: DHT22, PIR, Python SMTP — an intermediate-level kit.
Pi Zero W Email Alert System Kit: DHT22, PIR, Python SMTP
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 15-25 days.
Kit at a glance
What you build: An email alert system: a Raspberry Pi Zero W watches temperature and humidity (DHT22) and motion (PIR), and a Python script sends you an email through any SMTP mail service when a threshold is crossed or motion is seen.
What's in the box
- Raspberry Pi Zero W
- DHT22
- HC-SR501 PIR
- 40-pin GPIO Header
- M-F Wires × 20
- MicroSD Card 16GB
- Micro USB Cable
Power: USB. A USB charger is not included.
Skill level: Intermediate (3-4 hours).
Frequently asked questions
Which email service?
Any that allows SMTP sending with an app password.
Can it spam me?
Add a cool-down in code so it sends one email per event.
Imagine a system that watches over your server room, greenhouse, or home, and sends an email the moment temperature spikes or motion is detected. With this kit, you build exactly that—a headless Raspberry Pi Zero W that reads a DHT22 and a PIR motion sensor, then triggers real-time email alerts through an email provider's SMTP server when thresholds are crossed.
What You'll Build
You'll assemble a compact, network-connected monitor that logs temperature, humidity, and motion events, then fires off email notifications. It's a fully functional IoT gadget you can deploy right away for remote equipment monitoring, intruder alerts, or environmental data logging. The final script runs automatically on boot, making it a set-and-forget alert solution.
What You'll Learn
- Configuring a Raspberry Pi Zero W as a headless IoT device
- Wiring and reading data from a DHT22 digital temperature/humidity sensor
- Interfacing with an HC-SR501 PIR motion sensor via GPIO
- Writing Python scripts to send emails through an email provider's SMTP server with app-specific authentication
Kit Contents
| Component | Quantity |
|---|---|
| Raspberry Pi Zero W | 1 |
| DHT22 | 1 |
| HC-SR501 PIR | 1 |
| 40-pin GPIO Header | 1 |
| M-F Wires | 20 |
| MicroSD Card 16GB | 1 |
| Micro USB Cable | 1 |
Who This Kit Is For
This kit is ideal for CBSE students building practical IoT projects, B.Tech ECE/EEE undergraduates exploring embedded systems, and participants in Smart India Hackathon who need a reliable sensor-to-cloud prototype. It also fits perfectly into ATL Tinkering Lab setups and hobbyist workshops looking for a structured, real-world electronics project. If you’re preparing for an engineering mini-project at VIT, BITS, or any NIT, this ready-to-connect kit saves you weeks of chasing parts.
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?
Scan the QR code on the box for instant access to the AI companion. It knows every wire, line of code, and sensor reading in this project. For extra help, reach us on WhatsApp – we reply.
Can I use this kit for a college mini-project?
Absolutely. The project includes full Python code, wiring diagrams, and a working alert system. You can extend it easily for B.Tech IoT or embedded systems submissions, and the AI companion can guide modifications.
Do I need to solder anything?
The GPIO header comes unassembled; you can press-fit it onto the Pi Zero W if no soldering iron is available, although soldering gives a permanent connection. All sensor connections use M-F wires and a breadboard – no soldering required for sensors.
Can I change the temperature or motion trigger limits?
Yes, the Python script is fully editable. The AI companion will walk you through adjusting threshold values, setting custom email subjects, or adding multiple recipients. The entire logic is transparent and under your control.
Pi Zero W monitors DHT22 and PIR. Sends email alert via an email provider's SMTP server when threshold crossed.
What's in this kit
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 15-25 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