Bocsi, hogy félre érthető voltam. Ez csak egy IC, a hardveres részt megépítettem hozzá.
Két vezérlőbe van betöltve a kód. legelőször beteszem az elemet, várok és tápot adok rá, majd beállítom az időt. Várok picit és kikapcsolom, majd vissza és rendbe működik. Újra kikapcsolom és most kiveszem az elemet, majd tápot adok és nem akarja elindulni, nincs óra, hiába teszem vissza az elemet.
Most a másik vezérlőt teszem be, elem marad, ezzel elindul. Majd visszacserélem az "elrontott" vezérlőre és ezzel is elindul már.
Ezért gondoltam, hogy a "jó" vezérlő "meggyógyította" a "rosszat".
Miért veszem ki az elemet? Mert nem magamnak csináltam és nem szeretném, ha mellé menne valami.
DS1307 nem indul
Re: DS1307 nem indul
Elem nélkül nem biztos hogy él a chiped.
https://datasheets.maximintegrated.com/en/ds/DS1307.pdf
Ha nincs elem benne, nem lebeghet a láb! 6.oldal:
"Backup Supply Input for Any Standard 3V Lithium Cell or Other Energy Source. Battery voltage must be held between the minimum and maximum limits for proper operation. Diodes in series between the battery and the VBAT pin may prevent proper operation. If a backup supply is not required, VBAT must be grounded. The nominal power-fail trip point (VPF) voltage at which access to the RTC and user RAM is denied is set by the internal circuitry as 1.25 x VBAT nominal. A lithium battery with 48mAh or greater will back up the DS1307 for more than 10 years in the absence of power at +25°C"
https://datasheets.maximintegrated.com/en/ds/DS1307.pdf
Ha nincs elem benne, nem lebeghet a láb! 6.oldal:
"Backup Supply Input for Any Standard 3V Lithium Cell or Other Energy Source. Battery voltage must be held between the minimum and maximum limits for proper operation. Diodes in series between the battery and the VBAT pin may prevent proper operation. If a backup supply is not required, VBAT must be grounded. The nominal power-fail trip point (VPF) voltage at which access to the RTC and user RAM is denied is set by the internal circuitry as 1.25 x VBAT nominal. A lithium battery with 48mAh or greater will back up the DS1307 for more than 10 years in the absence of power at +25°C"
http://www.tavir.hu - a gazda
Re: DS1307 nem indul
Ha visszateszem az elemet, akkor sem indul azzal a vezérlővel újra, amin már egyszer beállítottam a pontos időt.
Kipróbáltam úgy is, hogy ne lebegjen a 3-as Vbat kivezetés, bekötöttem 3V-os stab. ic-re, de úgy sem indul újra.
Kipróbáltam úgy is, hogy ne lebegjen a 3-as Vbat kivezetés, bekötöttem 3V-os stab. ic-re, de úgy sem indul újra.
Re: DS1307 nem indul
Vbat GNDre kötve?
Chipnél a tápfesz szűrés megvan?
A DS1307 tápfesze normál rendszerben 3V3 vagy 5V?
Chipnél a tápfesz szűrés megvan?
A DS1307 tápfesze normál rendszerben 3V3 vagy 5V?
http://www.tavir.hu - a gazda