background image

If the returned date and time is not correct, or “hwclock” returns an error, use the “-w” 
option to set the hardware clock to the current time:

 $ 

sudo hwclock -w 

Then recheck the time stored in the hardware clock to ensure it matches. Linux may have 
failed to automatically update 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 I

2

C bus. 

Run these two commands:

sudo modprobe -r rtc_ds1307

 

sudo i2cdetect 1

 

WARNING! This program can confuse your I2C bus, cause data loss and worse! 

I will probe file /dev/i2c-1. 

I will probe address range 0x03-0x77. 

Continue? [Y/n]  

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f 

00:          -- -- -- -- -- -- -- -- -- -- -- -- --  

10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  

20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  

30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  

40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  

50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- --  

60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 6f  

70: -- -- -- -- -- -- -- — 

You should see “6f” in the address list. This is the address of the RTC.

If the RTC address is detected, double check your software installation for issues at the 
Linux modules level.

Run the “lsmod” command to list the loaded modules and check that “i2c_dev” and 
“i2c_bcm2708” are both listed.

If the RTC address is not detected, the cause could be a hardware problem, on the Strato 
board or the Raspberry Pi. If you have another Pi or Strato board, try swapping them to 
isolate the faulty board.

Configuring the serial port

On Raspberry Pi 3 and 4, the main UART (ttyAMA0) is used by default for Bluetooth, and 
the TX/RX pins on the GPIO connector are controlled by a limited function Mini UART 
(ttyS0).

To route the main UART to the RX/TX pins that are connected to the Strato Pi serial ports 
you could disable Bluetooth. Edit /boot/config.txt and add these lines at the end of the file:

# Disable Bluetooth 

dtoverlay=pi3-disable-bt 

You may also run the following command to disable the Bluetooth HCI UART driver:

sudo systemctl disable hciuart 

Alternatively, you may use the pi3-miniuart-bt overlay to switch Bluetooth to use the mini 
UART (ttyS0), and restore ttyAMA0 to GPIOs 14 and 15. Refer to the Raspberry Pi UARTs 
documentation page  for additional information.

1

 https://www.raspberrypi.org/documentation/configuration/uart.md

1

18

Strato Pi UPS User Guide

Содержание SPBU30X

Страница 1: ...er with Raspberry Pi 3 Model B SPMU30X41 Strato Pi UPS server with Raspberry Pi 4 Model B 1GB SPMU30X42 Strato Pi UPS server with Raspberry Pi 4 Model B 2GB SPMU30X44 Strato Pi UPS server with Raspber...

Страница 2: ...erminal block 13 Power supply 14 Auxiliary power supply output 15 Dedicated GPIO pins 15 Software installation and con fi guration 16 Installing the Strato Pi utility 16 Installing the Strato Pi kerne...

Страница 3: ...ation and use restrictions 31 Standards and regulations 31 Safety instructions 31 Set up 31 Conformity Information 32 EU 32 USA 32 CANADA 33 RCM AUSTRALIA NEW ZEALAND 33 Compliance information for Ras...

Страница 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...

Страница 5: ...s product 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...

Страница 6: ...tandards guidelines speci fi cations 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...

Страница 7: ...r instructions Do not throw lithium batteries into fi re 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...

Страница 8: ...it including a Raspberry Pi 3 Model B or B or Raspberry Pi 4 Model B in a standard DIN rail case The assembled unit is also available with the SPBF10X Strato Pi Fan active cooling option The informati...

Страница 9: ...ectly from the Raspberry Pi optional embedded Microchip ATECC608 secure element chip power supply and serial connections on a screw terminal block integrated uninterruptible power supply with external...

Страница 10: ...DIAGRAM Device identi fi cation The device can be identi fi ed with the information provided in the rating and identi fi cation plate permanently attached to the side of the case EXAMPLE RATING AND I...

Страница 11: ...berry Pi 3 Model B or B or Raspberry Pi 4 Model B board in a plastic standard DIN rail case There is no need to open the case unless a change in the RS 485 termination resistors is required see below...

Страница 12: ...may lead to serious injury or death in as little as 2 hours due to chemical burns and potential perforation of the esophagus Immediately see doctor Replace the RTC lithium battery before it is complet...

Страница 13: ...lace the battery 1 Remove the microSD card the card will be damaged if you open the case with the card still inserted 2 Remove the black plastic DIN rail hook 3 With a small fl at screwdriver gently s...

Страница 14: ...y auxiliary power supply output and serial connections The maximum conductor cross section is 1 5 mm2 16 AWG or 0 5 mm2 when using ferrules highly recommended Recommended stripping length is 5 mm Scre...

Страница 15: ...Pi Because Strato Pi has a 2 2A resettable fuse polyfuse on the power supply line the maximum current that its regulator can deliver is also limited by this fuse and depends on the input voltage The f...

Страница 16: ...output is also switched off until the main power supply is restored The maximum current drawn by the loads connected to VSOUT is limited by the current drawn by the Raspberry Pi the power supply or b...

Страница 17: ...t timeout strato shutdown strato battery All commands should be run as superuser so always use sudo to run strato Installing the Strato Pi kernel module The Strato Pi kernel module can be used to easi...

Страница 18: ...en reboot your Raspberry Pi To install the i2c tools package sudo apt get update sudo apt get install i2c tools With these prerequisite installs completed you should download and run Strato Pi s insta...

Страница 19: ...o list the loaded modules and check that i2c_dev and i2c_bcm2708 are both listed If the RTC address is not detected the cause could be a hardware problem on the Strato board or the Raspberry Pi If you...

Страница 20: ...Linux serial console otherwise it will send console data to the serial port Disable the ttyAMA0 console service sudo systemctl disable serial getty ttyAMA0 service Edit the boot cmdline txt fi le and...

Страница 21: ...A Elliptic Curve Dif fi e Hellman NIST standard P256 elliptic curve support Hardware support for symmetric algorithms SHA 256 HMAC hash including off chip context save restore AES 128 encrypt decrypt...

Страница 22: ...85 TX RX switching is implemented automatically in the Strato Pi s micro controller based on speed and number of bits detection and is completely transparent to the software controlling the UART on Ra...

Страница 23: ...erations status is visually noti fi ed with an on board LED and can be checked reading Raspberry Pi s GPIO26 pin After being powered off see Power cycle below the Strato Pi UPS board will supply power...

Страница 24: ...trato watchdog timeout echo Power 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...

Страница 25: ...Raspberry Pi 3 Model B and Raspberry Pi 4 Model B2 very low CPU load compared to very high load all four cores loaded at 100 In all cases the Raspberry Pi 4 Model B runs signi fi cantly warmer than t...

Страница 26: ...35C AMBIENT TEMPERATURE LOW CPU LOAD 35C AMBIENT TEMPERATURE HIGH CPU LOAD 25 Strato Pi UPS User Guide...

Страница 27: ...45C AMBIENT TEMPERATURE LOW CPU LOAD 45C AMBIENT TEMPERATURE HIGH CPU LOAD 26 Strato Pi UPS User Guide...

Страница 28: ...Block diagram STRATO PI UPS BLOCK DIAGRAM 27 Strato Pi UPS User Guide...

Страница 29: ...cluding Raspberry Pi 4 with Ethernet and RS 485 connected no USB devices low CPU load 190mA 100 CPU load before throttling 320mA 100 CPU load throttled 260mA SPBF10X fan option add 25mA Actual current...

Страница 30: ...Lithium Manganese Dioxide Li MnO2 batteries Expected battery life without main power supply 2 years Housing standard 4M for DIN rail Operating temperature Strato Pi UPS board only 20 70 C Strato Pi UP...

Страница 31: ...Dimensions DIMENSIONS mm 30 Strato Pi UPS User Guide...

Страница 32: ...cess 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 electric...

Страница 33: ...iate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference wil...

Страница 34: ...53 EU USA Raspberry Pi 3 Model B FCC IDENTIFIER 2ABC B RPI32 Raspberry Pi 3 Model B FCC IDENTIFIER 2ABC B RPI3BP Raspberry Pi 4 Model B FCC IDENTIFIER 2ABC B RPI4B The antenna s used for this transmi...

Страница 35: ...pas produire de brouillage et 2 l utilisateur de l appareil doit accepter tout brouillage radio e lectrique subi m e me si le brouillage est susceptible d en compromettre le fonctionnement 34 Strato...

Отзывы: