- 打卡等级:初来乍到
- 打卡总天数:4
- 最近打卡:2025-05-01 06:58:22
金牌会员
- 积分
- 1333
|
发表于 2023-5-15 16:55:27
|
显示全部楼层
I want to add a temperature compensation algorithm to reduce the error.
For that, you first need to measure Temperature.
It seems STC MCU STC8H etc cannot self-measure temperature ?, so an external temperature sense is needed, which adds to BOM.
The STC8H RTC also lacks a fine trim ability, on Divider or Oscillator caps, but it looks like you can read 7 time registers then reload 7 time registers, via SETRTC, as a crude means of SW correction.
If you did that correction once every 30 minutes, you have an adjust LSB step of 4.3ppm, or once every hour, you have adjust of 2.17ppm steps.
|
|