Comments (8)
No, in this firmware we do not enable trickle-charge function, which is disabled by default.
Refer to page 7 of maxim's ds1302 datasheet for more info.
https://datasheets.maximintegrated.com/en/ds/DS1302.pdf
I suspect it could be used with rechargeable lion coin cell, nimh, or supercap, but would need to be configured, in the firmware, which currently does not have this feature. (I welcome pull requests if someone wants to add the feature, as a compile-time option.)
from stc_diyclock.
Thanks for info!
It is strange that in the original kit this feature was enabled together with using non-rechargeable battery)
from stc_diyclock.
curious - how do you know it was enabled? and to what setting?
from stc_diyclock.
Battery was swollen and that caused the suspicion of the current that flows through it. The multimeter also showed the voltage at the battery pins. Also I flashed another firmware with disabled trickle-charger, and new battery stays Ok )
from stc_diyclock.
interesting... very strange mistake if so... If you were really curioust o know, you could measure the current flowing to the battery, or sniff ds1302 pins on startup to see what they are writing to the trickle charge register (reg write addr: 0x91)
(It's possible the firmware was meant for rechargeable cells or supercaps, but someone assembled the kit using the primary cells...) At the price point, anything is possible ;)
from stc_diyclock.
it would be interesting... How I can sniff pins of the DS1302? Need some more info :)
from stc_diyclock.
Do you have a logic analyzer?
from stc_diyclock.
Unfortunately have no logic analyzer. I'll just check voltage on battery pins in next days with multimeter, after reinstall stock MCU.
from stc_diyclock.
Related Issues (20)
- "Waiting for MCU, please cycle power" HOT 3
- Maybe new model? Schematic Provided.. HOT 9
- 4 digit display models? HOT 3
- buttons don't work HOT 17
- Website for original maker of these kits
- Need help with make on windows HOT 1
- синхронизация времени с приемником GPS вывод последовательных данных NMEA HOT 8
- Time stops ticking when power is lost HOT 1
- Привет! HOT 3
- Dot-Matrix version? HOT 3
- hourly chime HOT 3
- Weird bevaviour with STC15W408AS HOT 7
- New hardware version from Banggood w/ STC15W408AS? HOT 25
- My kit reset time to 00:00 01-01-2000 each power cycle HOT 2
- barebone firmware HOT 3
- Firmware for clock with voice HOT 3
- Worked for 10 minutes with new chips and then stopped... HOT 3
- Brightness level HOT 7
- Random slow downs. STC15W408AS HOT 2
- Makefile SDCCOPTS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stc_diyclock.