This is an attempt at an automated pet feeding system using LPC2378. It makes use of a servo motor which assists in dispensing food at the required interval and an ultrasonic sensor which helps with identifying the presence of a pet.
The user may pre-feed the specific times at which the food is to be dispensed along with certain buffer interval during which the presence of a pet would be monitored.
The following major components were used:
- NXP LPC2378
- Tower Pro MG995 servo motor
- HC-SR04 ultrasonic sensor
The program directory is highlighted below:
The main module is present in main.c. It controls the other modules spread across independent files with self explanatory names.