Relay module problem

@ Col-Sharif
Not very nice to hijack someone else's thread.
You should have started your own.

Col-Sharif:
I have decided to use two Arduino board. One for temperature and Humidity sensor/controller, other for the motor turning and that's how I can solve the issue of temperature and humidity sensors/controls and motor turning separately.

Can anyone help me to write the code for motor controller please?

I am connecting a 5 V relay to the output pin (13) of the Arduino module.

Arduino uno is not supporting "delay" code above 65000 ms (65 seconds) right?
So what is the possible solution/code? Need your help please.

  1. Such a simple task can be done with one Arduino.

  2. We can help you improve/debug your code.
    Post whatever you already have. Don't forget the code tags.

  3. Do you have a link to the relay? Don't connect a "bare" 5volt relay directly to an Arduino pin.
    Use a relay module, with transistor base resistor and kickback diode.

  4. Don't use delay() for that long.
    It stops the Arduino dead in it's tracks during the runtime of the delay.
    Look at "BlinkWithoutDelay" that comes with the IDE.
    That sketch shows you how to manage time without using delay().

Also look at this.
http://forum.arduino.cc/index.php?topic=223286.0
Leo..