I want to have more GPIO'S on the sonoff, so I flashed a pro mini with the extender ino, changed the GPIO to 1 & 3 after I disabled the serial port.
But how to test this if it's working or not? The log doesn't display anything (yet)
Sonoff with ProMini extender
Moderators: grovkillen, Stuntteam, TD-er
Re: Sonoff with ProMini extender
Read this topic http://www.esp8266.nu/forum/viewtopic.p ... t=extender
You can sent commands by setting EXT before the command like this:
http://<ESP IP address>/control?cmd=EXTGPIO,<pin>,<state> // Digital pin = 0 to 13 - state 0/1
http://<ESP IP address>/control?cmd=EXTPWM,<pin>,<value> // PWM pins 3,5,6,9,10,11
http://<ESP IP address>/control?cmd=EXTPulse,<servoPin>,<state>,<duration mS>
http://<ESP IP address>/control?cmd=EXTLongPulse,<servoPin>,<state>,<duration S>
You can sent commands by setting EXT before the command like this:
http://<ESP IP address>/control?cmd=EXTGPIO,<pin>,<state> // Digital pin = 0 to 13 - state 0/1
http://<ESP IP address>/control?cmd=EXTPWM,<pin>,<value> // PWM pins 3,5,6,9,10,11
http://<ESP IP address>/control?cmd=EXTPulse,<servoPin>,<state>,<duration mS>
http://<ESP IP address>/control?cmd=EXTLongPulse,<servoPin>,<state>,<duration S>
Who is online
Users browsing this forum: No registered users and 3 guests