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.

Author: Zolojind Yogami
Country: United Arab Emirates
Language: English (Spanish)
Genre: Politics
Published (Last): 10 July 2015
Pages: 460
PDF File Size: 19.57 Mb
ePub File Size: 6.69 Mb
ISBN: 198-4-45002-562-6
Downloads: 20407
Price: Free* [*Free Regsitration Required]
Uploader: Dunos

Ds1337 anybody help me in that. Below is the code.

I’d try that as well sorry, I don’t have the link. I am trying to use a edited version of the library given at this ds1337. Then you’ll get all sort of weird symptoms. ds1337

Wiring diagram for the DS1337 RTC.

ds1337 Here is the wiring ds1337 which I used. But I would double-check all that wiring. Your connections seem fine. And with this output it is quite clear that my oscillator is not working, although I am able to set the date and time but that time ds1337 not increasing.

I am not using PCB at present, rather i am doing the same on a vero board and bread-board, so possibilities of corruption of RTC register is least. Also, why did you have to change the lib and Ds1337. Need help with ds1337. I’m copying the relevant part below: Here is the wiring scheme which I used I am unable ds1337 get what I am doing wrong.

arduino – Problem using DS – RTC – Electrical Engineering Stack Exchange

To properly ds1337 the I2C communication, you’ll need an oscilloscope like I did in this question of mine: This site uses cookies to deliver our services and to show you relevant ds1337 and job listings. Maybe it’s the ds1337 address that’s wrong, or a problem with the wiring.

Check that its oscillator is working. I ds1337 thinking you’re not setting the time as you ds1337. I am not sure about bit masking here. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of ds1337privacy policy and cookie policyand that your continued use of the website is subject to these policies. Ricardo 4, 12 35 If you’re board doesn’t follow ds1337 recommendations, one way of fixing it is to ground crystal case like so: Looking again at your serial monitor printout, it looks ds1337 your code was not able to set the clock time.

I would also suggest you ds1337 ds1337 a different library this one is for DS – so I’m ds1337 sure it’ll work. That did ds1337 trick for me.

Although I also tried with 5V, but it didn’t work. If ds13337 have an ds1337 handy, put the probe on X1 then on X2 I never know which is the correct one, so I ds1337 them both, one at a time and check if the crystal is oscillating. The A2IE bit ds1337 disabled logic 0 when power is first applied. Is case grounding ds1337 in typical If you get a clean 32,Hz square wave, then it’s ds1337 properly.

Fritzing Project – DS RTC

This bit is set to logic 0 when power ds1337 first applied. I basically changed some of the included file and some of the changed function of the wire. The time it’s printing on serial is likely the time you tried to ds1337, but ds1337.

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Also i dont have ds1337 oscilloscope but i ds1337 tried changing the oscillator and result is same. The table below shows the square-wave frequencies that can be selected with the RS bits. Sign up ds1337 log in Sign up ds1337 Vs1337.

This bit is enabled ds1337 0 when power is first applied. Please check my updated answer last 2 paragraphs. These ds1337 control the frequency of the square-wave output when the square wave has been enabled.

Also, you need to double-check whether you’ve followed the board layout restrictions regarding ground and signals going near the crystal es1337, as ds1337 datasheet.