Tested on:RPi3; Raspbian Jessie
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
Hardware:MoPower UPS assembled
0

MoPower on the Raspberry Pi 3 with Raspbian Jessie

The MoPower is a fabulous uninterruptible power source (UPS) for the Raspberry Pi. This tutorial shows how to install MoPower on a Raspberry Pi 3 with Raspbian Jessie. Find more info about the MoPower in my other tutorial, MoPower on Raspbian Wheezy.

MoPower installation
Attach the MoPower on top of the RPi, make sure that JP1 is open and connect a power source to the MoPower power in. Then, boot into the terminal and disable the serial console (under Advanced Options) with raspi-config. After that, enter in the Terminal

and add

Save as usually, then enter

In the now open file, remove the part

Save, then enter in the terminal

In the file, find three times /dev/ttyAMA0 and replace it with /dev/ttyS0.
Save, then open the file mopower-ups.py with

and, again, change all three occurences of /dev/ttyAMA0 to /dev/ttyS0.
Save and continue by entering

After rebooting, enter

Again, change all /dev/ttyAMA0 to /dev/ttyS0 and save. Finally, enter

Test MoPower
Press the button labeled Power for two seconds. The Raspberry Pi should shutdown safely. Check the tutorial linked atop for a little usage help.

Links
MoPower on Raspbian Wheezy: http://www.knight-of-pi.org/mopower-less-problems-efficient-energy-management-for-the-raspberry-pi/

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.

Comment

Time limit is exhausted. Please reload CAPTCHA.