Giter Site home page Giter Site logo

app-pet-ite's Introduction


Social Media Profiles

Youtube Facebook

Project Overveiw

The basic layout of the project is given in the figure below

Project Description

The schematic above provides an overview of the project concept. The central component of the project design is a Raspberry Pi. The Pi is connected to peripheral devices that are used to control the food for a given Pet. The concept is not Pet specific and can be used to make an Automatic feeder for popular pets like cats or dogs and other smaller pets. The design includes two analog sensors to measure the weight and the water level. These sensors are connected to the Raspberry Pi through an ADC. SPI communication protocol is used to get analog values from the two sensors. A DC motor is controlled using a motor drive circuit. The user can interact with the Automatic Pet feeder through a user interface.

Component List

For this DIY project, we are using the Raspberry pi 3 Model B+ along with the following Component List.

Mechcanical Components List
1) One DC Motor [6 Volts-150 RPM]
2) One Pet Food Bowl
3) Wooden Planks

Electrical Components List
1) One Analog water sensor
2) One Analog-to-digital Converter [MCP3008]
3) One 4x4 Matrix Keypad
4) One Analog Weight Sensor [HX711] with a maximum weight of 2 kgs
5) Five 1K Resistors
6) One TIP 122 or TIP 121 (NPN Transistor)
7) One LED
8) One Diode 1N4004
9) Connector wires (F-F, M-F)
10) Two 20 Pin Female Connectors with a spacing of 0.1 in
11) One 8 pin Male connector with a spacing of 0.1 in
12) One 4 pin Male connector with a spacing of 0.1 in
13) One 3 pin Male connector with a spacing of 0.1 in
14) One 16 pin IC holder with a spacing of 0.1 in between legs
After the Mechanical and Electrical Components have been procured, The following steps need to be followed to assemble App-PET-ite

The Assembly

Mechanical Design Assembly



Shown above are a screenshot of the 3D CAD model and a photo of the final mechanical assembly. The frame is made simply out of wood, and the clamps for the food and water tanks are made out of rigid PVC pipe with slots made in one side. Everything else non-electrical is easily sourced in most supermarkets.


The only other part requiring significant manufacturing is the dispenser mechanism, which was 3D printed. Shown above are screenshots of this part. For the .stl file of this component and the SolidWorks files of all the components shown in the full assembly, see the SolidWorks/Mark 4 repository.

For a full walkthrough of how we assembled the feeder, see the Step-by-Step Assembly page.

Electrical Design Assembly

The first step of the electrical assembly is the PCB Fabrication.

PCB Design


The figure above gives a preveiw of the PCB design. It is a double layered PCB Design. It includes the circuitry for Water Level Sensor, the ADC (MCP3008), the load cell (HX711), the key pad and the motordrive circuit. The PCB can be fabricated by printing the pdf files in the Double sided PCB folder and then using that layout to make a PCB step-by-step. A tutorial to make a PCB can be found at the following link. For a doubled layered PCB design the alignment of the two layers must be perfect. While aligning PCB use the text on the bottom as a guide to align the top and bottom halves. For a double sided PCB the process discribed in the tutorial must be repeated twice.

https://maker.pro/pcb/tutorial/how-to-make-a-printed-circuit-board-pcb

Fabricated PCB


Schematic

The figure below gives the schematic on which the PCB design is based.

Electrical Connections

A summary of the electrical connection is given below.

Ensuring Safety of Pet

Because of the nature of the project, It is recommneded to use the PCB layouts rather than using the schematic to build the circuit on a breadboard. All the wires must be taped down and all the electrical components should be out of the reach of the Pet.

Flowchart

The Flow chart below gives the overveiw of the code. First, the user initializes App-PET-ite with inputs for weight and time between two subsequent feeding times. The food is then dispensed based on user input. Then two threads run simulataneously. One counts down to the next time food is to be dispensed. The other thread periodically measures the Water level.

Install the following packages using sudo apt-get

git 2.21.0
cmake-3.14.2.tar.gz
Qt 4.8.7

To Run

git clone https://github.com/RabiyaF/App-PET-ite
cd Final_codes/build
cmake ..
make
./mypjex

User Interface

The user interface is given below. First, the user is promted to enter the weight of food to be dispensed in hours. Then the user is promted to enter the time between subsequent feedings. Then the user is asked verify the data entry. Once the data is entered, the correct amount of food will be dispensed after the specified time intervals for the Pet to enjoy and no further input is needed from the Pet owner after that.


Reporting a Bug

Use this link-App-PET-ite Bug to contact the team members to fix issues with software.

License

GNU General Public License V3
GNU LESSER GENERAL PUBLIC LICENSE V3

Team Members

  • Raghul
    Initial Concept Contribution -App-PET-ite logo
    2.Load cell setup and configuration
    3.UI interface, repository maintenance.
    4.Integration testing, Unit testing
  • Stuart Shilliday
    Initial Concept Contribution - Concept pitch presentation
    Mechanical Contribution - Design, manufacture, iteration and assembly. Step-by-Step Mechanical Assembly Wiki
    Social Media Contribution - YouTube and Facebook pages; photography, videography, video editing and uploading
  • Rabiya Farooq
    Initial Concept Contribution - Slides for pitch presentation
    Programming Contribution- The ADC (MCP3008) for water level sensing, 4x4 Matrix Keypad, Motordrive control and threads for Water level sensor and timer
    Electronic Contribution- Double layered PCB design on Proteus Design Suite Professional v8.7, Soldering, testing and debugging of PCB Hardware

Survey

PLease participate in this survey to give insight and feedback on Ap-PET-ite for future releases.
Ap-PET-ite Survey

Release Strategy

Ap-PET-ite v1.0

  • Dispenses food of given mass at given intervals, and maintains water level, with inputs given from a UI.
    Release date - 15th April 2019

Ap-PET-ite v2.0

  • Depending on Survey results and general feedback, Version 2 will have following aditional funtionalities
    1) RFID Sensor (MFRC 522) for Pet identification and differentiation to allow feeding to be customized for each pet in a multipet household
    and/or
    2) LCD Screen (ST 7735 128x160 pixel 1.8 inch Display) for the user to input and update the setting directly on to the Ap-PET-ite hardware

Ap-PET-ite v3.0

  • The last version will enable an exclusive Mobile App and an ASIC chip and will be marketed for a commercial release.

Acknowledgements

The follwing libraries were used to build the code

https://github.com/berndporr/gpio-sysfs
https://github.com/halherta/RaspberryPi-mcp3008Spi
https://github.com/dangrie158/opencushion
https://git.drogon.net/?p=wiringPi;a=summary

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.