I'm looking for a couple of low cost, reliable RTC modules for a Pi Zero. I see a bunch on EBay for 99 cents to $1.50 USD.
I'm not looking for atomic precision; I'm recording trends sampling every 30-60 sec.
Are those EBay specials any good?
The Pi can if you tell it to. A kernel module is required to sync the hwclock and the swclock.scruss wrote:The Raspberry Pi doesn't read from the RTC while it's running
I'm using ones like thisOldPCGuy wrote:I'm looking for a couple of low cost, reliable RTC modules for a Pi Zero. I see a bunch on EBay for 99 cents to $1.50 USD.
There's nothing in those links that indicate that the Raspberry Pi is doing any RTC access apart from at boot. Without NTP access, the main clock wanders. Without temperature compensation, the RTC wanders. Also, all of those instructions pre-date systemd in Raspbian, so will likely have gone sideways for current use.wayne.dolesman wrote:The Pi can if you tell it to.scruss wrote:The Raspberry Pi doesn't read from the RTC while it's running
I am unsure why "it can if you tell it to" was unclear. But since it was let me elaborate.scruss wrote:There's nothing in those links that indicate that the Raspberry Pi is doing any RTC access apart from at boot.wayne.dolesman wrote:The Pi can if you tell it to.scruss wrote:The Raspberry Pi doesn't read from the RTC while it's running
The RTC in that link looks exactly like the ones I was referring to. Do those use a standard coin cell battery or something hard to find and obsolete ?fanoush wrote:I'm using ones like thisOldPCGuy wrote:I'm looking for a couple of low cost, reliable RTC modules for a Pi Zero. I see a bunch on EBay for 99 cents to $1.50 USD.
http://www.ebay.com/itm/DS3231-Precisio ... 2244927302
in several of my Pis and it works. Didn't measure time drifts for longer periods.
I have on order the same/clone module noted in the article. Are the empty/open data pins on the opposite end of the board active? Can I add a female header there so the module plugs directly into the GPIO like some of the smaller RTC?SlowBro wrote:This is a good article on making the cheap RTCs found on eBay reliable.
https://www.google.com/amp/s/edwardmall ... -ebay/amp/
OldPCGuy wrote:I have on order the same/clone module noted in the article. Are the empty/open data pins on the opposite end of the board active? Can I add a female header there so the module plugs directly into the GPIO like some of the smaller RTC?SlowBro wrote:This is a good article on making the cheap RTCs found on eBay reliable.
https://www.google.com/amp/s/edwardmall ... -ebay/amp/
So that charging circuit poses no risk to a non-rechargeable battery?thegnnu wrote:Why are you worrying about a charging circuit on a board that has a normal CR battery.
If it shipped with a non rechargeable battery, it should already be disabled?OldPCGuy wrote:So that charging circuit poses no risk to a non-rechargeable battery?thegnnu wrote:Why are you worrying about a charging circuit on a board that has a normal CR battery.
One would hope!alphanumeric wrote:If it shipped with a non rechargeable battery, it should already be disabled?OldPCGuy wrote:So that charging circuit poses no risk to a non-rechargeable battery?thegnnu wrote:Why are you worrying about a charging circuit on a board that has a normal CR battery.

For changing the address occurred to me right after I clicked "submit". The A was the tipoff, lol.gregeric wrote:A0/1/2 are to set the address for the I2C eeprom on board.
For peace of mind, you could easily disable trickle charging by taking the diode out of circuit - crush that glass package. Or, if you have a soldering iron, remove that or the resistor - when hot enough, they will stick to the tip and come off the PCB.