Categories
Raspberry Pi Упътвания

Raspberry Pi – мод за запазване на батерията

Изключване на HDMI

Raspberry Pi Zero W / Raspberry Pi A+

/usr/bin/tvservice -o

Изключване на PWR LED и ACT LED

Raspberry Pi A+

echo 0 | sudo tee /sys/class/leds/led0/brightness
echo 0 | sudo tee /sys/class/leds/led1/brightness
led0 - зелен ACT LED
led1 - червен PWR LED

Raspberry Pi Zero W

echo none | sudo tee /sys/class/leds/led0/trigger
echo 1 | sudo tee /sys/class/leds/led0/brightness

За постоянно изключване, добавете в /boot/config.txt следния текст:

Raspberry Pi A+

# Disable the ACT LED
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off

# Disable the PWR LED
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off

Raspberry Pi Zero W

# Disable the ACT LED on the Pi Zero
dtparam=act_led_trigger=none
dtparam=act_led_activelow=on
Categories
Интернет на нещата Упътвания

[DIY] Variable Power Supply 5-28V 2A (Max)

https://github.com/Nanich87/diy-variable-power-supply-5-28v-2a