Successfully Integrating Sonoff with LED Touch Button

Hi everyone, I wanted to share my recent project integrating a Sonoff smart switch with a basic LED belt that has a touch button. Initially, I faced a challenge because I wanted to keep the touch functionality intact while controlling the LED via the Sonoff. After some research and experimentation, I found a solution that works perfectly!

I started by looking into the Sonoff’s GPIO pins, specifically GPIO14, to see if I could simulate touch inputs. The touch button panel uses the SJT8003 chip, which I found to be compatible with this approach. I reached out to the community for advice and received some great tips on soldering and wiring techniques.

Here’s what I did:

  1. I carefully soldered the necessary connections to GPIO14 on the Sonoff. This involved a bit of trial and error to ensure the right polarity and signal strength.
  2. I programmed the Sonoff to send specific signals that mimic the touch input when activated. This was done using a simple script that triggers the GPIO pin at the right intervals.
  3. I tested the setup extensively to ensure that both the touch button and the Sonoff controls work seamlessly together.

The result is fantastic! Now, I can control the LED belt using either the touch button or my smartphone through the Sonoff app. It’s been a great learning experience, and I’m really happy with how it turned out.

If anyone else is looking to do something similar, I’d be happy to share more details or answer any questions. Happy tinkering! :rocket: