sirus
Posts: 27
Joined: Thu Jul 14, 2016 1:07 pm

Power and HDD leds for PI2

Mon Jul 25, 2016 12:37 pm

Hi Guys,

Was just curious if anyone knows how to connect Leds to the PI2 which represent the power and hdd just like they do on the board?

blaablaaguy
Posts: 623
Joined: Sun Sep 27, 2015 3:26 pm

Re: Power and HDD leds for PI2

Mon Jul 25, 2016 1:32 pm

You mean like the PWR and ACT leds but connected to the gpio? It think the power led is just connected to the 3.3v supply

EDIT: viewtopic.php?f=44&t=140073
Last edited by blaablaaguy on Mon Jul 25, 2016 1:35 pm, edited 1 time in total.
This signature intentionally left blank.

drgeoff
Posts: 9901
Joined: Wed Jan 25, 2012 6:39 pm

Re: Power and HDD leds for PI2

Mon Jul 25, 2016 2:42 pm

blaablaaguy wrote:You mean like the PWR and ACT leds but connected to the gpio? It think the power led is just connected to the 3.3v supply

EDIT: viewtopic.php?f=44&t=140073
The PWR LED (with resistor) was just connected to a supply on the first RPis. At some point (I cannot remember if it was B+ or RPi2) the low voltage warning was introduced and the LED became controlled by a GPIO.

sirus
Posts: 27
Joined: Thu Jul 14, 2016 1:07 pm

Re: Power and HDD leds for PI2

Mon Jul 25, 2016 3:58 pm

Brilliant. I think thats on the lines.

So essentially I would need 2 LEDs with reisitors and add the following lines to my boot.config
dtparam=act_led_gpio=nn
dtparam=pwr_led_gpio=nn

(nn representing BCM number)

Return to “General discussion”