Wine Cellar MQTT Controller Kit: ESP32, DHT22, LDR, 4 Relays
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
Wine Cellar MQTT Controller Kit: ESP32, DHT22, LDR, 4 Relays — an intermediate-level kit.
Wine Cellar MQTT Controller Kit: ESP32, DHT22, LDR, 4 Relays
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 wine cellar MQTT controller: an ESP32 publishes the cellar's temperature, humidity (DHT22) and light (two LDRs) and switches four relays, such as the cooler, fan, humidifier and lights, from MQTT messages on your network.
What's in the box
- ESP32 Dev Board
- DHT22
- LDR × 2
- 4-ch Relay Module
- 0.96in OLED
- 1N4007 Diode × 5
- 10kΩ Resistors × 10
- 100nF Caps × 5
- 400-pt Breadboard
- M-M Wires × 25
- Micro USB Cable
Power: USB. A USB charger is not included.
Skill level: Intermediate (4-5 hours).
Frequently asked questions
Why measure light?
To catch lights left on.
Can it switch mains devices?
The relay can, but mains wiring needs a qualified person.
You'll build a WiFi-connected system that publishes temperature, humidity, and ambient light data to an MQTT broker, while responding to commands by switching four relay channels – all displayed on a crisp OLED screen.
What You'll Build
An IoT dashboard-ready climate monitor that keeps your wine cellar within ideal temperature (12–14 °C) and humidity (60–70 %) ranges. The ESP32 reads the DHT22 and two LDRs, reports to an MQTT broker every few seconds, and can toggle fans, lights, or a humidifier based on remote commands. The OLED gives at-a-glance readings right on the device, making it a perfect prototype for real cellar automation.
What You'll Learn
- Connect and calibrate a DHT22 sensor for accurate temperature and humidity readings
- Publish structured JSON payloads from ESP32 to an MQTT broker and subscribe to command topics
- Control a 4-channel relay module to switch AC loads safely using flyback diodes
- Integrate LDRs to trigger ambient light alerts and safeguard wine from excessive exposure
Kit Contents
| Component | Quantity |
|---|---|
| ESP32 Dev Board | 1 |
| DHT22 | 1 |
| LDR | 2 |
| 4-ch Relay Module | 1 |
| 0.96in OLED | 1 |
| 1N4007 Diode | 5 |
| 10kΩ Resistors | 10 |
| 100nF Caps | 5 |
| 400-pt Breadboard | 1 |
| M-M Wires | 25 |
| Micro USB Cable | 1 |
Who This Kit Is For
This kit is built for intermediate hobbyists and students. Perfect for CBSE physics projects that require working IoT prototypes, B.Tech ECE/EEE mini-projects demonstrating MQTT protocol, or Smart India Hackathon teams needing a reliable sensor-actuator module. If you're at an ATL Tinkering Lab or an IIT / NIT / VIT / BITS Pilani electronics club, the structured build guide and AI companion remove the usual roadblocks.
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 to open the AI companion trained on this specific kit. It walks you through wiring, code, and debugging. If you still need help, our WhatsApp support line responds.
Can I use this kit to monitor a real wine cellar with high humidity?
The DHT22 is rated for 0–100 % RH, so it works in damp cellars. For long-term deployments, we recommend applying a light conformal coating to the sensor and ESP32 to protect against moisture, a technique covered in the build companion.
Do I need to set up my own MQTT broker?
You can use any free cloud MQTT broker like HiveMQ, or run an MQTT broker on a local Raspberry Pi. The AI companion provides ready-to-use configuration snippets and testing steps for each option.
Can the relay module control mains-voltage appliances like a wine cooler compressor?
The relay module can switch up to 10 A at 250 V AC, suitable for small fans or lights. For high-inductive loads like compressors, we suggest adding a snubber circuit or using an external contactor. The companion guide includes safe wiring diagrams for these scenarios.
What's in this kit
- ESP32 Dev Board
- DHT22
- LDR x2
- 4-ch Relay Module
- 0.96in OLED
- 1N4007 Diode x5
- 10kΩ Resistors x10
- 100nF Caps x5
- 400-pt Breadboard
- M-M Wires x25
- Micro USB Cable
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