{"product_id":"kit-rainwater-harvesting-controller","title":"Rainwater Harvesting Controller Kit with ESP32 + Ultrasonic","description":"\u003ch1\u003eAutomate Your Rainwater Harvesting with an ESP32 Ultrasonic Controller Kit\u003c\/h1\u003e\n\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\n\u003cdiv class=\"specs-strip\"\u003e\n  \u003cspan\u003e\u003cstrong\u003eDifficulty:\u003c\/strong\u003e Advanced\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eBuild Time:\u003c\/strong\u003e 10-12 hours\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eAge:\u003c\/strong\u003e 25+\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eSkill:\u003c\/strong\u003e Embedded Systems \u0026amp; Home Automation\u003c\/span\u003e\n\u003c\/div\u003e\n\n\u003cp\u003eDesign a fully automated rainwater harvesting controller that monitors tank water level with dual ultrasonic sensors, diverts the first flush of dirty roof runoff, and intelligently switches between rainwater and mains water supply based on availability. The system logs every rainfall event and water usage pattern to a microSD card, giving you a complete picture of your water savings.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You’ll Build\u003c\/h2\u003e\n\u003cp\u003eYou’ll assemble and program an ESP32-based controller housed in a waterproof enclosure that connects to your existing rainwater harvesting infrastructure. The controller automatically opens the first-flush diverter valve when rain begins, then switches to tank filling once the initial runoff clears. When the tank is low, it activates a pump and a mains-backup valve to ensure uninterrupted water supply. An OLED display shows real-time tank level, rain status, and system mode, while an RTC timestamps all logged events.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You’ll Learn\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eInterface HC-SR04 ultrasonic sensors with ESP32 using pulse timing for accurate water level measurement.\u003c\/li\u003e\n  \u003cli\u003eProgram real-time clock (DS3231) for event timestamping and scheduling, with battery backup.\u003c\/li\u003e\n  \u003cli\u003eIntegrate rain sensor input and relay control logic to manage diverter and pump valves.\u003c\/li\u003e\n  \u003cli\u003eLog sensor data and events to a microSD card using SPI communication and file system management.\u003c\/li\u003e\n\u003c\/ul\u003e\n\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\u003eHC-SR04\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eRain Sensor\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e4-ch Relay Module\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDS3231 RTC\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eMicroSD Module\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e0.96in OLED\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eLM2596 Buck Converter\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e18650 Cell\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eTP4056 Module\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e100nF Caps\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e10kΩ Resistors\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePCB Prototype Board\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eWaterproof Enclosure\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSoldering Iron\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSolder Wire\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\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\n\u003ch2\u003eWho This Kit Is For\u003c\/h2\u003e\n\u003cp\u003eThis kit is ideal for B.Tech ECE\/EEE students working on sustainable technology projects, DIY home automation enthusiasts in India, and engineers building smart water management solutions for Smart India Hackathon or ATL Tinkering Labs at the advanced level. It also suits professionals setting up automated rainwater harvesting in independent homes, villas, or farmhouses.\u003c\/p\u003e\n\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\n\u003cdetails\u003e\u003csummary\u003eWhat if I get stuck during the build?\u003c\/summary\u003e\u003cp\u003eThe AI companion provides 24\/7 instant answers specific to your project; if you need human help, our support team responds on WhatsApp within 4 hours.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I integrate this controller with Home Assistant or other smart home platforms?\u003c\/summary\u003e\u003cp\u003eYes. The ESP32 can be programmed to send MQTT messages over Wi-Fi. The AI companion includes guidance on integrating with Home Assistant and similar platforms.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow does the first-flush diversion work automatically?\u003c\/summary\u003e\u003cp\u003eThe rain sensor detects the start of rainfall, the controller opens the diverter valve, and a configurable timer (based on roof size) determines when to switch to tank filling. You’ll program the logic step-by-step using the included tutorial.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eIs the enclosure truly waterproof for outdoor installation?\u003c\/summary\u003e\u003cp\u003eThe kit includes an IP65-rated waterproof enclosure with cable glands. The build guide walks you through proper sealing of sensor and power cables to maintain protection.\u003c\/p\u003e\u003c\/details\u003e\n\n\u003cdiv class=\"kit-description\"\u003e\n  \u003cp\u003eUltrasonic level sensor monitors tank. Diverts first-flush, controls pump to mains-backup valve and logs rain events.\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\n\u003ca href=\"\/products\/hc-sr04-ultrasonic-sensor-module-5v-distance-2cm-400cm\"\u003eHC-SR04\u003c\/a\u003e x2\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/bf350-high-precision-strain-gauge-pressure-sensor-module\"\u003eRain Sensor\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/4-channel-relay-opto-isolated-input-board-compoden\"\u003e4-ch Relay Module\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/ds3231-real-time-clock-module-i2c-rtc-with-battery-backup\"\u003eDS3231 RTC\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/microsd-card-reader-spi-module-for-arduino\"\u003eMicroSD Module\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/096in-oled-display-128x64-i2cspi-for-arduino-raspberry-pi\"\u003e0.96in OLED\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/lm2596-buck-converter-step-down-voltage-regulator-module\"\u003eLM2596 Buck Converter\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/18650-cell-37v-2600mah-li-ion-battery\"\u003e18650 Cell\u003c\/a\u003e x2\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/tp4056-1a-li-ion-charger-module-with-protection-micro-usb\"\u003eTP4056 Module\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/capacitor-variety-pack-6-values-100nf-to-470uf-30-pieces\"\u003e100nF Caps\u003c\/a\u003e x10\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 x10\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/esp-wroom-32-breakout-board-pcb-55x52mm\"\u003ePCB Prototype Board\u003c\/a\u003e x2\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/waterproof-enclosure-ip65-abs-plastic-100x68x50mm-for-electronics\"\u003eWaterproof Enclosure\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/soldering-kit-25w-with-solder-wire-flux-paste-compoden\"\u003eSoldering Iron\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/soldering-kit-25w-with-solder-wire-flux-paste-compoden\"\u003eSolder Wire\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 Rainwater Harvesting Controller Kit with ESP32 + Ultrasonic?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The Rainwater Harvesting Controller Kit with ESP32 + Ultrasonic includes all components needed: ESP32 Dev Board, HC-SR04, Rain Sensor, 4-ch Relay Module, DS3231 RTC 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 Rainwater Harvesting Controller Kit with ESP32 + Ultrasonic?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"This kit is designed for Expert level makers, suitable for ages 25+. Ultrasonic level sensor monitors tank. Diverts first-flush, controls pump to mains-backup valve and logs rain events. Estimated build time is 10-12 hrs.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Can I buy the Rainwater Harvesting Controller Kit with ESP32 + Ultrasonic online in India?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Yes, the Rainwater Harvesting Controller Kit with ESP32 + Ultrasonic 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\": \"Rainwater Harvesting Controller Kit with ESP32 + Ultrasonic\",\n  \"description\": \"Ultrasonic level sensor monitors tank. Diverts first-flush, controls pump to mains-backup valve and logs rain events.\",\n  \"sku\": \"CDN-KIT-0238\",\n  \"brand\": {\"@type\": \"Brand\", \"name\": \"Compoden\"},\n  \"offers\": {\n    \"@type\": \"Offer\",\n    \"url\": \"https:\/\/compoden.in\/products\/kit-rainwater-harvesting-controller\",\n    \"priceCurrency\": \"INR\",\n    \"price\": \"6135\",\n    \"availability\": \"https:\/\/schema.org\/InStock\",\n    \"seller\": {\"@type\": \"Organization\", \"name\": \"Compoden\"}\n  },\n  \"category\": \"Home Automation\"\n}\n\u003c\/script\u003e\u003cp\u003e\u003cstrong\u003eChoose your assembly option:\u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eSoldering Kit\u003c\/strong\u003e — 25W soldering iron, 60\/40 solder wire, flux, and small perfboard for permanent assembly.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBreadboard Combo\u003c\/strong\u003e — 800-point full-size breadboard with 65-piece jumper wire pack for solderless prototyping.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Compoden","offers":[{"title":"Soldering Kit","offer_id":53459775291757,"sku":"CDN-KIT-0238-SLD","price":5680.0,"currency_code":"INR","in_stock":true},{"title":"Breadboard Combo","offer_id":53459775324525,"sku":"CDN-KIT-0238-BB","price":5070.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/kit-rainwater-harvesting-controller.png?v=1781944327","url":"https:\/\/compoden.com\/products\/kit-rainwater-harvesting-controller","provider":"Compoden","version":"1.0","type":"link"}