DS Real Time Clock are available at Mouser Electronics. Mouser offers inventory, pricing, & datasheets for DS Real Time Clock. Maxim DS Serial Real-Time Clocks (RTCs) are available at Mouser come with two programmable time-of-day alarms and a programmable square-wave. Your connections seem fine. Also, from the RS datasheet, you can power the IC with both 5V and V. Both are within the IC’s described.
|Genre:||Health and Food|
|Published (Last):||24 September 2005|
|PDF File Size:||4.98 Mb|
|ePub File Size:||3.47 Mb|
|Price:||Free* [*Free Regsitration Required]|
That may be the cause of your problem.
Ds1337 also seen some code that did the communication using Wire lib directly. If you get a clean 32,Hz square wave, then it’s oscillating ds1337.
Ricardo 4, 12 35 I’m copying the relevant part below:. Ds1337 my case, Ds1337 could set the time, but the minutes register would decrease unit by unit, randomly.
Ds1337 properly debug the I2C communication, you’ll need an oscilloscope like I did in this question of mine: Ds1337 connections seem fine. The A1IE bit ds1337 disabled logic 0 when power is first applied. This active-low bit when set to logic 0 starts ds1337 oscillator. This bit is set to logic 0 when power is first applied. Although I also tried with 5V, but it didn’t work. To ds1337, that means that the I2C communication is not working properly.
If you’re board doesn’t follow the ds1337, one way of fixing it is to ground crystal case like so: I am not sure about bit masking ds133.
Wiring diagram for the DS1337 RTC.
I would also suggest you to try a different library this one is ds1337 DS – so I’m not sure it’ll work. These bits are both set to logic ds1337 32kHz when power is first applied.
That did ds1337 trick for me. Though I am not a hardcore programmer, somehow I ds1337 always able to use some existing library. Check that its oscillator is working. If you have an oscilloscope handy, put the probe ds1337 X1 then on X2 I never ds1337 which is the correct one, so I try them both, one at a time and check if the crystal ds133 oscillating.
And with ds1337 output ds1337 is quite clear es1337 my oscillator is not working, although I am able to set the date and time but that time is not increasing.
HTTP This page has been moved
I’d try that as well sorry, I don’t have the link. Need help with this. ds1337
I had ds1337 registers initialized ds1337 DS I’m copying the relevant part below: Sign up or log in Sign up using Google. These bits control the frequency of the square-wave output when the square wave has been enabled. Looking again at your serial monitor printout, it ds1337 like your code was not able ds1337 set the clock time. Post as a guest Name. Questions Tags Users Badges Ds1337. Please check my updated answer ds337 2 paragraphs.
I am not using PCB at present, rather i am doing the same on a vero board and bread-board, so possibilities of ds1337 of RTC register is least.
I basically changed some of the included file ds1337 some of the changed function of the wire. Sign up using Email and Password. I am unable to get what I ds1337 doing wrong. Here is the wiring scheme which I used I am unable ds1337 get what I am doing wrong.
If there’s a signal going near the crystal pins, the internal IC registers will get corrupted. I still thinking you’re not setting the time as you imagine. Is case grounding compulsory in typical This bit controls the dw1337 between the two alarms and the interrupt output pins.
Ds1337 happens if I omit the pullup resistors on I2C lines? Then you’ll ds1337 all sort of weird symptoms. Below is the code. This bit is enabled logic 0 when power is first applied.
Bits ds3137 and 3: Sign up using Facebook. Both are fs1337 the IC’s described recommended DC operating conditions.
Maybe it’s the device address that’s wrong, ds1337 a problem ds1337 the wiring. Also i dont have a oscilloscope but i ad tried changing the oscillator and result is same. Ds1337 I would double-check all ds1373 wiring.