Sferalabs Strato Pi UPS User Manual Download Page 21

UPS

When an external lead-acid rechargeable battery is connected to the Strato Pi UPS board, 
the Raspberry Pi will remain powered by the Strato Pi board when the main power supply 
fails, as long as there is enough energy in the battery.

When power is available, the external rechargeable battery is slowly charged with a 30mA 
current.

Battery operations status is visually notified with an on-board LED and can be checked 
reading Raspberry Pi's GPIO26 pin.

You can start a delayed power off cycle by rising Raspberry Pi’s GPIO16 pin.

When GPIO16 is set to high, Strato Pi will wait 60 seconds and then power off the Pi board 
for at least 5 seconds.

After being powered off, the Strato Pi UPS board will supply power to the Raspberry Pi 
only when the main power source is restored.

Starting from a power off condition, the Raspberry Pi will not receive power if only the 
back-up battery is connected to the Strato Pi board.

The Strato Pi utility implements the following commands to monitor and control the UPS.

To print “1” if Strato Pi is operating from the battery, or “0” if main power is present:

sudo strato battery; echo $? 

Hardware watchdog

Strato Pi UPS implements a dedicated hardware watchdog circuit that can be used to 
perform a full power cycle of the Raspberry Pi.

Being controlled by Raspberry Pi’s GPIO pins, it is extremely easy to control watchdog 
operation using simple custom scripts in your application.

The watchdog is normally disabled. To enable it, set GPIO6 pin to high. While GPIO6 is 
high, the Strato Pi controller will watch for state changes of the GPIO5 heartbeat pin. You 
should ensure that GPIO5 flips its state between high and low faster than every 60 
seconds.

If the Strato Pi UPS controller doesn’t see GPIO5 changing state for more than 60 
seconds, it will initiate a shutdown procedure, rising the GPIO12 timeout pin to high, to 
signal that a watchdog timeout has occurred.

If possible, you should immediately initiate a software shutdown on Raspberry Pi, and set 
the GPIO16 shutdown pin to high. When GPIO16 is set to high or 60 seconds after the 
timeout, Strato Pi will wait 60 seconds more, then power cycle the Raspberry Pi.

Note that Strato Pi UPS will power cycle the Raspberry Pi even if GPIO16 is not set high. 
In this case the power cycles occurs 120 seconds after the heartbeat timeout.

The Strato Pi utility can be used to control the watchdog from your own application.

Enable the watchdog:

sudo strato watchdog enable

 

Disable the watchdog:

sudo strato watchdog disable

 

20

Strato Pi UPS User Guide

Summary of Contents for Strato Pi UPS

Page 1: ...Strato Pi UPS User Guide July 2018 Revision 014 SPBU21X Strato Pi UPS board SPMU21X Strato Pi UPS server with Raspberry Pi 3 Model B SPMU21XP Strato Pi UPS server with Raspberry Pi 3 Model B...

Page 2: ...wer supply 13 Auxiliary power supply output 14 Dedicated GPIO pins 14 Software installation and configuration 15 Installing the Strato Pi utility on Raspbian 15 Installing the Real Time Clock software...

Page 3: ...Information 27 EU 27 USA 27 CANADA 27 AUSTRALIA NEW ZEALAND 28 Compliance information for Raspberry Pi 3 Model B 28 EU 28 USA 28 CANADA 28 Compliance information for Raspberry Pi 3 Model B 28 EU 29 U...

Page 4: ...to is neither designed nor intended for use in critical military or aerospace applications or environments and for automotive applications or environment Customer acknowledges and agrees that any such...

Page 5: ...oduct Hazard levels This manual contains information you must observe to ensure your personal safety and prevent damage to property Safety information in this manual are highlighted by the safety symb...

Page 6: ...ndards guidelines specifications and regulations for installation wiring and operations of this product The Raspberry Pi board could generate a substantial amount of heat when the software forces the...

Page 7: ...or instructions Do not throw lithium batteries into fire do not solder on the cell body do not recharge do not open do not short circuit do not reverse polarity do not heat above 100 C and protect fro...

Page 8: ...service continuity are key requirements Strato Pi UPS is available as a bare board or fully assembled unit including a Raspberry Pi 3 Model B or B in a standard DIN rail case The information contained...

Page 9: ...olled via the GPIO pins of the Raspberry Pi board on board LEDs for power supply and serial line activity power supply and serial connections on a screw terminal block integrated uninterruptible power...

Page 10: ...s together ensuring that no conductive part of one board touches any part of the other board Be particularly careful to ensure there is enough clearance between the Ethernet and USB connectors and the...

Page 11: ...duct Replace the battery every 5 years even if the battery is still working properly Only use a lead acid battery with electrical ratings recommended in the technical specifications for this product 1...

Page 12: ...Pi UPS server the battery is not accessible from the outside You should first remove the case top body to gain access to the Strato Pi UPS circuit board Before opening the Strato Pi UPS case disconne...

Page 13: ...l hook 8 Insert the microSD card RTC BACKUP BATTERY Terminal block Strato Pi UPS has a 10 positions terminal block for power battery auxiliary power supply output and serial connections The maximum co...

Page 14: ...upply stage is optimised to deliver up to 3A at 5V to the Raspberry Pi Because Strato Pi has a 1 1A resettable fuse polyfuse on the power supply line the maximum current that its regulator can deliver...

Page 15: ...m current drawn by the loads connected to VSOUT is limited by the current drawn by the Raspberry Pi the power supply or battery input voltage and the 1 1A resettable fuses that limit the total amount...

Page 16: ...arguments to print its options strato Usage strato beep on off length_millis length_millis pause_millis repeats strato watchdog enable disable heartbeat timeout strato shutdown strato battery All com...

Page 17: ...pdate the hardware clock after the last reboot if its internal registers contained invalid values If the RTC still doesn t work you should check if the Pi sees the RTC chip on the I2C bus Run these tw...

Page 18: ...t If you need to disable the WiFi one convenient solution on Raspbian distributions is to blacklist the WiFi driver Edit etc modprobe d raspi blacklist conf and add these lines at the end of the file...

Page 19: ...Both interfaces are isolated from the Raspberry Pi s serial lines using dedicated opto couplers and from the main power supply with a high efficiency DC DC converter This configuration should prevent...

Page 20: ...intended to emit sound indefinitely and could be damaged doing so The Strato Pi utility has several commands to control the buzzer Buzzer on continuously sudo strato beep on Buzzer off sudo strato bee...

Page 21: ...dedicated hardware watchdog circuit that can be used to perform a full power cycle of the Raspberry Pi Being controlled by Raspberry Pi s GPIO pins it is extremely easy to control watchdog operation...

Page 22: ...cycle You can start a delayed power cycle by rising Raspberry Pi s GPIO16 pin When GPIO16 is set to high Strato Pi UPS will wait 60 seconds and then power off the Pi board for 5 seconds The power cycl...

Page 23: ...Block diagram STRATO PI UPS BLOCK DIAGRAM 22 Strato Pi UPS User Guide...

Page 24: ...working conditions Current consumption at VS 24V including Raspberry Pi 3 current with low CPU GPU load and no USB devices connected 85mA w o Ethernet and battery 100mA with Ethernet battery and RS 4...

Page 25: ...anganese Dioxide Li MnO2 batteries Expected battery life without main power supply 2 years Housing standard 4M for DIN rail Operating temperature 0 50 C Storage temperature 20 70 C Protection degree I...

Page 26: ...Dimensions DIMENSIONS mm 25 Strato Pi UPS User Guide...

Page 27: ...access to the Strato Pi UPS circuit board Always remove the battery before disposing of this product Installation and use restrictions Standards and regulations The design and the setting up of elect...

Page 28: ...cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the inte...

Page 29: ...mitter product guidelines This WiFi DTS device has 20 MHz bandwidth mode CANADA Raspberry Pi 3 Model B IC CERTIFICATION No 20953 RPI32 This device complies with Industry Canada license exempt RSS stan...

Page 30: ...Raspberry Pi 3 Model B IC CERTIFICATION No 20953 RPI3P This device complies with Industry Canada license exempt RSS standard s Operation is subject to the following two conditions 1 this device may no...

Page 31: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Sfera Labs SPBU21X SPMU21X SPMU21XP...

Reviews: