In compliance with high industry standards

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

Touchberry 10.1 with RTC+UPS+RS485

By
RobertoG
on 2/15/21, 4:05 AM 45 views

Hi,

I received the product in the subject, since I'm going to install the latest Raspbian available, I would like to know where I can find documentation to properly configure RTC and UPS.
Thank you, regards.

Roberto



0
RobertoG
On 2/25/21, 4:29 AM





0
Industrial Shields Forum user

Guillem Cura Marti

--Guillem Cura Marti--

1000000005
| 0 0 0
Sant Fruitós de Bages, España
--Guillem Cura Marti--
Guillem Cura Marti
On 2/25/21, 4:03 AM

Hi,

In order to configure the system properly, you have to put the files located at the downloads of the Touchberry 10" on the following folders:

  • rpishutdown -> /usr/local/bin/

  • rpishutdown.service -> /lib/systemd/system/

          After setting these two files, execute the following commands for activating the services as they have to run automatically:

          sudo systemctl enable rpishutdown.service
          sudo systemctl start rpishutdown.service

          I hope this helps!

          • Flag

          Thanks for the reply.

          I downloaded and installed the files that you told me, but...why if I unplug the power supply the TouchBerry suddendly turns off ?

          When the UPS takes control of the system and keep it up running?

          Thanks

          Roberto

          RobertoG
          on 2/25/21, 4:31 AM

          The UPS is in charge of doing a controlled shutdown for the Raspberry Pi. However, depending on the process that are running will do the process with a different speed. On a visual way, you will not be able to see it as the screen will shutdown immediately because the UPS only power the Raspberry. Despite this, the Raspberry will be doing an internal controlled poweroff.

          Boot & Work Corp. S.L., Guillem Cura Marti
          on 2/26/21, 4:38 AM

          Ok, what about the RTC?

          I tried to configure it by myself by removing the "fake-hwclock" but when I type "hwclock -r" I get the following error:

          hwclock: Timed out waiting for time change

          With a “hwclock --verbose -r” a line with an error appears:

          - ioctl(4, RTC_UIE_ON, 0): invalid argument

          And the last line of the command ends with:

          - …synchronization failed

          What's wrong?

          Thank you

          Roberto

          RobertoG
          on 2/26/21, 4:53 AM

          Keep Informed

          About This Community

          This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together. Read Guidelines

          Question tools

          1 follower(s)

          Stats

          Asked: 2/15/21, 4:05 AM
          Seen: 45 times
          Last updated: 2/25/21, 4:29 AM