Cat Feeder

by jonimr311 in Circuits > Arduino

432 Views, 2 Favorites, 0 Comments

Cat Feeder

WhatsApp Image 2021-09-09 at 6.24.27 PM (1).jpeg
Cat Feeder

We built a cat feeder which is controlled through the phone using "Blynk" app, which also documents the feeding time and date through "Google Docs"

Components

WhatsApp Image 2021-09-09 at 6.24.27 PM.jpeg

Circuit playground express

Esp8266

Engine 12V

Cornflakes Dispenser

Mosfet uo4

Hot glue

Connect ESP2866 to the CPX

CPX1.jpeg
CPX2.jpeg

Connect the pins according to the photo above.

Construct

WhatsApp Image 2021-09-09 at 6.20.29 PM.jpeg
WhatsApp Image 2021-09-09 at 6.20.29 PM (1).jpeg
WhatsApp Image 2021-09-09 at 6.20.29 PM (2).jpeg
WhatsApp Image 2021-09-09 at 6.20.29 PM (3).jpeg

We'll disconnect the wheel from the dispenser's wheel

Instead we'll connect our 12V engine to the wheel's spot We'll use hot glue to make sure it is well connected

We'll use the "mofset" to connect the engine to the electricity and to the cpx to A1

Blynk

WhatsApp Image 2021-09-09 at 6.45.17 PM.jpeg

We'll download Blynk app and start a new project

We'll create the buttons on the screen according to the picture above

for each button we'll describe to which virtual pin it is connected:

Delay will be connected to V0 Food amount will be connected to V1 The LCD will be connected to V2 The "Press" button will be connected to V3

Integromat

Untitled.png

We'll register to Integromat.com

Open a new scenario

Open a new sheet on Google sheets

Create a new Webhook After creating the webhook we'll use the webhook link in our Blynk app in order to connect between them

Create a new Google Sheets - Add a row Connect a "Webhooks - Custom webhook" to "Google Sheets - Add a Row"

Code

We'll upload the code above to our CPX;

Each user needs to change few lines - The "AUTH" to the authentication you got when we first opened our Blynk app The "SSID" to your wifi connection's name The "PASS" to your wifi connection's password

Downloads