timing problem for my hydroponic system

im an electronics enthusiast but not smart in programming =( . i am running a water pump for my hydroponics system (variable on and off timing) with various water level and temperature sensors. my problem is i can't run the on and off timing of the pump and the sensors simultaneously.The only way i know is the delay command which is not suited for my needs. I'm really a newbie, any suggestion will be much appreciated. thanks in advance :slight_smile:

The only way i know is the delay command which is not suited for my needs.

You need to look at the blink without delay example.

Use millis() instead of delay.. Have a look at my last post. http://arduino.cc/forum/index.php/topic,77152.0.html
This is altso used for a gardening system.. but with soil.

thanks a lot guys. :slight_smile: perfect :smiley: arduino is awesome!!!!