Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Arduino UNO with DS3231 rtc

Status
Not open for further replies.

maxim10373

Advanced Member level 4
Joined
Feb 26, 2010
Messages
111
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Activity points
2,034
Hello
I intend to do a project based on the attached file .I do not understand how to set the current time and date . need help


maxim10373
 

Attachments

  • Spot_Welder_V2.rar
    4.2 KB · Views: 65

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
23,013
Helped
4,714
Reputation
9,444
Reaction score
5,082
Trophy points
1,393
Activity points
152,456
Hi,

I can't open .rar files on my old tablet..

But you could explain the problem more detailed.
What's the problem exactly?

Time_source --> UNO hardware --> UNO firmware --> I2C --> RTC
Which compiler and which libraries do you use.

I guess you are not the first one connecting an RTC to an UNO. Did you search for documents, code, ...to see how others did it?

Klaus
 

doraemon

Super Moderator
Staff member
Joined
Jun 21, 2009
Messages
1,185
Helped
284
Reputation
576
Reaction score
281
Trophy points
1,363
Location
Japan
Activity points
12,082
Hello!
Same here on my mac, I can't open the file. I have already uesd DS1390 (if I remember correctly)
and it was pretty straightforward.
Dora.
 

    maxim10373

    Points: 2
    Helpful Answer Positive Rating

maxim10373

Advanced Member level 4
Joined
Feb 26, 2010
Messages
111
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Activity points
2,034
Hi,

I can't open .rar files on my old tablet..

But you could explain the problem more detailed.
What's the problem exactly?

Time_source --> UNO hardware --> UNO firmware --> I2C --> RTC
Which compiler and which libraries do you use.

I guess you are not the first one connecting an RTC to an UNO. Did you search for documents, code, ...to see how others did it?

Klaus
I have attached the text file here.
I am using arduino IDE 1.8.16 for compile. DS3231 RTC connect to SCL (A5) and SDA (A4)
DS3231.h library also used. The time and date are shown on the screen but it is not the current time and date .I do not understand how to set it up.
 

Attachments

  • arduino_rtc.txt
    25.7 KB · Views: 77

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top