Smart Trash Can Auto-Open Kit with ESP32 + DHT22
Build an Auto-Open Touchless Trash Can with ESP32, DHT22 & HC-SR04 – Smart Bin IoT Kit
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Create a hygienic, hands-free trash can that springs open the moment you wave your hand. This kit goes far beyond a simple sensor circuit: you’ll turn an ESP32 into a bidirectional WebSocket server that pushes temperature, humidity, and distance readings to a live browser dashboard every 100 milliseconds. Ideal for smart-home enthusiasts and students who want to understand real-time data streaming, this project blends physical automation with modern web protocols.
What You'll Build
You’ll assemble a working prototype of a touchless trash bin with an auto-open lid triggered by an ultrasonic sensor. A browser-based dashboard displays live graphs of ambient temperature and humidity from the DHT22, plus proximity data from the HC-SR04. The relay module lets you connect an external motor (not included) so the lid physically opens on approach, and you can even trigger the relay remotely from the dashboard.
What You'll Learn
- Configure an ESP32 as a Wi-Fi access point and WebSocket server for real-time, low-latency data exchange.
- Interface the DHT22 temperature and humidity sensor and stream calibrated readings every 100 ms.
- Use an HC-SR04 ultrasonic sensor to detect hand distance and trigger logic for automatic lid control.
- Drive a 5V relay module to switch a DC motor or solenoid, translating digital commands into physical movement.
Kit Contents
| Component | Quantity |
|---|---|
| ESP32 Dev Board | 1 |
| DHT22 Temperature & Humidity Sensor | 1 |
| HC-SR04 Ultrasonic Distance Sensor | 1 |
| 5V Relay Module | 1 |
| 4.7kΩ Resistors | 5 |
| 10kΩ Resistors | 5 |
| 400-point Breadboard | 1 |
| Male-to-Male Jumper Wires | 20 |
| Micro USB Cable | 1 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
B.Tech ECE and EEE students will find this an ideal mini-project or Smart India Hackathon prototype. ATL Tinkering Lab mentors can use it to teach IoT fundamentals with a visible, tangible outcome. CBSE Class 12 students exploring sensor integration and networking will also build strong foundational skills for university labs and competitive events like VIT’s graVITas or BITS Pilani’s tech fests.
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 to launch the AI companion that walks you through each step; you can also send a WhatsApp message for direct help from our support engineers.
Do I need to solder any connections?
No soldering is required. Everything connects on the included breadboard using the jumper wires, making it easy to experiment and reuse.
What motor should I use for the auto-open lid?
The relay can switch any 5 V DC motor or solenoid. We recommend a small 5 V bolt‑on motor and a hinge mechanism (not included) to retrofit an existing trash can.
Can I view the dashboard on my phone?
Yes, the WebSocket dashboard is responsive and runs in any modern browser, so you can monitor and control the bin from your smartphone when connected to the ESP32’s Wi‑Fi network.
Touchless Bin — ESP32 WebSocket server pushes DHT22 and HC-SR04 data to browser dashboard every 100ms bidirectionally.
What's in this kit
- ESP32 Dev Board
- DHT22
- HC-SR04
- 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: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 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