Categories
Statistics
Flag Counter
Since 08.08.2014
Counts only, if "DNT = disabled".

216.73.216.253
216.73.216.253
Info
Valid HTML 4.01 Transitional Creative Commons Lizenzvertrag
rss
เราจะทำแบบวิศวกรผู้ยิ่งใหญ่
We love the King
27. July 2026
YOUR OPINION     •••
average: 0.001,   n: 0

Rating




When using this form, your ip is stored in order to avoid multiple voting on the same website. That's it.
trouble_DS1307.php    5987 Bytes    04-03-2025 19:13:28


Troubleshooting a DS1307Z


I2C RTC, displaying 165.165.2165






The Setup : A DS1307 on a shield, mated with an Arduino/Genuino




✈ The (unhappy) Circuit




The circuit demanded for a Real Time Clock with I2C. A DS1307 seemed a smart choice. It is powered with +5 V. As the datasheet specifies a battery voltage from 2 - 4 V, the initial design used 4 x LL4148 (because of the low leakeage current), in series, to get rid of approx 2 V and therfore land in the middle of the specified range. The charge is stored in a "gold cap".


The original circuit




✈ The (unhappy) Behaviour




The circuit worked nicely after switching on. But, after some days the clock seemed unhappy.

LCD
Oooops
LCD
without oooops :-)




✈ Measurements • Discoveries




The reason is the following : The voltage over the storage capacitor will keep on climbing (up to 5 V), as the current drawn from the gold cap is very low - and for very low currents, the voltage drop across the diodes is also very low. Zero volts at zero current.


The voltage over the gold cap climbs ...




✈ The (happy) Circuit




As the mechanism - which leads to malfunction - was clear, the solution was also clear. With only one diode, but this time connected to the +3.3 V, the voltage above the gold cap can never go above the +3.3 V - with a 1N5711 (Schottky Diode) it settles at about 3.0 V - just the value we aimed for ...


The modified circuit




✈ Share your thoughts



The webmaster does not read these comments regularely. Urgent questions should be send via email. Ads or links to completely uncorrelated things will be removed.




 
t1 = 7319 d

t2 = 229 ms

★ ★ ★  Copyright © 2006 - 2026 by changpuak.ch  ★ ★ ★

Impressum