Pages: [1]   Go Down
Author Topic: ArduinoUNO, LCD and RTC3234  (Read 849 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have succesully completed the LCD tutorial, and I my Real Time Clock (RTC3234) also seem to be working fine. I can't figure a way to connect the RTC to the LCD through the arduino tho. I would like the day and the time to be displayed on the LCD screen. Also, what would I need to implement to the program?

Thanks!
« Last Edit: September 27, 2012, 02:29:38 pm by newtoarduino » Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 35
Posts: 4299
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
and I my Real Time Clock (RTC3234) also seem to be working fine.

I need some more information.  What is an RTC3234 (link to datasheet) and how do you you know that it is working fine?

Don
« Last Edit: September 27, 2012, 05:03:27 pm by floresta » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 Hi, thanks for reply. RTC3234 is a real time clock. (https://www.sparkfun.com/products/10160).I know it is working ine, because I connected it to my arduino as indicated, and ran a sample program that comes with it...but I have no idea how to connect both (LCD and RTC) to my arduino...I tried, but it doesn't work at all
Logged

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't know why, but I can assure you that neither your wiring nor your code is the problem.

Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 35
Posts: 4299
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I don't know why, but I can assure you that neither your wiring nor your code is the problem.
How can you possibly come up with a conclusion like that without seeing either the wiring or the code?  Just because they work separately does in no way imply that they will work simultaneously.

Don
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 35
Posts: 4299
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

First of all, go back to reply #2 and fix the link.

Quote
I can't figure a way to connect the RTC to the LCD through the arduino tho.
The connections are the smallest part of your problem.  The RTC requires specific pins so you have to connect this the same way you did before.  The LCD can use any six unused Arduino pins so you determine it's connections after you deal with the RTC.  Then you tell the sketch which connections you decided to use by putting the appropriate 'numbers' into the parentheses in the lcd.begin(...) statement.

Quote
I would like the day and the time to be displayed on the LCD screen. Also, what would I need to implement to the program?
This is a bit more involved but certainly not impossible.  I am not an experienced C programmer but it seems to me that the Sparkfun sketch uses the 'String ReadTimeDate()' function to assemble the data it reads from the clock.  You just have to send this same information to the LCD module instead of (or in addition to) sending it to the serial monitor.

Don
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i have been working on rtc using 89c51 but couldnt finish it, if you did it with arduino, can u please send me the program n circuit details to abinjohnthomas@gmail.com
Logged

Pages: [1]   Go Up
Jump to: