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

Your IP is 18.189.170.227
ec2-18-189-170-227.us-east-2
Info
Valid HTML 4.01 Transitional Creative Commons Lizenzvertrag
rss
เราจะทำแบบวิศวกรผู้ยิ่งใหญ่
We love the King
24. November 2024
YOU RATED THIS ...
avg = 0.0 ,  n = 0


trouble_DS1307.php    5987 Bytes    22-04-2024 03:11:52


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.


Your Browser says that you allow tracking. Mayst we suggest that you check that DNT thing ?

 
t1 = 6709 d

t2 = 200 ms

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

Impressum