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

Your IP is 54.145.148.103
ec2-54-145-148-103.compute-1
Info
Valid HTML 4.01 Transitional Creative Commons Lizenzvertrag
rss
เราจะทำแบบวิศวกรผู้ยิ่งใหญ่
We love the King
Your valuable opinion :
0 stars

Avg. 0 from 0 votes.



trouble_DS1307.php   5912 Bytes    02-02-2017 19:22:46


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


✈ Nothing more to be seen below this point ? Maybe your browser blocks the facebook iframe.
The webmaster does not read the comments regularly. Urgent questions should be send via email.








 
t1 = 3913 d

t2 = 629 ms

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

PRchecker.info Impressum