- Tue Jan 22, 2019 8:26 am
#80208
Andoniaina wrote:Hello,
I posted comments on the live chat but no one there.
Hence, I post the description of my pblem here.
Thank you in advance for helping me.
Here it is :
I'm trying to command a servo using the esp12-e. For this I use a level converter 3,3V <=> 5V to command the servo from the pin 5 of the ESP8266.
I use also the pin 14 to light a led after the servo has finished rotating.
The sketch uploaded from the arduino IDE worked perfectly until I brought the mechanism to my door downstairs and arriving there, the blud led on the chip is ALWAYS on.
I did nothing except the led dropped down along the way.
So when I reseted the mechanism using RST ==> GND, the blue led went ON until now. I tried to reset again but as soon as the reset is done, here we go, the blue led goes ON !
I tried the many boot mode (CH_PD and GPIO02 down whereas GPIO15 up) but nothing !!!
The blue led goes ON ON and ON
Can you help me please ? I get foolish.
Thank you.
Ando
For me, I noticed this strange behaviour and realized this happens if I use D4 as a GPIO.
I had simply added a line of code-->
pinMode(D4,OUTPUT)
And it always caused the led to be on.