Show Posts
Pages: 1 [2]
16  Forum 2005-2010 (read only) / Interfacing / Re: Best way to make a Arduino Clock on: April 10, 2010, 07:12:12 pm
cool cool

Thanks... i got a ChronoDot... but till they become available at Macetech i will probably be playing with the Arduino clock even if it is imprecise
17  Forum 2005-2010 (read only) / Interfacing / Best way to make a Arduino Clock on: April 10, 2010, 03:58:40 pm
So i am trying to make my first project for the arduino.

I am currently stuck trying to figure out what is the best way to make a clock. I want something that can be independent from using a computer to sync the time. i also want it to be able to change the current time with buttons on the side. Maybe a alarm.


I have no need for Day, month or year stuff (but i don't mind having it)
18  Forum 2005-2010 (read only) / Interfacing / Setting the time on a RTC on: April 27, 2010, 09:31:19 pm
Well first of all i sorry for my grammar

Anyways.
I am using a ChronoDot from macetech. Its pretty much a ds3231.
I was able to get the time to show on the serial monitor using the time library
http://www.arduino.cc/playground/Code/Time

anyways. I am confuse on how to use the settime thingy
Code:
setTime(hr,min,sec,day,month,yr); // another way to set the time

Anyways. in this segment of my program i am trying to add one minute to the current time when i press button 6

Code:
 buttonState6 = digitalRead(button6);
  if(buttonState6 == HIGH)
  {
    int minplus = minute();
    setTime(hour(),minplus++,second(),day(),month(),year());
  }

Nothing seems to work when i try this.
Also i change all the "int ###" to "###()" because the first thing didn't work.

Anyways... Thanks for any help
19  Forum 2005-2010 (read only) / Interfacing / So i can only control up to 8 SPI devices? on: April 22, 2010, 08:01:23 pm
I was just wondering. I am doing this thing with a Max7221 and i am just learning about SPI.

On the arduino i am only capable of having one SPI connection right?
Pages: 1 [2]