DIY Smart Touch Lamp Conversion: A Step-by-Step Success Story

Hey everyone, I wanted to share my recent project converting an old three-way bulb lamp into a smart touch-controlled lamp. It’s been a fun and rewarding DIY journey, and I’d love to hear if anyone else has tried something similar or has tips to share!

The Project Overview
I started with a basic three-way bulb lamp, aiming to give it smart functionality without replacing the entire setup. The goal was to control the lamp through touch—short taps to turn it on/off and longer presses to cycle through brightness levels. I used an ESP32-S3 board with integrated relays, a custom touch sensor, and some DIY wiring to achieve this.

Challenges and Solutions
One of the initial hurdles was getting the touch sensor to work reliably. I experimented with different touch thresholds and eventually found that adjusting the voltage references and adding an IIR filter made a big difference. The sensor now works consistently whether I’m sitting or standing near the lamp.

Another challenge was housing the electronics. I opted to place them in a small box attached to the lamp’s cord, keeping the design sleek while ensuring everything was secure. I also had to carefully route the wires to avoid any interference or tangling.

Tips for Others
If you’re considering a similar project, here are a few tips:

  • Plan Your Wiring: Take your time to map out where each wire will go to avoid complications later.
  • Use High-Quality Components: Invest in good-quality relays and connectors to ensure reliability.
  • Test Touch Settings: Spend time fine-tuning the touch sensor settings to suit your environment.
  • Screw Down Connections: Use screw terminals for power connections to ensure a solid connection.

Final Thoughts
Seeing the lamp come to life was really satisfying. It’s now a functional and stylish addition to my home, and I love how it combines classic design with modern smart tech. The best part is being able to control it with just a touch—no buttons or switches needed!

Has anyone else converted an old lamp into a smart one? I’d love to hear about your experiences or any alternative methods you’ve tried. Happy tinkering! :rocket: