I don't object to the $15...so long as the pin pattern matches the appropriate part of the GPIO block (not true on the Adafruit DS3231 module) and a replaceable battery (true on the Adafruit module). I really only need 3 or 4 of them. I'll see what Sparkfun has.gregeric wrote: Conclusion: if it's accuracy you demand from an RTC, get one built by Sparkfun, Adafruit, or other trusted manufacturer. Expect to pay $15, not $1.
I am now in possession of a Pi Hut RTC module. The visible marking on the component in question are "3.3v" and "0.22F". Sure looks like a capacitor to me. If you think it isn't, I suggest you get one and look for yourself.gregeric wrote:The Pi Hut are wrong. There is no resistor for charging, just two redundant pullups on the I2C lines.
If the charging circuit were as simple as one resistor, the backup cell would be flattened in minutes on power-down of the 3V3 rail. Nope, no diode on board either.
Buy one yourself and do the research. Or just accuse Pi Hut of false advertising (which is, effectively, what you're doing) and see what happens. I'm not making claims based on pictures. I have a Pi Hut unit in hand. Note that I have long since said why the Adafruit unit is unsuitable for my purposes, and the price isn't the issue.gregeric wrote:If they can fake a Maxim chip it's not too much of a stretch to stamp a lithium primary cell with marks to suggest it's otherwise for some marketing claims . How's the charging circuit looking? And the timekeeping?
Compare the picture of the PiHut module with the Adfruit module available from the same site. Adafruit's DS3231 has a semi-circular cutout for orientation, the cheap one a square notch.
It just doesn't add up - a premium precision RTC chip with an expensive supercap, all for peanuts.
Discharge the "supercap" overnight with a dead short across its terminals - I'd be interested to see how it performs the next day.
I guess we're fairly far down the rabbit hole now. Let's take it one issue at a time... Are you still disputing that the Pi Hut unit has a supercap? (Also note that the *cost* of the Adafruit unit is not an issue. What is an issue is that it won't simply fit on a Pi. Other than that, I'd be buying them up to use. So if you can point to a "genuine Maxim" RTC clock module that fits directly on the 5 pins of a Pi, give me a link to it.)gregeric wrote:Using the figures you have researched, the BOM is around $5. Rule of thumb, multiply that by 3 to 4 for the retail price your distributors sell at. Hence the realistic price of the Adafruit module, $14.
I have around six of these, plus three Chronodots, plus a plain chip bought from RS. Of the ridiculously cheap modules, I've identified three package styles for the DS3231, where there should only be one. Two have a semi-circular notch like the genuine Maxim part, as seen on the Adafruit module. There are subtle differences top and bottom side of the chip eg the genuine part marks pin 1 with a # at the end with the semi-circular cutout, the cheap ones throw in a dimple too.
I note that you're having problems with your module - you must be unlucky, all mine work, even the ones I deem fake. Perhaps you've been landed with a dud. See https://www.maximintegrated.com/en/app- ... vp/id/5458 "At least once a week I receive a request or inquiry from customers' QA engineers concerning the pedigree of a Maxim part that they suddenly find is not working properly."
You're basically using a breadboard. That is not--at least in my estimation--plugging directly to a Pi. What's worse (from my perspective) is that it's a really large and ugly solution when the Pi it's being connected to is a Pi0. So, good features..replaceable battery, ds3231. Bad feature...board pinout is all wrong. Therefore: so far as I am concerned, it's a non-workable solution. (Note that I have made most of these points previously, so that fact that the I consider the Adafruit module unserviceable is not new. I'm *still* waiting for those making claims to have found a module that meets my criteria to provide a link, rather than pointing to the same old items that I have already said I have rejected.)alphanumeric wrote:The Adafruit one will fit on a Pi, with the purchase of some other bits. I have mine wired to my Astro Pi via a Proto Hat. It has a replicable battery. It's not ideal for all situations but worked great for me. It's between my PI and my Sense Hat, and easily unplug able removable if need be. Wiring was also easy as the GPIO pins are all brought out to solder pads and labeled on the Proto Hat.
Pictures here. https://1drv.ms/f/s!AjOYwiwlwDtpgq8_0VrdS3_H5xL_AA
Let me put it this way...my Pi Zero set up is so minimalist that I only install 5 header pins.alphanumeric wrote:I did say "It's not ideal for all situations" in my post. Just giving an option is all. There is a Pi Zero sized version, https://www.adafruit.com/products/3203 . If you want a minimalist install this isn't it. If you want to add a RTC and maybe another hat, or still have access to the GPIO, it could be a good option. Other breakout boards can be installed along side the RTC, space providing.
You could have just used a couple of short wires and skipped using any header pins and used the Adafruit RTC breakout board. A lot lower profile. Just put one of those double sided sticky 3M pads between the Pi and RTC board. I'm not saying that's any better than what you have planed, just throwing it out there as an option.W. H. Heydt wrote:Let me put it this way...my Pi Zero set up is so minimalist that I only install 5 header pins.alphanumeric wrote:I did say "It's not ideal for all situations" in my post. Just giving an option is all. There is a Pi Zero sized version, https://www.adafruit.com/products/3203 . If you want a minimalist install this isn't it. If you want to add a RTC and maybe another hat, or still have access to the GPIO, it could be a good option. Other breakout boards can be installed along side the RTC, space providing.
RTC module from Pi Hut. Price is 5GBP. Test run for accuracy:gregeric wrote:I might also point out that I suspect these modules are using fake DS3231s. The timekeeping is not as advertised, losing seconds per hour.
Conclusion: if it's accuracy you demand from an RTC, get one built by Sparkfun, Adafruit, or other trusted manufacturer. Expect to pay $15, not $1.
Code: Select all
pi@pi0ntp:~ $ uptime ; date ; sudo hwclock -r 16:42:06 up 10 days, 9 min, 3 users, load average: 0.00, 0.01, 0.00 Tue Apr 4 16:42:06 PDT 2017 Tue 04 Apr 2017 04:42:06 PM PDT -0.323534 seconds
I know this is an oldish thread, but I just bought a few of the Chinese modules and checking the markings on the "yellow banded" object, it is a CR927 lithium cell. Other versions may vary, of coursegregeric wrote:Are you still thinking that yellow thing is a supercap? It cannot be - those things require a charging circuit, and there plain isn't one on the module, and certainly not one inside the DS3231. It's a CR1025 lithium primary (no-rechargable) cell, the best for long backup time according to the app note I linked up above. If you want longer backup cell life, fit a bigger cell.
It was just a random Chinese ebay seller. I bout three of them for under a quid each. I'll see if I can find the details when I get home.RPRPRPRPRP wrote:rpdom, can you point me to the supplier that sold you the units with lithium batteries?
The "hold time" for the supercap is between 2 and 3 days. so setting it aside for months at a time and expecting time to be correct is not going to work with this particular unit. It will work for me because I can (at worst) fire it up with an internet connection for a day or so, then take it down and transport it to where it is going to be used without a net connection and have it powered up within a few hours. What I don't know at this point (though I asked Pi Hut and haven't gotten an answer beyond, "We're checking and will get back to you in a days"...a couple of months ago) is how long it takes to recharge the supercap. Less than overwhelmingly convenient, but workable.RPRPRPRPRP wrote:I have a similar set of requirements as W. H. Heydt did, and was hoping for any follow-up information on this topic.
W. H. Heydt, were you able to perform a discharge test with your supercap units? I also have units that may be unused for months at a time...
Code: Select all
pi@pi0ntp:~ $ uptime; date; sudo hwclock -r 10:11:57 up 54 days, 12:34, 3 users, load average: 0.21, 0.12, 0.03 Fri Jun 30 10:11:57 PDT 2017 Fri 30 Jun 2017 10:11:58 AM PDT -0.208818 seconds
Thanks very much. It's funny, there are many of these modules for sale from China that all look identical, but some appear to be made with supercapacitors and others with lithium batteries...rpdom wrote:It was just a random Chinese ebay seller. I bout three of them for under a quid each. I'll see if I can find the details when I get home.RPRPRPRPRP wrote:rpdom, can you point me to the supplier that sold you the units with lithium batteries?
Home now. This was the item: http://www.ebay.co.uk/itm/232270602471
Thank you. After having hard time with ds1307, it finally works with ds3231 as charm. I used same model above.Some posts have recommended de-installing the fake-hwclock package, or the ntp package - there's no need to do that - just do the above.