I wan to use a ESP8266-ESP01 to control a servo. My idea is to use GPIO2 to control the power to the servo via a transistor as a switch and the GPIO0 to control the control signal to the servo.
The idea is to prevent the servo to be constantly draining from Vcc (a battery), only when GPIO2 is HIGH then the transistor will allow the current to flow through and the servo should have power. Then I can send the control signal to the servo to rotate.
I was told that those pins need to be in a...
Using GPIO0 AND GPIO2 on ESP8266 ESP01
The idea is to prevent the servo to be constantly draining from Vcc (a battery), only when GPIO2 is HIGH then the transistor will allow the current to flow through and the servo should have power. Then I can send the control signal to the servo to rotate.
I was told that those pins need to be in a...
Using GPIO0 AND GPIO2 on ESP8266 ESP01