Now, I need a little help pls.Im not a code maker I use thewizard to get things done.

But this specific task I need help below.

As we all know we like to keep our fishhealthy all the time without over feeding or polluting our tank.

so I decide to built and design a heavy dutyfood timer. Basically the motor power is approx 4wattsand I have plug it using port 2. so far without anypermanent fish food yet. coz I need help to fix this one major thing.

I used the wonderful wizard and select for memory setting - Internal memorythen in Port 2 i used the function Dosing Pump.

This function turns on every 240 (m) for 2 (s).

This is great function. Except the problem is I do not want it to dose at night from 8:30pm until 8:30am. Because during this time some fish maybe sleeping and my lights almost all dim and ready to be OFF.

Please let me know what code can bypass the function during this specific sleeping and wake up hour of the fish. and resume running normal auto mode after 8:31am til 8:29pm

Note: The code I wish to use should not affect the options like change of setting during the dayfeeding mins and seconds.

I wish still have the benefit of changing the twothe functions (mins and seconds) in my apps internal memory during the hours my lights are on Auto mode. I have radion lights above my tank on a separate timer.

Do let me know were to insert this custom code you suggest so I can cut and past itin my ino file.

Hi Colin, Works exactly what is its suppose to do. I watch it different hours of the day by monitoring it during the time it is suppose to be ON and the time it is suppose to OFF and timing the seconds too. Thanks lot!

My problem is recently when i upgraded the RA STAR controller I began to experience negative effect. When controller began to restarts or reboots itself automatically one day. I was sleeping when it all began.

Port 2 is where I am connecting to my DIY FOOD TIMER. Its run by a RC SERVO.

What I ignored before and did not realise that can cause a crash was every time the RA STAR reboot or restarts I could here myDIY FOOD TIMER SPINS and stops. I taught this was ok. But if it happens to often this can be deadly.

What i need help is how to cut that short electricity from the relay when it RA STAR Reboot or restarts.

My tank almost crash because this erratic experience of this unstable on and off.

The RA STAR just one day started to go crazy. Kept on rebooting and restarting in the middle of the night tilearly morning. I was still a sleep. When i woke up my entire tank was cloudy due to the uneaten pellets by my food timer spinning ON then OFF when ever the RA RESTARTS.

Anyway. Can anyone help me create a fail safe code.

I need a code that if the RA STAR Restarts or reboot. It will not throw electrical current in port 2. The code should not remove the dosing function I set it with. Example If i set it to dose every 180 mins for 2 seconds, this function should still work.

The problem is this short electrical currents make my DIY Food timer spins when it sense this short surge power in the port then stops.

Although I'm not sure if this can be done in code as the RA reboots all the relays before running the code I think. What you can do is get a relay delay and set it to run say 10 sec after power is on to your feeder. You would just make the feeder run for 10 sec longer. This will prevent power from going to your feeder on any reboot.