hang esp when have the Load In GPIO!!!
Posted:
Tue Nov 24, 2015 11:30 am
by nimaaryamehr
my esp hang when i reset that and have the load(even one LED) in gpio
but without load reset without problem؟؟
sory for my english
Re: hang esp when have the Load In GPIO!!!
Posted:
Tue Nov 24, 2015 11:39 am
by martinayotte
On which GPIO are you placing your LED ?
Because if you place a LED on GPIO2 or GPIO0 to GND, it is acting like a pull-down, preventing to boot in execute mode.
For those pins, you need to reverse the LED polarity thru VCC, and in the software the polarity will be reverse too, LOW will make the LED turn On.
Re: hang esp when have the Load In GPIO!!!
Posted:
Tue Nov 24, 2015 11:48 am
by Venkatesh
Try to reverse it
(1) Connect LED (-) to GPIO2 and LED (+) to Vcc (3.3v) with 220R.
(2) Connect a 3K3 or more resistor between GPIO 2 and Vcc (3.3v), this should be parallel to led connection.
Now in code, use LOW to turn led on and HIGH to turn it off.
Re: hang esp when have the Load In GPIO!!!
Posted:
Tue Nov 24, 2015 1:13 pm
by nimaaryamehr
ohhh So great it be solved
soooooooooooooo tnnnnnnnnnnx
Close Topic