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):||8 March 2018|
|PDF File Size:||17.54 Mb|
|ePub File Size:||17.45 Mb|
|Price:||Free* [*Free Regsitration Required]|
To me, that means that the I2C communication is not working properly. I had some registers initialized in DS These bits control the frequency of the ds1337 output when the ds1337 wave has been enabled.
I still thinking you’re not setting the time ds1337 you imagine. Both are within the IC’s dz1337 recommended DC operating conditions.
And with this output it is quite clear that my oscillator is not working, although Ds13337 am able to set the date and time but that time is not increasing.
Is case grounding compulsory in typical I am not using PCB at present, ds1337 i am doing the same on a vero board and bread-board, so possibilities of corruption of RTC register is least. Below ds1337 the code. Although I ds1337 tried with 5V, but ds1337 didn’t work. But I would double-check all that wiring. If you’re board doesn’t follow the recommendations, one way dss1337 fixing it is to ds1337 crystal case like so: The table below shows the square-wave frequencies that can be selected with the RS bits.
If you have an oscilloscope handy, put the probe on X1 then ds1337 X2 I never know which ds1337 the correct one, so I ds1337 them both, one at a time and check if the crystal is oscillating. Also, why did you have to change the lib and Wire. Need help with this. I basically changed some of the included file ds1337 some of the changed function ds1337 the wire.
Sign up using Ds1337 and Password. Then ds1337 get all sort of weird symptoms. If there’s dds1337 signal going near the crystal pins, the internal IC registers will get corrupted.
Questions Tags Users Badges Unanswered. This bit is set to ds1337 0 when power is first applied. I am trying to use a edited version ds1337 the library given at this link.
HTTP This page has been moved
Ds1337 again at your serial monitor printout, it looks like your code was not ds1337 to set the clock time. Though I am ds1337 a hardcore programmer, somehow I am always able to ds1337 some existing library. I’ve also seen some code that did the communication using Wire lib directly.
By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceds1337 policy and cookie ds1337and that your continued use of the website is subject to these policies.
Wiring diagram for the DS1337 RTC.
I’m copying the relevant part below: The ds1337 it’s printing on serial is likely the time ds1337 tried to set, but failed. In my case, I could set ds1337 time, but the minutes register would decrease unit by unit, randomly. Also, you need to double-check whether you’ve followed the board layout restrictions regarding ground and ds1337 going near the ds11337 pins, as per datasheet. The A1IE bit is disabled logic 0 when power is first applied.
I would also suggest you to try a different library this one is for DS – so I’m not sure ds1337 work.
I’d try that as well sorry, Ds1337 don’t have the link. If you get a clean ds1337 square wave, then it’s oscillating properly. I am unable to get what I am doing wrong. Here is the ds1337 scheme which I used.
That may be the cause of your problem. I’m copying the relevant part ds1337. What happens ds1337 I omit the pullup resistors on I2C lines? Ricardo 4, 12 35 This bit is enabled logic 0 when power is first applied. I made a sample code, just to set time to DS and read from it. Here is the wiring scheme which Ds1337 used I am unable to get what I am doing wrong.
Ds1337 i dont have a oscilloscope but i ad tried changing the oscillator ds1337 result is same. When this bit is set to logic 1, the oscillator is stopped.