Thanks for the response. I'll try to answer in order.
wildbill "How should this bit function?"
I don't know. I think it should be, one button to start. Second button. One push is pause. second pause is start. Does this sound too complex for the very inexperienced?
6v6gt "I guess you also want some indication of how far into the 12hour cycle the device is, and if it is paused or come to a normal end.
Consider using an LCD1602 display with I2C backpack. These are cheap and easy to use.."
I had thought about it, but i didn't want to complicate. once i can understand more, i would like to do that. I have a 2x8 LCD and an IC2, but haven't looked at it or tested the parts yet.
sterretje "So you basically have three states (stopped, running, paused) controlled with two buttons? For accurate timekeeping (not sure how accurate it needs to be), an RTC might also be a good idea."
Yes, though start and stop are my must haves. Pause might be nice, say if i discovered a small leak or kink in a line that needs a quick fix. I just read about the RTC, Very useful tool, but i think it's overkill here. I need to be able to cycle a small pump for 12 to 20 hours, i will need to do some testing for total time, but i think the on board timer is close enough for this.
i dont know how to properly format code, but here it is. I stole it from someone else's work and have only modified the on/off times. it does the very basic operation i need. i can survive on this, but it's not very graceful; plug in to start and unplug to stop.
int in1 = 7;
void setup() {
pinMode(in1, OUTPUT);
digitalWrite(in1, HIGH);
}
void loop() {
digitalWrite(in1, LOW);
delay(12560);
digitalWrite(in1, HIGH);
delay(5100*60);
}
"If you are willing to put effort into this, we can help out.
There is a forum called Gigs and Collaboration on this web site where you can arrange for someone to write code for you.
Have you worked with 'any' Arduino hardware and software before, what ?
Are you capable of coming up wth a schematic showing the hardware you need and then show it here ?"
Fantastic! Ill answer your questions in order. I have worked with an arduino, but only minimally. i designed and purchased most of the parts to monitor systems on my old Land Rover, oil temp and pressure, water temp, volts, amps and i can't think of what else. i wrote the code and tested several inputs and displays. Never installed, due to life getting in the way. i then used it as a timer to turn lights on and off to give my plants light over the winter. worked fine. had problems with the LEDs and power supplies so the ardiuno worked fine, but didnt run for more than a month.
i can write a schematic of the what i need. it's the coding that slows me down. thanks for the help. ill check out the Gigs and Collaboration forum, sounds like just what i need.
johnny