{"product_id":"kit-smart-trash-can-autoopen-kit-with-esp32-plus-dht22","title":"Smart Trash Can Auto-Open Kit with ESP32 + DHT22","description":"\u003ch1\u003eBuild an Auto-Open Touchless Trash Can with ESP32, DHT22 \u0026amp; HC-SR04 – Smart Bin IoT Kit\u003c\/h1\u003e\n\u003cp class=\"value-summary\"\u003eEvery part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.\u003c\/p\u003e\n\u003cdiv class=\"specs-strip\"\u003e\n  \u003cspan\u003e\u003cstrong\u003eDifficulty:\u003c\/strong\u003e Intermediate\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eBuild Time:\u003c\/strong\u003e 4–5 hours\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eAge:\u003c\/strong\u003e 15–18\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eSkill:\u003c\/strong\u003e Building real-time IoT dashboards with WebSocket\u003c\/span\u003e\n\u003c\/div\u003e\n\u003cp\u003eCreate 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.\u003c\/p\u003e\n\u003ch2\u003eWhat You'll Build\u003c\/h2\u003e\n\u003cp\u003eYou’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.\u003c\/p\u003e\n\u003ch2\u003eWhat You'll Learn\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eConfigure an ESP32 as a Wi-Fi access point and WebSocket server for real-time, low-latency data exchange.\u003c\/li\u003e\n  \u003cli\u003eInterface the DHT22 temperature and humidity sensor and stream calibrated readings every 100 ms.\u003c\/li\u003e\n  \u003cli\u003eUse an HC-SR04 ultrasonic sensor to detect hand distance and trigger logic for automatic lid control.\u003c\/li\u003e\n  \u003cli\u003eDrive a 5V relay module to switch a DC motor or solenoid, translating digital commands into physical movement.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eKit Contents\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eComponent\u003c\/th\u003e\n\u003cth\u003eQuantity\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eESP32 Dev Board\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDHT22 Temperature \u0026amp; Humidity Sensor\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eHC-SR04 Ultrasonic Distance Sensor\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e5V Relay Module\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e4.7kΩ Resistors\u003c\/td\u003e\n\u003ctd\u003e5\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e10kΩ Resistors\u003c\/td\u003e\n\u003ctd\u003e5\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e400-point Breadboard\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eMale-to-Male Jumper Wires\u003c\/td\u003e\n\u003ctd\u003e20\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eMicro USB Cable\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch2\u003eWhy Buy This Kit Instead of Sourcing Parts Separately\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eFactor\u003c\/th\u003e\n\u003cth\u003eSourcing Separately\u003c\/th\u003e\n\u003cth\u003eCompoden Kit\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eCompatibility checks\u003c\/td\u003e\n\u003ctd\u003eYou verify every part\u003c\/td\u003e\n\u003ctd\u003ePre-tested as a system\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBuild support\u003c\/td\u003e\n\u003ctd\u003eForums and scattered tutorials\u003c\/td\u003e\n\u003ctd\u003eAI companion trained on this exact project\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eTime to first working build\u003c\/td\u003e\n\u003ctd\u003eDays of debugging\u003c\/td\u003e\n\u003ctd\u003eHours, with step-by-step guidance\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eShipping coordination\u003c\/td\u003e\n\u003ctd\u003eMultiple sellers, multiple delays\u003c\/td\u003e\n\u003ctd\u003eOne shipment from Bengaluru in 3-5 days\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch2\u003eWho This Kit Is For\u003c\/h2\u003e\n\u003cp\u003eB.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.\u003c\/p\u003e\n\u003ch2\u003eBuilt and Backed by Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery 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.\u003c\/p\u003e\n\u003cdetails\u003e\u003csummary\u003eWhat if I get stuck during the build?\u003c\/summary\u003e\u003cp\u003eScan 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eDo I need to solder any connections?\u003c\/summary\u003e\u003cp\u003eNo soldering is required. Everything connects on the included breadboard using the jumper wires, making it easy to experiment and reuse.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWhat motor should I use for the auto-open lid?\u003c\/summary\u003e\u003cp\u003eThe 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I view the dashboard on my phone?\u003c\/summary\u003e\u003cp\u003eYes, 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.\u003c\/p\u003e\u003c\/details\u003e\n\n\u003cdiv class=\"kit-description\"\u003e\n  \u003cp\u003eTouchless Bin — ESP32 WebSocket server pushes DHT22 and HC-SR04 data to browser dashboard every 100ms bidirectionally.\u003c\/p\u003e\n  \u003ch4\u003eWhat's in this kit\u003c\/h4\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/esp32-30-pin-development-board-cp2102-wifi-bluetooth\"\u003eESP32 Dev Board\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/dht22-temperature-humidity-sensor-module-accurate-readings\"\u003eDHT22\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/hc-sr04-ultrasonic-sensor-module-5v-distance-2cm-400cm\"\u003eHC-SR04\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/4-channel-relay-board-for-esp32-30-pin-5v-control\"\u003e5V Relay Module\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/resistor-variety-pack-100-pcs-10-values-14w-carbon-film\"\u003e4.7kΩ Resistors\u003c\/a\u003e x5\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/resistor-variety-pack-100-pcs-10-values-14w-carbon-film\"\u003e10kΩ Resistors\u003c\/a\u003e x5\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/breadboard-standard-bundle-830400-tie-points-for-prototyping\"\u003e400-pt Breadboard\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003eM-M Wires x20\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/microusb-cable-1m-charging-data-cord-for-arduino-android\"\u003eMicro USB Cable\u003c\/a\u003e\u003c\/li\u003e\n  \u003c\/ul\u003e\n\u003c\/div\u003e\n\n\u003cscript type=\"application\/ld+json\"\u003e\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What is included in the Smart Trash Can Auto-Open Kit with ESP32 + DHT22?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The Smart Trash Can Auto-Open Kit with ESP32 + DHT22 includes all components needed: ESP32 Dev Board, DHT22, HC-SR04, 5V Relay Module, 4.7kΩ Resistors and more. Everything is pre-tested for compatibility and shipped from Bengaluru, India.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What skill level is required for the Smart Trash Can Auto-Open Kit with ESP32 + DHT22?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"This kit is designed for Intermediate level makers, suitable for ages 15-18. Touchless Bin — ESP32 WebSocket server pushes DHT22 and HC-SR04 data to browser dashboard every 100ms bidirectionally. Estimated build time is 4-5 hrs.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Can I buy the Smart Trash Can Auto-Open Kit with ESP32 + DHT22 online in India?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Yes, the Smart Trash Can Auto-Open Kit with ESP32 + DHT22 is available online at Compoden (compoden.in), India's AI-powered electronics and robotics store. Ships from Bengaluru in 1-5 business days across India.\"\n      }\n    }\n  ]\n}\n\u003c\/script\u003e\n\n\u003cscript type=\"application\/ld+json\"\u003e\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"Product\",\n  \"name\": \"Smart Trash Can Auto-Open Kit with ESP32 + DHT22\",\n  \"description\": \"Touchless Bin — ESP32 WebSocket server pushes DHT22 and HC-SR04 data to browser dashboard every 100ms bidirectionally.\",\n  \"sku\": \"CDN-KIT-3518\",\n  \"brand\": {\"@type\": \"Brand\", \"name\": \"Compoden\"},\n  \"offers\": {\n    \"@type\": \"Offer\",\n    \"url\": \"https:\/\/compoden.in\/products\/kit-smart-trash-can-autoopen-kit-with-esp32-plus-dht22\",\n    \"priceCurrency\": \"INR\",\n    \"price\": \"1380\",\n    \"availability\": \"https:\/\/schema.org\/InStock\",\n    \"seller\": {\"@type\": \"Organization\", \"name\": \"Compoden\"}\n  },\n  \"category\": \"ESP32 Fundamentals\"\n}\n\u003c\/script\u003e","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53463887839597,"sku":"CDN-KIT-3518","price":1560.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/kit-smart-trash-can-autoopen-kit-with-esp32-plus-dht22.png?v=1781949378","url":"https:\/\/compoden.com\/products\/kit-smart-trash-can-autoopen-kit-with-esp32-plus-dht22","provider":"Compoden","version":"1.0","type":"link"}