Pages: [1]   Go Down
Author Topic: LCD Keypad Shield LCD 1602, ATmega2560-16AU, and a I2C RTC DS1307 AT24C32 Real  (Read 1421 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hello, i am trying to get some things working together...
LCD Keypad Shield  LCD 1602, ATmega2560-16AU, and a sainsmart RTC DS1307 AT24C32
in the long run i am trying to automate my reef tank lights and fans, but for now i just need to find and learn the coding to get the time and clock working together. i have been running through libraries and sketches, but it seems no one has put these three things together, or they just didn't post on it cause it's so simple and so am i.
i need to know how or where to find how to do it. please help with my headache.
Logged

New Jersey
Offline Offline
Faraday Member
**
Karma: 65
Posts: 3638
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try searching for those items individually. Learn to code a separate sketch that works each of them - you'll likely be able to find examples easily enough. Once you've mastered that, try combining the sketches - shouldn't be particularly hard once you've done the prerequisites and you can get plenty of help here. 
Logged

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

i can get them to work individually with the "tests", but not together. i haven't been able to find a sketch or library that works for all three to be able to display and set the time.
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I agree. It's YOUR project and others only did similar but not identical projects. Searching reef tank will bring up lots of posts you can read. You probably want a menu system on the shield to adjust parameters and a system to execute the plan (lights/fan/pump).
Logged


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

yes, it is My burden to bare, i am making baby steps, i don't want someone else to do the work for me, although help is Greatly appreciated.
i just need to be able to set the clock from the display. i believe learning how to do that i can move forward with it.  i am stuck till then.
 smiley-sad
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Setting clock from the display requires two things to work together:
sensing button pushes, and displaying numbers on screen.

I have some code but I wrote it for my phi-2 shield. Although it won't work on your shield, it should give you some idea how to do this:

http://code.google.com/p/phi-prompt-user-interface-library/downloads/detail?name=Phi_2_project_alarm_clock_v6.zip&can=2&q=#makechanges

The code requires supporting libraries stated in the description.
Logged


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

thanks, i tried, hours of trying, to no avail... i am going to have to piece together a sketch myself... or keep trying to find someone whom has put these three things into operation together successfully.... ANGORA IMPARO....
Logged

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

http://6502cpu.blogspot.com/2013/01/arduino-uno-and-ds1307-real-time-clock.html?m=1
Logged

Pages: [1]   Go Up
Jump to: