1 / 5
El Kroketor 3000 (food and water dispenser) — zdjęcie 1
1 / 5

El Kroketor 3000 (food and water dispenser)

Zamów wydruk tego modelu

Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.

Zapisane na tym urządzeniu.

A smart food and water dispenser for cat, controlled at a distance using a phone application.

Ocena
5 / 5
Polubienia
38
Pobrania
18
Wydruki
0
Wyświetlenia
598
Oceny
4

Aktualizacja u źródła:

Informacje o modelu

Źródło
Printables
Kategoria
Animals
Licencja
Creative Commons — Attribution — Noncommercial

Introduction :

We're three high school students with a passion for technology and cats. As part of our engineering science course, we have to carry out a project in our final year of high school. We didn't have a project in mind until a friend challenged us to make a kibbles and water dispenser. We were determined to give it our best shot. And so “El Kroketor 3000” was born. The name refers to “croquettes”, the French word for kibbles.  

We thought about what we cat owners would like to improve in our daily lives, especially when we are not at home. Every cats owner wants to avoid these kind of situations : cats that have eaten everything, lazy cats that get fat, cats that eat too quickly, the worry of having a dehydrated cat when we are not at home.

 

Functions : 

  • delivers kibbles
  • customizable kibbles portion sizes
  • delivers water 
  • works remotely 

 

Operation procedure : 
  1. Open application
  2. Connect on Bluetooth
  3. press “feed” or “hydrate” button

 

How does it work ?

 

-After the operation procedure, kibbles stored in the tank fall into the mill. Then the mill rotates thank to the step by step motor. Next, kibbles go to the slide until its reach the bowl.

-After the operation procedure, the second step by step motor open the valve (tap) and the water flows in the bowl.

 

 

Software Used : 

  • For 3D modelling : Freecad 21.1 (open source)
  • For programming : Arduino (open source)
  • For wiring modelisation : Fritzing (open source)
  • For the application : AppInventor (open source)

 

Hardware Used :

  • Arduino UNO R3
  • Dual Bipolar Stepper motor controller DFROBOT DRI0023
  • HC-05 BLUETOOTH MODULE Master-slave
  • Bipolar stepper motor with gearbox 42STH38-100

Simplified wiring diagram :

this diagram is not a perfect representation of the wiring, but a simplified one

 

Code : 

#include <SoftwareSerial.h>

#define rxPin 11 // Broche 11 en tant que RX, à raccorder sur TX du HC-05 #define txPin 10 // Broche 10 en tant que TX, à raccorder sur RX du HC-05

SoftwareSerial mySerial(rxPin, txPin);

int M1dirpin = 7; //Motor X direction pin int M1steppin = 6; //Motor X step pin int M1en=8; //Motor X enable pin

int M2dirpin = 4; //Motor Y direction pin int M2steppin = 5; //Motor Y step pin int M2en=12; //Motor Y enable pin int tempo = 10 ; int valbt = 0 ;

void setup() { // define pin modes for tx, rx pins: pinMode(rxPin, INPUT); pinMode(txPin, OUTPUT); mySerial.begin(9600); Serial.begin(9600);

pinMode(M1dirpin,OUTPUT); pinMode(M1steppin,OUTPUT); pinMode(M1en,OUTPUT);

digitalWrite(M1en,LOW);// Low Level Enable }

void loop() { if (mySerial.available()) { valbt = mySerial.read(); if (valbt == 2){ Serial.println(valbt); digitalWrite(7, HIGH); // On met la broche DIR à l'état haut for (long i=0; i <= 140000; i++){ digitalWrite(M1steppin, LOW); delayMicroseconds(tempo); // On envoie 200 impulsions pour faire tourner le moteur de 200 pas dans un sens digitalWrite(M1steppin, HIGH); // La valeur de tempo determine le temps entre 2 impulsions en ms delayMicroseconds(tempo); } digitalWrite(M1steppin, LOW); digitalWrite(M1en,LOW); digitalWrite(7, LOW); } if (valbt == 3){ Serial.println(valbt); digitalWrite(M2dirpin, HIGH); // On met la broche DIR à l'état haut for (long i=0; i <= 140000; i++){ digitalWrite(M2steppin, LOW); delayMicroseconds(tempo); // On envoie 200 impulsions pour faire tourner le moteur de 200 pas dans un sens digitalWrite(M2steppin, HIGH); // La valeur de tempo determine le temps entre 2 impulsions en ms delayMicroseconds(tempo); } digitalWrite(M2steppin, LOW); digitalWrite(M2en,LOW); digitalWrite(M2dirpin, LOW); delay(2000); for (long i=0; i <= 140000; i++){ digitalWrite(M2steppin, LOW); delayMicroseconds(tempo); // On envoie 200 impulsions pour faire tourner le moteur de 200 pas dans un sens digitalWrite(M2steppin, HIGH); // La valeur de tempo determine le temps entre 2 impulsions en ms delayMicroseconds(tempo); } digitalWrite(M2steppin, LOW); digitalWrite(M2en,LOW);

} } delay(100); }

This code activates the motors so that they run when the user uses the application, in other words, it turns the tap and the mill.

The code is also included with the attached files

 

Phone application :

The application is connected in Bluetooth and allows the user to delivers food and water to his pets when he's not at home.

We used App Inventor 

User Interface, the user must press the “Connecter au kroketor” button.

In the top left-hand corner, the user can access a help tutorial.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This is the help tutorial. 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The application control screen after the user has connected to the module via Bluetooth.

To feed the cat, press “Nourrir le chat”

To hydrate the cat, press “Hydrater le chat”

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Other materials used :

  • wood 6mm (structure)
  • screws
  • angle brackets
  • Generator
  • wires
  • jingsaw
  • screwdivers
  • jerrycan
  • adhesive tape
  • glue
  • 3D printer Ultimaker S3
  • laser cutter

 

Printing instructions :

Filament Material : PLA

Default : 0.3

Infill : 20%

Support was necessary for the mill, the mill's support and the slide because the 3D printer couldn't produce certain parts where there was nothing underneath.

 

Problems/Difficulties :

  • The laser cutter had broken down and the highschool doesn't want to fix it so we had to cut thanks to a jigsaw
  • We hadn't anticipated that the various components of the dispenser would take up so much space
  • the tank and the slide were particularly complicated to model
  • Some parts fell off during assembly
  • Cables systematically disconnected during assembly
  • We hadn't noticed that the water tap didn't reach above the bowl, so we added a hose
  • With the broken 3D printers in our highschool, we fell behind schedule because we had to share two 3D printers between some thirty students
  • We had a hard time finding a way to control the motor step by step
  • We didn't have time to put in as many features as we'd like

 

Possible development/Suggestions :

  • As mentioned above, we would like to add the following elements : 
  1. a button to activate the dispenser without a telephone
  2. a LED to indicate when tanks need refilling
  3. a tank to keep kibbles dry for several days
  4. a timer for automatic meal programming
  • We'd like to test with a real cat, but we can't bring one to school.

 

Assembly pictures : 

 

 

Getting started: programming and controlling the motor

 

 

 

 

 

Codes verification and start of assembly

 

 

 

 

 

 

 

Structure assembly

 

 

 

 

 

 

 

 

 

 

 

 

 

The slide is also used as a card holder

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Power supply 

 

 

 

 

 

 

Middle of assembly with slide, water section and mill

 

 

 

 

 

 

Addition of mill support and kibble tank

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Overall view of interior without front panel

 

 

 

 

 

 

 

 

 

 

 

 

View from the top

 

 

 

 

 

 

 

 

 

 

Final Result : 

 

Front view

 

 

 

 

 

 

 

 

 

 

 

 

With the mobile app

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Demonstration : 

 

 

Social Networks :

https://www.instagram.com/kroketor3000?igsh=aGIwdnJ2ejh3andu Our Instagram

www.linkedin.com/in/kroketor-threethousand-thefirst   We are on Linkedin

https://www.facebook.com/share/16PzqbP7Me/ We're also on Facebook

 

Tagi