connections are correct
when i press push button second time the numbers which i enter is going out of the hours and minuits area
i got your mail id through linkedin i will send u pic through mail whats happening
Hi vivek, first cross check your circuit connections.if they are okay, then just print a test message in the feeding loop, to ensure that at feeding time, servo commands are generating or not.you can modify the code like below:
if (t1==r[0] && t2==r[1] && t3==r[2] && t4==r[3]&& t5<1 && t6<3 && feed==true)
{
Serial.println("feed success!!!");// Just add this line in you code and re upload
servo_test.write(100);
delay(400);
servo_test.write(55);
feed=false;
}
After executing the above modified code, if "feed success!!!" message in coming on serial monitor, then somewhere servo connections are wrong.Hope it helps!!!
Hi Sir!
After pressing the "setFeedingTime" button, during the 2nd press of # in the keypad, the 1st char seems to be replaced by the 2nd char. Supposedly, it will follow the (j,1) position so it will be printed right after the first char. The colon(:) sign will not be printed on lcd even if the condition "if (j==2)" is met.
And also, when i press the "setFeedingTime" button again, the starting position of char j seems to be moving to the right portion of (j,l) as the start point.
I've followed all the connections above.
Hope somebody could help me on this.
Thank you very much.
For getting your project operative, first of all check the circuitry by testing continuity in all the connections, after that perform a short test with power connections. Then come to check small codes like basic servo test at different angles with some time delay between servo motions. Now for setting the feeding time according to which the food will add in the pot of your pet, you need to test same servo test code with this scenario and you can attach a plate for opening/closing of the food items door. I have done a similar project and got assistance from SSLA technical support team. I suggest you to visit their site for better guidance.
Sourav Gupta
PermalinkDid you set the feeding time properly? Is the connection of servo motor proper?
- Log in or register to post comments
Joined February 12, 2018 696Monday at 02:11 PM