View Single Post
  #13   Report Post  
Posted to uk.comp.homebuilt,uk.d-i-y
Adrian Caspersz Adrian Caspersz is offline
external usenet poster
 
Posts: 1,375
Default Dual colour power LEDs on PCs

On 24/03/18 13:33, Andy Burns wrote:
Adrian Caspersz wrote:

it's a 2-pin. LED is driven across the outputs.


5v ---+----+
Â*Â*Â*Â*Â*Â*Â* |Â*Â*Â* |
Â*Â*Â*Â*Â*Â*Â* RÂ*Â*Â* R
Â*Â*Â*Â*Â*Â*Â* |Â*Â*Â* |
Â*Â*Â*Â*Â*Â*Â* |Â*Â*Â* |
pin 2------+-----.
Â*Â*Â*Â*Â*Â*Â* |Â*Â*Â*Â*Â*Â*Â*Â*Â* |
Â*Â*Â*Â*Â*Â*Â* |Â*Â*Â*Â*Â*Â*Â*Â*Â* LED
Â*Â*Â*Â*Â*Â*Â* |Â*Â*Â*Â*Â*Â*Â*Â*Â* |
pin 4 +----------'


The manual does indeed say each pin has a pull-up resistor, and I would
expect it to pull down one pin or the other depending which colour it
want to show.

But why would the LED show one colour when on, but _not_ the other
colour when off?Â* Given that both colours work, depending on which way
round I connect it ...


Maybe the onboard LED you are comparing against (which is not documented
in the manual!), is perhaps just showing a 'power connected'
confirmation that you have your external power brick attached - it's not
actually sleep.

I have equipment here that works like that.

[Apologies if you already know this ] Sleep state is a thing a
computer is placed into, if the OS configured by the OS and/or BIOS.

System Power States

https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

--
Adrian C