Skip to content

Shujing106/AutoPetFeeder

Repository files navigation

4-Contributor License Stars Fork

Demo

image

Full version video and Follow us on:

Introduction

We are one group students at the University of Glasgow. This project is the course design of our real-time embedded system. In this course, we are the team 21. We find that when pets-owners leave home for a long time, feeding pets is a big problem. So we decide to make one automatic pet feeder to help that people to feed their pets when they are busy. Basically, using raspberry PI to make an automatic feeder, real-time monitoring of pet movement and food weight. Realize intelligent feeding, protect the health of pets.

image

Equipment

  • Raspberry Pi 3B+
  • Ultrasonic sensor (HC-SR04)
  • Weight sensor (HX711)
  • Step motor (28BYJ-48)
  • Paperboard
  • Large plastic bottle
  • Bowl

Circuit Diagram

image

Object

  • Ultrasonic sensors detect the distance from the pet, and the feeder starts working when the pet approaches.

  • The weight sensor detects the weight of the food in the bowl. When the weight of food < 10g, starts the motor to make the baffle turn to replenish food. When the weight of food > 50g, the motor rotates backward.

  • Limiting conditions:
    1.There will be a 4h cooldown time after feeding is first turned on.
    2.The machine can only add the food for three times within 24 hours.

Get Started

This is an example of how to list things you need to use the software and how to install them.

  • Git

    sudo apt-get update && upgrade
    sudo apt-get install git-core
    
  • Cmake

    sudo apt-get install cmake 
  • wiringPi

    git clone https://github.com/WiringPi/WiringPi
    cd WiringPi
    
    sudo ./build
    
  • Clone the project

    git clone https://github.com/Shujing106/AutoPetFeeder.git
  • Navigate to the project folder

    cd AutoPetFeeder/codes/src
    mkdir build
    
    cd build
    
  • Link the required files and libraries using CMake

    cmake ..
  • Build the CMake project

    make
  • Run application

    ./AutoPetFeeder

Version Control

check the repository to see the avilabe version

License

MIT license

Acknowledgement

Contact us