external led off after shutdown the c2 ?

Post Reply
Koejo
Posts: 24
Joined: Thu Jun 29, 2017 7:22 pm
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

external led off after shutdown the c2 ?

Post by Koejo »

hallo,
i use a powerbutton to start and shutdown the c2.
what i need is a external led (outside the c2 case) that goes on when the odroid is running and after poweroff the c2 the led also no light

is that possible with gpio or so ?

User avatar
rooted
Posts: 8043
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 724 times
Been thanked: 255 times
Contact:

Re: external led off after shutdown the c2 ?

Post by rooted »

Check if the 5V GPIO pin voltage drops to 0 when powered off.

User avatar
odroid
Site Admin
Posts: 35602
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1204 times
Been thanked: 879 times
Contact:

Re: external led off after shutdown the c2 ?

Post by odroid »

The 5volt rail on the 40pin header is always on when the PSU is connected.
Consider using a GPIO pin to drive an LED and turn it off in the shutdown script.

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 5 guests