help for wifi status led

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
rajbadri
Normal user
Posts: 56
Joined: 21 Dec 2015, 21:38
Location: India

help for wifi status led

#1 Post by rajbadri » 03 Mar 2016, 06:38

i have wired a wemos mini d1 as below and have selected in hardware settings wifi status led = GPIO 0.
my problem is that the led stays on continuously even when the wifi is switched off.
Untitled Sketch 2_bb.jpg
Untitled Sketch 2_bb.jpg (64.71 KiB) Viewed 18890 times

Thanks

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: help for wifi status led

#2 Post by tozett » 03 Mar 2016, 08:18

mine blinks realy short, when its sending some MQTT/http strings over wifi.
until now, i did not switched wifi off. so i dont know, if mine would stay on.

what firmware version do u use (R080) ?
did you tried another GPIO ?

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: help for wifi status led

#3 Post by costo » 03 Mar 2016, 18:12

rajbadri wrote:i have wired a wemos mini d1 as below and have selected in hardware settings wifi status led = GPIO 0.
my problem is that the led stays on continuously even when the wifi is switched off.
Untitled Sketch 2_bb.jpg

Thanks
GPIO-0 has a built-in pullup resistor. This makes the LED burn all the time, you probably only see intensity variations.
To solve this, use another pin or connect the LED reverse between GPIO-0 and Vcc

Martinus

Re: help for wifi status led

#4 Post by Martinus » 03 Mar 2016, 18:14

The Wifi led output is active low so it supports the build in led on our development board (NodeMCU). So connect the LED between VCC and GPIO.
The LED will turn on when Wifi is active and blink to off during network traffic. Same behavior as the typical link indicator led on a network card.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: help for wifi status led

#5 Post by tozett » 03 Mar 2016, 22:39

Martinus wrote:The LED will turn on when Wifi is active and blink to off during network traffic.
i jumpered my led (by incident) from VCC to GPIO as you mentioned. :D

normally i have always wifi, so LED is always on. :o
the network traffic is sooo small that the OFF-flashing is really short (an after longer time-periods, which depends on send-intervall, i guess).
what about more signs of live from the led? breathing?

http://sean.voisen.org/blog/2011/10/bre ... h-arduino/ :mrgreen:

sometimes one could think of an error, if the led does not change state over a long period.
maybe wifi and everything is allright, but one things the static-led lights has no movement or change. there must be something wrong.
wich is not. so may the LED shoud breathe, or something? or show wifi in reverse?

edit:
what must the dev think about: just is the wifi led fresh in there (R80...??!), the user has new demands... :oops:
edit2:
floating point maths should work.. :mrgreen:
It seems that the ESP8266 is good with float (floating point unit inside?), but relatively bad with integer!
http://forum.arduino.cc/index.php?topic=337653.0

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: help for wifi status led

#6 Post by Deennoo » 25 Mar 2016, 10:33

For Sonoff Module :

According The LED is attached to GPIO-13

This possible to add status module on it ?

Fix Green : connected to wifi
Blink Green : run on acces point
Blink Green Fast : Can't connect to Wifi AP ??

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: help for wifi status led

#7 Post by Deennoo » 26 Mar 2016, 22:59

Deennoo wrote:For Sonoff Module :

According The LED is attached to GPIO-13

This possible to add status module on it ?

Fix Green : connected to wifi
Blink Green : run on acces point
Blink Green Fast : Can't connect to Wifi AP ??
OK done on r91 thx

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests