-2

I need to develop a plugin that reads the status of the Power-LED of the Raspberry Pi 3 B and print the status of the LED on the Web-page.

Please Help !!!

2 Answers2

1

The power LED is connected to the power management IC (APX803), which in turn is connected directly to the power input. You cannot change whether it is on or off from user space.

iBug
  • 315
  • 1
  • 13
Jacobm001
  • 11,898
  • 7
  • 46
  • 56
  • Not entirely true. "The MOSFET controlling the Pi3 "PWR" LED is directly connected to the APX803 (which is open drain) so will ALWAYS be off if the voltage is low, but if not it should be possible to pull it low (and turn the LED off) with a program." – Milliways Jan 11 '17 at 23:17
  • 1
    can you tell me, what is the GPIO number of the power led ? – Mohammad Mbydeen Jan 13 '17 at 19:57
1

Not sure about plugin but you can access the state of the APX803 https://github.com/6by9/rpi3-gpiovirtbuf/

The APX803 is connected to pin 135.

Milliways
  • 59,890
  • 31
  • 101
  • 209