Home Article How To Disable LEDs On Raspberry Pi 3B & 4B

How To Disable LEDs On Raspberry Pi 3B & 4B

by shedboy71

The Raspberry Pi has some built-in LEDs such as PWR and ACT. There may be reasons for this such as saving power (albeit not much) and to remove visual indicators in certain environments

This tutorial explains how to turn off built-in LEDs on Raspberry Pi 4.

Raspberry Pi 4 Model B has integrated power LED (PWR), activity LED (ACT) and two Ethernet socket LEDs: link LED (LNK) and activity LED (ACT). The following table presents the purpose of each LED:

No. LED Color Description
1. PWR Red Power indicator. This is on if the power is over 4.65V
2. ACT Green Memory card status indicator. This blinks during memory card activity.
3. LNK (Ethernet) Amber Ethernet link indicator. It is always on when Ethernet is connected.
4. ACT (Ethernet) Green Ethernet status indicator. This blinks during network activity.

Raspberry Pi has a configuration file /boot/config.txt which contains parameters that are read when the Raspberry Pi boots. Open this file like this:

sudo nano /boot/config.txt

Add the following lines to the end of the file to turn off built-in LEDs on Raspberry Pi when it boots. The values are different from a 3 to q 4

Raspberry Pi 3B

# Turn off Power LED
dtparam=pwr_led_trigger=default-on
dtparam=pwr_led_activelow=off
# Turn off Activity LED
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
# Turn off Ethernet ACT LED
dtparam=eth_led0=14
# Turn off Ethernet LNK LED
dtparam=eth_led1=14
YAML

Raspberry Pi 4B

# Turn off Power LED
dtparam=pwr_led_trigger=default-on
dtparam=pwr_led_activelow=off
# Turn off Activity LED
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
# Turn off Ethernet ACT LED
dtparam=eth_led0=4
# Turn off Ethernet LNK LED
dtparam=eth_led1=4

Reboot Raspberry Pi in order the changes to take effect:

sudo reboot

You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More