
ESP32 WiFi Controlled Relay
Control electrical appliances remotely using an ESP32 and Wi-Fi through a web browser without any cloud service.
Inclusive of all taxes
- Secure payments via Razorpay
- 7-day returns on defective items
- GST invoice on every order
Free delivery on orders above ₹2,000
Delivers in 4-7 business days
Check delivery at your pincode
₹4753.00
Inclusive of all taxes
Components
7 items
Difficulty
Intermediate
Build Time
1 – 2 hours
Project Details
How It Works
The ESP32 connects to a Wi-Fi network and starts a local web server on port 80. When a client (smartphone or laptop) accesses the ESP32's IP address, it serves a simple HTML page with ON and OFF buttons. Clicking a button sends an HTTP request to the ESP32 (e.g., /ON or /OFF). The ESP32 parses the request and toggles GPIO 2 accordingly, which controls the relay module. The relay switches the AC load (like a bulb) ON or OFF. This creates a fully local, cloud-free control system.
Prerequisites
Basic knowledge of electronics, familiarity with Arduino IDE, understanding of Wi-Fi concepts, and experience with simple circuits. Users should also be aware of electrical safety when working with AC loads.
What You'll Learn
Learn to connect ESP32 to Wi-Fi networks
Create a local web server on ESP32
Control relay states based on web requests
Generate HTML interfaces for device control
Implement real-world IoT automation
Key Features
Control relays remotely via Wi-Fi
Access control buttons through a web browser
Operates locally without external services
Interface works on smartphones and laptops
Uses affordable, readily available components
What's Included in the Kit

| Component | Qty | Price |
|---|---|---|
![]() | 1 | ₹1682.00 |
![]() | 1 | ₹163.00 |
![]() | 1 | ₹189.00 |
![]() | 1 | ₹0.00 |
![]() | 1 | ₹171.00 |
![]() | 1 | ₹190.00 |
![]() | 1 | ₹0.00 |
Operating Instructions
Pin Connections
| MCU Pin | Connected To | Purpose | Notes |
|---|---|---|---|
| GPIO 2 | Relay IN | Signal to control relay state | Active LOW logic |
| 5V | Relay VCC | Power supply for relay module | - |
| GND | Relay GND | Common ground reference | - |
Tools Required
Safety Precautions
Electrical
- ⚠Disconnect main AC supply before wiring
- ⚠Use relay modules with opto-isolation
- ⚠Keep ESP32 isolated from high voltage
Handling
- ⚠Do not touch live wires
- ⚠Use proper enclosure for safety
Frequently Asked Questions
Q:Can multiple relays be controlled?
Q:Does it require internet?
Q:Can it work with mobile phones?
Q:Is cloud integration possible?
Product images are for illustration purposes only. Actual products may differ in appearance, packaging, or specifications. See our Terms of Service.








