NameNetIDSection
Emily Chenemilyyc3ECE 120
Ethan Fritscheethanjf3ECE 110


Statement of Purpose

Our group’s goal is to build an automated pet food and water feeder that allows the owner to customize feeding times/quantity and also alerts the owner to shortages. The project's objectives are to have a fully automatic and interactive feeder that will dispense food at set times and at set amounts, not overfill the food container via weight sensor, and alert the owner when water is running low via water sensor. This project will solve the problem of constantly catering to a cat, a pet we both have, and will ideally be more interactive and customizable than other preexisting options.

Background Research

Initially we wanted to develop an app or an interactive publicly hosted website that the user can log into and configure the settings. However, we were unsure on how we could send the data collected from the website to the Raspberry Pi/motor system (assuming we would have to implement some sort of API/server for data collection/processing). While researching, we found that there are ways where we could host a static website through Raspberry Pi, but there weren’t a lot of detailed descriptions regarding how one could code a user-interactive site. We were also considering using traditional buttons or up/down arrows as the user interface, but we are instead planning on configuring a GUI application in Python to make the interface more streamlined. Rather than building a feeder completely from scratch, we are instead opting to buy a regular non-automated feeder, and focus on adding sensors/user interface information 

As far as using an Arduino vs a Raspberry Pi, we opted to use a Raspberry Pi since the mechanism for keeping time would be easier (connect over WiFi) compared to using millis() in Arduino (which disconnects if power was lost). Raspberry Pi would also have the ability to work with a User Interface in Python.

Block Diagram / Flow Chart


System Overview

The core of our system is the Raspberry Pi as it communicates with the user and controls the physical components. The feeder components include the elevated container for the dry food and the rotating dispenser mechanism . The servo interacts with the feeder by automatically turning the dispensing mechanism at set times communicated by the Raspberry Pi. The weight sensor will sit under the food bowl and detect the levels of food, reporting that back to the Raspberry Pi, which will determine how much food we release at the next interval. For example, if the animal isn't eating as much food for lunch, we won’t dispense the usual x amount, rather adjust it so that the dispensed food + food already in the bowl = x amount. The water container is a simple gravity fed container that will have water sensors at two levels to report the water status, and when half -empty/ empty will trigger the yellow or red LED. Combining all the data, the Raspberry Pi will report it in an interpretable and interactive way to a Python GUI.

Parts

Dry Food Feeder: $15.42 https://www.homedepot.com/p/Honey-Can-Do-Cereal-Dispenser-with-Portion-Control-Black-Chrome-KCH-06127/206131174?g_store=&source=shoppingads&locale=en-US&&mtc=Shopping-B-F_HDH-G-D59H-029_029_HOUSEWARES-Multi-NA-NA-PLA-NA-NA-kitchen_storage_smart_pla_test&cm_mmc=Shopping-B-F_HDH-G-D59H-029_029_HOUSEWARES-Multi-NA-NA-PLA-NA-NA-kitchen_storage_smart_pla_test-71700000087623977-58700007447146488-92700067085985095&gclid=CjwKCAjwzt6LBhBeEiwAbPGOgZUf9G1ZZe6YJUubsraAe-wH9PruRN5ruoIVXGSKx2TQ3n-rDqEVLBoCXw4QAvD_BwE&gclsrc=aw.ds

Water Dispenser: $9.29

https://www.chewy.com/frisco-gravity-refill-pet-waterer/dp/169987?utm_source=google-product&utm_medium=cpc&utm_campaign=hg&utm_content=Frisco&utm_term=&gclid=Cj0KCQjwkIGKBhCxARIsAINMioKVhVMANQivGuI9Zr6OFe_casYLgBI6YiwfOiPEyJBr3kaX16N1Aa0aAjmAEALw_wcB 

Water Detection: (2x for the LED control light) $1.95 x 2 = $3.9

https://www.adafruit.com/product/4965#description

Servo: 12.95 (maybe use ECE's current servo)

https://www.pololu.com/product/1248

Raspberry Pi: 35

https://vilros.com/products/raspberry-pi-4-2gb-ram?src=raspberrypi 

1 Raspberry Pi power supply: 8

https://vilros.com/products/official-raspberry-pi-foundation-power-supply-for-raspberry-pi-4-us-white-ul?src=raspberrypi 

1 16GB microSD card for the Raspberry Pi - 7.50

https://vilros.com/products/official-raspberry-pi-foundation-micro-sd-card-pre-programmed-w-noobs

Weight: 13. 25 https://www.wish.com/product/5d046e0350f59c020b5f6f13?hide_login_modal=true&from_ad=goog_shopping&_display_country_code=US&_force_currency_code=USD&pid=googleadwords_int&c=%7BcampaignId%7D&ad_cid=5d046e0350f59c020b5f6f13&ad_cc=US&ad_curr=USD&ad_price=3.00&campaign_id=7203534630&gclid=CjwKCAjwzt6LBhBeEiwAbPGOgW_iTa9Sgfxc0Gwpvl_AGMROZR-x5vcWitnOpQBHtxM0QFetz09hJRoC7jgQAvD_BwE&share=web


Total: $104.77

Possible Challenges

Some possible challenges that we anticipate facing are: 

  1. The servo we have isn't strong enough to turn when the food bowl is completely full or we would have trouble calculating and controlling exactly how much we dispense via the servo. However, we don’t anticipate having too many problems with the strength of the servo since the specific component we are looking to purchase is built to handle turning robotic structures. 

  2. Water sensor communicating to the Raspberry Pi might be laggy; it may take a long time to dry, especially if there are water droplets remaining on the sensor.

  3. Communicating with the Raspberry Pi or having the user easily communicate with our system.

References

https://techtutorialsx.com/2018/06/24/raspberry-pi-3-raspbian-getting-input-from-the-python-shell/

http://www.instructables.com/id/Setup-Weaved-and-the-Raspberry-Pi/?ALLSTEPS.

https://storiknow.com/automatic-cat-feeder-using-raspberry-pi/

https://www.instructables.com/id/Internet-Enabled-Raspberry-Pi-Pet-Feeder/ 

List all references you used in your proposal. This is important, you do not want to be blamed for plagiarism. IEEE citation format is highly recommended. You can use citethisforme.com's IEEE citation generator to painlessly generate your references in this style.


Final Report

https://docs.google.com/document/d/18ljV8o5ByqnkTlCv09iHKpBLuDIj0xl1r0CHziHdf5o/edit?usp=sharing

Video: 

Comments:

Project Approved


I think Challenge #1 could be more difficult than expected.

I think you should definitely explore more about how you plan to read/send signals from the Rasp. Pi. If you're planning to connect to Wi-Fi, there's many easy options.

Posted by weustis2 at Sep 27, 2021 23:58

Team #27

Posted by elihf2 at Sep 30, 2021 18:29

Correction: Team #53

Posted by shomikc2 at Oct 05, 2021 19:40