Guys, this is a funny one, first time this happened to me.
I have an ESP12F, with r107, GPIO2 linked to a spark fun logic converter, with the 5v side of the logic converter switching a relay, and 10k pull-up on GPIO2 (also tested with an LED), using a 'Switch' in devices....
- when I switch the Switch on with http://192.168.2.65/control?cmd=GPIO,2,1 ~ all good, the Relay switches on, but......
- when I switch it off, with http://192.168.2.65/control?cmd=GPIO,2,0 - the relay switches off, good, but it also turns the LED on the ESP on, BRIGHT blue ?????
Same behaviour if I switch the Switch off with MQTT with topic /RHZA/ESP03/GPIO/2 and payload 0. Also tried it with another ESP12F, same behaviour. Also tried it without the pull-up 10k from GPIO2.
Apart from the fact that all works, I have never seen this, and surely this will eat amps?
Anybody with ideas here?
ESP12F - switching a Relay off turns the wireless LED onboard BRIGHT BLUE ?
Moderators: grovkillen, Stuntteam, TD-er
ESP12F - switching a Relay off turns the wireless LED onboard BRIGHT BLUE ?
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: ESP12F - switching a Relay off turns the wireless LED onboard BRIGHT BLUE ?
Check if "Wifi Status LED" on the tab "hardware" is pointing at GPIO2.
Re: ESP12F - switching a Relay off turns the wireless LED onboard BRIGHT BLUE ?
Thank you MarS, nope not pointing to it. Any other ideas where to look?
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: ESP12F - switching a Relay off turns the wireless LED onboard BRIGHT BLUE ?
It is just by design.
Some ESP modules have the blue Led connected to GPIO2.
So the led will turn on when GPIO2 is made 'LOW' which explains what you see.
Some ESP modules have the blue Led connected to GPIO2.
So the led will turn on when GPIO2 is made 'LOW' which explains what you see.
Re: ESP12F - switching a Relay off turns the wireless LED onboard BRIGHT BLUE ?
Thank you costi, switched out to gpio16, now working. Found another post in esp forum with same. Thanks!
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Who is online
Users browsing this forum: Bing [Bot] and 33 guests