That's what I suspected. As you say, I could probably adjust the supply voltage to "fine tune" the clock, but then temperature would need to be controlled. I have read about an assembly method that uses a small resistance element bundled with the crystal to provide temperature compensation, but I don't remember where I saw it. I have a DS3231 RTC that has this function built in, and is much more accurate, but (being cheap) I wanted to try the DS1307. Now I know.Frequency variation with supply voltage is absolutely normal. From your data it seems as if there might be a supply voltage that will result in less error. Problem is that as you try to find that magical point the temperature goes and changes on you. So now you have to try and compensate for two things at once.
The link to Roman Black's simple xtal oven for accurate clocks is here: http://www.romanblack.com/xoven.htmThat's what I suspected. As you say, I could probably adjust the supply voltage to "fine tune" the clock, but then temperature would need to be controlled. I have read about an assembly method that uses a small resistance element bundled with the crystal to provide temperature compensation, but I don't remember where I saw it. I have a DS3231 RTC that has this function built in, and is much more accurate, but (being cheap) I wanted to try the DS1307. Now I know.![]()
Brand new; measures 3.29V while powering the DS1307.Is the CR2032 new? I would expect a far more accurate time with this 3V battery.
by Duane Benson
by Jake Hertz
by Jake Hertz