issue in executing automatic pet feeder

Submitted by vivek raju on
Hello sir/ma’am , this is with regard to the automatic pet feeder project that you’ve put up on your page. We have a few doubts regarding the project. It would be great if you could give us some of your time to clear it up. 
The problem that we are facing is that the we aren’t able to set the time for feeding. Even if we set the time the servo motor is not rotating according to the time set. It would be great if you could guide us through this. Hoping for a reply ASAP. 
 
Thankyou!

Did you set the feeding time properly? Is the connection of servo motor proper?

  Joined February 12, 2018      696
Monday at 02:11 PM

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

  Joined February 17, 2020      1
Monday at 10:10 PM

I think you should try the method described be Mr. Debasis

  Joined February 12, 2018      696
Monday at 02:11 PM

I think you should try the method described be Mr. Debasis

  Joined February 12, 2018      696
Monday at 02:11 PM

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!!!

  Joined August 22, 2019      125
Thursday at 12:29 PM

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.

  Joined March 11, 2020      3
Wednesday at 07:47 AM

I'm also encountering this Sir. Hope somebody could fix this.

  Joined March 11, 2020      3
Wednesday at 07:47 AM

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.

  Joined April 09, 2020      55
Thursday at 02:40 PM