Hello im trying to develop fish feeding machine at standard time .
I connected the RTC module and some servo motors to arduino and tried running the below code .
This is working fine only when Serial monitor IDE is opened .
This is not working if IDE is not open
When you open the serial monitor, it resets the Arduino. Apart from that there should be no difference between having serial hooked up to the monitor and not.
Try running without the monitor and press the reset button. What does it do?
I waited till the if condition executes . but could not see the servo motors working .
If i ope the IDE then when if condition is reached servo motors started running
Hello im trying to develop fish feeding machine at standard time .
I connected the RTC module and some servo motors to the arduino .
My aim of this project is for every defined time i.e 10'oclock the servo motors has to move .
When i open the serial monitor the RTC module is working fine but when i connected to the external power supply the servo motors are not moving at 10'o clock .
I am using ARDUINO UNO
NOt sure the reasom for it
Please follow the advice on posting code given in posting code
In particular note the advice to Auto format code in the IDE and to use code tags when posting code here as it prevents some combinations of characters in code being interpreted as HTML commands such as italics, bold or a smiley character, all of which render the code useless
One your servo has moved then it can’t move again and is stuck at 180 deg, and the instruction will keep on repeating for a whole hour at 10 o’clock trying to move it on , but once at 180 it can’t move on .
It would help you to put a few print statements into your loop so you can see what is happening and help you debug it .