Testing LED on ESP12E dev kit
Moderators: grovkillen, Stuntteam, TD-er
Testing LED on ESP12E dev kit
Hello all! Complete newbie here to home automation and esp8266. I have ESP Easy running on my dev kit and noticed the "Hardware Settings" page appears to have a way to set GPIO to low o high. Is it possible to make the blue LED (either on the board or on the 8266) turn on/off by changing the pin mode settings and clicking the submit button? I am trying to understand the relationship between GPIO assignments in the software and the actual hardware they are assign to. Thanks in advance for the help!
Mark
Mark
Re: Testing LED on ESP12E dev kit
I think I figured out how to turn on the blue LED. I set sda and scl to gpio16 and set pin mode to low. For some reason I have to reboot to enable the setting.....reloads the settings in flash? I hope that I understand this correctly. Really cool stuff.
If I can figure out how to reduce volt 5 to 3.3 I will set up my hc-sr04.... Fingers crossed!
If I can figure out how to reduce volt 5 to 3.3 I will set up my hc-sr04.... Fingers crossed!
Re: Testing LED on ESP12E dev kit
Yes the original problem is solved.
Re: Testing LED on ESP12E dev kit
This is highly alternativeMarkIngle wrote:I set sda and scl to gpio16 and set pin mode to low.

To my understanding, the blue led is connected to GPIO pin 01, which is also the tx pin. This pin cannot be directly controlled.
The pin modes in the hardware page are intended to preset the levels of GPIO pins after startup.
If you want to flash a led, why not just mount one in series with a resistor to a GPIO pin and use the LED example in the wiki?
Re: Testing LED on ESP12E dev kit
To make sure I understand . GPIO16 is the blue LED on my dev board not the blue LED on the ESP8266 board. Correct?
Re: Testing LED on ESP12E dev kit
Ah, sorry for the mistake. On the NodeMCU, GPIO16 is the blue led on the board. GPIO02 = TXD1 = blue led on the esp 12E module.
You are correct. if you just keep SDA on GPIO04 and SDC on GPIO05 and pull GPIO16 to ground level, the blue led goes on.
You can also set Pinmode 16 to Output Low and reboot. The blue led will then switch on.
You can also leave Pinmode 16 on Default and send:
http://your ESPEasy ip/control?cmd=GPIO,16,0 to switch blue led on and
http://your ESPEasy ip/control?cmd=GPIO,16,1 to switch blue led off.
hope this helps.
You are correct. if you just keep SDA on GPIO04 and SDC on GPIO05 and pull GPIO16 to ground level, the blue led goes on.
You can also set Pinmode 16 to Output Low and reboot. The blue led will then switch on.
You can also leave Pinmode 16 on Default and send:
http://your ESPEasy ip/control?cmd=GPIO,16,0 to switch blue led on and
http://your ESPEasy ip/control?cmd=GPIO,16,1 to switch blue led off.
hope this helps.
Re: Testing LED on ESP12E dev kit
That does help Bert! Thanks for the info on the URL cmd....thats a good way to test connections prior testing via web app, etc
Re: Testing LED on ESP12E dev kit
Welcome, but please also look here in the wiki http://www.esp8266.nu/index.php/GPIO
Who is online
Users browsing this forum: Google [Bot] and 13 guests