Relay Control Web Server
Smart Home · Board: Pi Pico · Day 17 of 100
Flip a relay from any browser over Wi-Fi using the Pico 2W's smooth web interface. The foundation of every web-controlled appliance project.

How it works
Tapping the on-screen switch sends an HTTP request to the Pico W, which energizes the relay coil. The relay's contacts then close the separate high-voltage circuit for the appliance, keeping mains power physically isolated from the low-voltage board.
What you'll learn
- Relay electrical isolation
- Web-controlled switching
- Active-low relay logic
- Mains safety separation
Full project: code, wiring diagram & Wokwi simulation
The complete build guide lives in the original repo. Ours is a summary — the real thing is one click away.
Open full project on GitHub ↗Summary by SkillShop. Project by Kritish Mohapatra — code and diagrams belong to the original repo.
More Smart Home builds
Pi Pico
Blynk Relay Control
Control a relay from the Blynk IoT app on your phone via the Pico 2W. Cloud dashboards with zero HTML required.
Read case →
ESP32
Password Lock System
Enter a code on a keypad to unlock — the ESP32 checks it and lights up an LCD and LEDs. Keypad scanning and access logic from scratch.
Read case →
ESP32
Clap Toggle Switch
Clap once to toggle a light on the ESP32 using a sound sensor. Sound-triggered control with debounce done right.
Read case →