UPS3 power off guide
Jump to navigation
Jump to search
Contents
Check wringPi version
If you use raspberry pi 4 model b, please update wringPi library from V2.50 to V2.52,
Please ignore it if you are use raspberry pi 3 model b;
How to update wringPi V2.5 to wringPi 2.52?
cd ~ mkdir tmp cd tmp wget https://project-downloads.drogon.net/wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb
Then run command the following command to check the wringPi library version
gpio –v
OK, the wringPi library version is updated to V2.52 now
Check the power off PIN of UPS 3 board
If pin 0 and pin1 are connected, the GIPO is 6, if pin 0 and pin2 are connected, the GPIO is 13
How to software full shut down?
gpio -v gpio –g mode 6 out #6 is the power off GPIO pin, 6 and 13 is optional, it depend on the previous selection gpio readall
gpio –g write 6 1 #this is the shutdown command
Enable comment auto-refresher
Anonymous user #3
Permalink |
Lisa
Anonymous user #2
Permalink |
Anonymous user #2
Permalink |
Lisa
Anonymous user #1
Permalink |
Lisa