Chat here is you are connecting ESP-xx type modules to existing AVR based Arduino

Moderator: igrr

User avatar
By DannyBoy
#26214 I just found out that the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor).
No wonder I haven't had any luck manipulating it with GPIO1! ;-)
The LED works fine with digitalWrite on pin 2! :-)

Are all ESP-12E modules like that?
User avatar
By Protoneer
#27298
DannyBoy wrote:I just found out that the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor).
No wonder I haven't had any luck manipulating it with GPIO1! ;-)
The LED works fine with digitalWrite on pin 2! :-)

Are all ESP-12E modules like that?


Unfortunately not...
I designed a nice new board with one suppliers ESP-12E just to discover that another suppliers units are using the Pin 2 like you said.

Not totally sure what design is the official one but I am going to to end up removing a bunch of Blue LED's... LOL
User avatar
By TStef
#62180
DannyBoy wrote:I just found out that the onboard LED on my ESP-12E module is connected to GPIO2 pin (thru 470 Ohm internal resistor).
No wonder I haven't had any luck manipulating it with GPIO1! ;-)
The LED works fine with digitalWrite on pin 2! :-)

Are all ESP-12E modules like that?


Mine was indeed on pin 2. However, the logic is inverted, i.e. HIGH turns the LED off while LOW turns it on. Anybody know why?