快捷导航
3 6883

UPS

taniguchi 于 2020-9-7 09:09 发表 [复制链接]
Can I set it up to use the UPS so that the OS doesn't suddenly shut down when I unplug the power?
举报 使用道具
| 回复

共 3 个关于本帖的回复 最后回复于 2020-9-11 15:42

米米米 版主 发表于 2020-9-7 11:15 | 显示全部楼层
Yes, but 220V UPS usually very big.

May I ask in which case, you need to avoid this case?
Maybe we can suggest other available method to achieve your requirement.
taniguchi 游客 发表于 2020-9-7 11:52 | 显示全部楼层
米米米 发表于 2020-9-7 11:15
Yes, but 220V UPS usually very big.

May I ask in which case, you need to avoid this case?

When I unplug the power, I want to exit the python program and then achieve an OS shutdown.
米米米 版主 发表于 2020-9-11 15:42 | 显示全部楼层
taniguchi 发表于 2020-9-7 11:52
When I unplug the power, I want to exit the python program and then achieve an OS shutdown.

But even use UPS, still you can't achieve this usecase...

The problem need 1 condition, which is you can get the trigger from software level.
So that you can exit your program and shutdown OS.
But if you unplug the power directly, no trigger can be received.

Usually the case is achieved by a power management unit.
Like you turn off power through a switch on this unit.
And the unit doesn't turn off power directly, it just send out a trigger first, through RS232 etc.
It will wait several seconds, and shutdown the system.

On automotive, similar mechanism is there.
您需要登录后才可以回帖 登录 | 点我注册

精彩推荐

  • MIIVII EVO ORIN的最新镜像中米文的源报404
  • 求助,储存空间不够,如何解决
  • APEX AD 10问题见图片
  • 相机启动launch
  • APEX AD-10 GPS授时修改串口波特率

明星用户