-->
Page 1 of 1

ESP-12E onboard LED

PostPosted: Sun Aug 16, 2015 4:59 pm
by DannyBoy
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?

Re: ESP-12E onboard LED

PostPosted: Sat Aug 29, 2015 4:40 am
by Protoneer
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

Re: ESP-12E onboard LED

PostPosted: Mon Feb 06, 2017 2:25 pm
by TStef
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?

Re: ESP-12E onboard LED

PostPosted: Mon Feb 06, 2017 4:30 pm
by martinayotte
When connecting an LED to a GPIO, it can be either in Sink or Source mode :
Image