We solved the problem that not enough pins were able to control the motors and ultrasonic sensor by replacing the Arduino Uno with the Mega 2560. We also fixed some bugs in the algorithm of feeding so that the motor will not get stuck, and the ultrasonic sensor can make measurement in a reasonable range of error. We scheduled a time to talk to the machine shop for next week, and we have the full picture in mind.