Page 1 of 1

Can I use GPIO 5 on my Sonoff Basic?

Posted: 04 Sep 2018, 11:25
by ewaldharmsen
I am looking into using more GPIO's on my son off basic then the 3 available (1,3,14).

Can I use GPIO 5 for instance? Because when I create a switch input based on gpis 5 and do

Code: Select all

http://<espeasyip>/control?cmd=GPIO,5,1
I see in the log that the value is changed to 1, but when I look at the device, its value is still 0

Re: Can I use GPIO 5 on my Sonoff Basic?

Posted: 04 Sep 2018, 11:39
by vader
No. The Sonoffs have only GPIO 1,3 and 14 available for 'normal' use. If you don't need the LED, you can kick it and you can use GPIO 13 (inversed!) ;)

Re: Can I use GPIO 5 on my Sonoff Basic?

Posted: 04 Sep 2018, 12:55
by ewaldharmsen
Ok thanks for the answer. I am curious why, is the GPIO 5 used for something else?

Re: Can I use GPIO 5 on my Sonoff Basic?

Posted: 04 Sep 2018, 12:57
by grovkillen
Probably not used for anything. You could solder a pin directly to the esp chip but that's hardcore tinkering.

Re: Can I use GPIO 5 on my Sonoff Basic?

Posted: 01 Oct 2018, 11:27
by ewaldharmsen
I found this great guide: www.jackenhack.com/sonoff-switch-i2c/amp/?source=images
It shows how to use GPIO 4 and 5 on a Sonoff Basic.
But I need to upgrade my soldering skills for that:)

For now I will use gpio 13