{"id":13423352,"url":"https://github.com/jorgerance/catFeeder","last_synced_at":"2025-03-15T17:31:40.072Z","repository":{"id":196309286,"uuid":"111430813","full_name":"jorgerance/catFeeder","owner":"jorgerance","description":"Arduino based (NodeMCU - ESP8266) Telegram controlled cat feeder I use in order to keep my cats happy and healthy when I'm away.","archived":false,"fork":false,"pushed_at":"2020-02-20T04:46:57.000Z","size":22,"stargazers_count":34,"open_issues_count":4,"forks_count":24,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-26T23:10:33.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.hackster.io/jrance/cat-feeder-with-esp8266-arduino-and-telegram-61c4e6","language":"Arduino","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jorgerance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-11-20T15:49:52.000Z","updated_at":"2023-11-23T22:06:12.000Z","dependencies_parsed_at":"2023-09-24T10:12:12.010Z","dependency_job_id":null,"html_url":"https://github.com/jorgerance/catFeeder","commit_stats":null,"previous_names":["jorgerance/catfeeder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgerance%2FcatFeeder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgerance%2FcatFeeder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgerance%2FcatFeeder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgerance%2FcatFeeder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jorgerance","download_url":"https://codeload.github.com/jorgerance/catFeeder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243766796,"owners_count":20344815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T00:00:32.390Z","updated_at":"2025-03-15T17:31:39.756Z","avatar_url":"https://github.com/jorgerance.png","language":"Arduino","funding_links":[],"categories":["Arduino"],"sub_categories":[],"readme":"# catFeeder\ncatFeeder is an Arduino (ESP8266) Telegram controlled cat feeder which I use to feed my cats when I'm away.\n\n![](https://user-images.githubusercontent.com/22028245/33085175-3e69b6a0-cee4-11e7-9d4e-a9e88cb42ec3.jpg)\n\n## About the ESP8266:\nWikipedia:\n\n\u003e The **ESP8266** is a low-cost Wi-Fi chip with full TCP/IP stack and MCU (microcontroller unit) capability produced by Shanghai-based Chinese manufacturer, Espressif Systems.\n\n[Click here to access the full article](https://en.wikipedia.org/wiki/ESP8266)\n\n## Main features:\n- Controlled via **Telegram bot**.\n- Wifi connection.\n- Possibility to check how much food can be still delivered with an **HC-SR04 ultrasonic ranging sensor**.\n- Multi access point (can manage more than one SSID / password).\n\n## Bill of materials (with shipping):\n- 1 x NodeMCU V3 dev board (esp8266): ~2.65 USD.\n- 1 x NodeMCU Base Breadboard (optional): ~1.88 USD.\n- 1 x L298N Dual H bridge driver: ~3.33 USD.\n- 1 x HC-SR04 ultrasonic ranging sensor: ~1.50 USD.\n- 1 x 12V 2A Power Supply*: ~6.58 USD.\n- 1 x Cereal dispenser: ~10.00 USD.\n- 1 x 80x25x1.8cm piece of wood: ~6.00 USD.\n- 1 x Plastic enclosure for PSU: ~4.00 USD.\n- 1 x 4 pieces lot 5x8mm couplings: ~5.50 USD.\n- 1 x NEMA 17 Motor 1.7A: ~9.00 USD.\n- 1 x Misc. cables: ~2.00 USD.\n\n**Total cost: 52,44 USD.**\n\n## Schematics:\n\n![](https://user-images.githubusercontent.com/22028245/33085257-7f37354a-cee4-11e7-9f8f-23e35e81b02c.png)\n\nThere's actually no need of perfboard / protoboard. However, in order to mount the HC-SR04 on the top of the cereal dispenser you may use a hot glue gun.\n\n![](https://user-images.githubusercontent.com/22028245/33085429-ebc592ce-cee4-11e7-948f-427cd2cfa7e3.jpg)\n\n## Parameters to be updated on the .ino file:\n\nDefine how many steps will the stepper motor rotate in order to deliver one dose:\n\t\n\tconst int stepsPerDose = 100;\n\t\nDefine de max. distance the ultrasonic sensor measures when the cereal dispenser is empty:\n\n\tfloat max_food = 23.50;\n\nReplace \"XXXXXXX\" with your Telegram Token:\n\n    #define BOTtoken \"CHANGEME_TELEGRAM_TOKEN\"\n\nAdd one of those statements for each SSID you want to be able to connect:\n\n\twifiMulti.addAP(\"CHANGEME_SSID1\", \"CHANGEME_SSID1_PASS\");\n\twifiMulti.addAP(\"CHANGEME_SSID2\", \"CHANGEME_SSID2_PASS\");\n\t\nNecessary libraries:\n\n\t#include \u003cStepper.h\u003e\n\t#include \u003cESP8266WiFi.h\u003e\n\t#include \u003cESP8266WiFiMulti.h\u003e\n\t#include \u003cWiFiClientSecure.h\u003e\n\t#include \u003cUniversalTelegramBot.h\u003e\n\n## How to control the cat feeder via Telegram bot:\n![](https://user-images.githubusercontent.com/22028245/33397924-848a583c-d54d-11e7-86c7-b1a0c73cc42d.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorgerance%2FcatFeeder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjorgerance%2FcatFeeder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorgerance%2FcatFeeder/lists"}