Это видео недоступно.
Сожалеем об этом.
HOW TO BUILD A SMART ARDUINO CAT FEEDER
HTML-код
- Опубликовано: 24 дек 2017
- Building a DIY arduino/raspberry pi/beaglebone black smart cat feeder for less than $15, we will need:
- 2 cans
- MG996 servo motor
- zip ties
- thick wire
- double bowl
- piece of styrofoam
- electric tape
- arduino or similar microcontroller/microcomputer with PWM support
- something to cut tin with (knife/scissors/dremel).
Also it can be a great cat puzzle if you approach it creatively! My cat pushes the button ( • DIY ARDUINO CAT FEEDER... ) and also gets the food from the interactive stream donations ( • PLAY WITH A CAT AND FE... )
Circuit:
drive.google.c...
Example arduino code:
gist.github.co...
gist.github.co...
gist.github.co...
#MomWillBeProud #CrazyDIY #HomeAutomation
Personal website: momwillbeproud...
I learned how to use things and slam hard on the table
pro tip: you can watch movies at kaldrostream. Been using them for watching loads of movies during the lockdown.
Pro tip : you can watch movies on flixzone. Been using it for watching all kinds of movies lately.
@Grady Max Yea, been using flixzone} for since december myself :)
Loving the part where the cat can push the switch for more food!!! Great video!
I have learned there are two types of maker / nerds.
The CNC, expertly milled and drilled, made like a product nerds. And the "this is what I got to work with" nerds.
And I love the 2nd group.
So true 😆
There is also the using pliers as a hammer group. Lol ;) I fall into that category some times.
Just what I've been thinking ... If you need a CNC, Lasercutter, a band saw, etc then it's not really DIY...
ارئ ش
I dont have a cat, why am I watching this in the middle of the night? :³
My cat would tear that thing open, eat all the food, then attack me.
хахха, смешно та как)!
Yeah my cats would murder that thing 😂
I laughed way to hard on this comment😂😂😂
Thank you for made me finish my project. Mom will be proud and my teacher was proud too. you saved our lifes.
Truly brilliant. I love it. Cheap and functional and keeps the cats curious and happy.
Loved the song when the feeder opens, really cool feature 🤣
I love that you love your cat that much! I wish I knew wtf you were doing so I could copy. 🤣😂
Now, all I need is a cat 😂
😹
So creative and resourceful!
Best Diy cat feeder i saw on you tube thanks for sharing this man
The only part i can follow is the part when you showed us two cans. And then i got lost. ㅜㅜ
bro luv u, hugs from brazil
That`s so cool! I am taking Computing class right now and we were studying Sparkfun Redboard and I ran into this video! So awesome! I will definitely try making this for my cat on Winter break lol=) Thanks
Спасибо за хорошо сделанное практическое видео, брат. Пакет с конфетами многое показал!
Love it! I'm going to build one for each of my kittens. Thanks man.
I like it so amazing and your cat is so cute
Love it! Mine doesn't work aswell do... food keeps getting jamed in the hole for some reason. But other then that, fun project to work on!
Pellet size should be smaller than the gap between the cans. So it doesn't help if there's no gap in between or if the pieces are too small. The cans themselves have a lip that help to create this gap.
Really nice video and plus points for eye safety :D
Pretty clever. But two problems to solve. First cat treats are junk food. That is way too many cat treats to be giving your cat in one sitting... Second, portion control. The amount of cat food that comes out is going to vary significantly per feeding. Leading to a very pissed off cat on days when he gets under fed everytime, and a cat throwing up extra food on the days he gets too much. There needs to be a way to better control the proportion of food. BTW. My cats have been known to climb into the cub board and get the dog to open the screwtop so they can all enjoy cat treats.... The cat treat dispenser would not last long.
XD you planned this out well, the engineering part is brilliant.... the use of your tools..... XD I have no comment on......
Can i use power bank for the power source of the arduino ? . Im still confuse about how to programming the code of arduino . Please help me . Im From Malaysia . Thanks for the Help . Bye
Pyschø Path_ yes, you can, but the minimum current rating of the output should be 2A.
You are a genius ❤
I heart cat
Your cat is SO cute!
Hi! Thank you so much for this tutorial! I'm trying my hand at making this project as my final for school, and I wanted to integrate both the button code and timer code for the same feeder, but I'm really struggling to make it work. I'm using an Arduino Uno. Is it even possible to make it work like so, or am I just losing my time trying it? haha!
It's absolutely possible but it's a bit more envolving because you have to monitor 2 things "at once".
gist.github.com/ulitiy/25d675591af73f347926b7a4e6921797 here's an example code I used for another feeder you can find on the channel. It implements the thing you're talking about - watches 3 buttons and a timer.
@@MomWillBeProud Thank you so so so much for replying! I really appreciate it!! You've saved my project lol
This is awesome! We are going to make one for our son!
Okay so firstly that ain't cat food, that's a big ol' bag of cat treats.
My cats drop a metal bucket, and they will play with such a design like a mouse.
my mother is so done with our cat waking her up in the middle of the night she is considering giving him up for adoption
this is my last hope
Эмуляция звуков бор машины на пять! 😲
That is brilliant
the #include
Servo myservo;
Doesn’t work when we’re are trying to compile the code. We get the message: exit status 1.
Can you help us? byeeee
Probably you need to install the servo library first.
Hi, Thank you very much for this great tutorial.
I finished mine and works great ( expecting my cat will learn how to use it ;-) )
I just have a question : At the beginning you have an automatic version with star wars music announcing the meal :-)
Have you got a breadboard layout sheet and the code for that one? I would use it to train my cat with the noise :-)
Thank you
Ybann from Belgium
Hi Ybann! It was javascript code with beaglebone black single board computer so you can't use this code for a microcontroller. But you can google for "arduino melody" for that. I.e. www.arduino.cc/en/tutorial/melody gist.github.com/nicksort/4736535
@@MomWillBeProud Oh ok Thank you for your answer.
I will try to make it with my arduino even it's not my best qualityt ;-)
Take care
Yb
So, I actually have been working on something similar to this.... my problem was the -dispenser- part. I have a weight sensor module and that actuates the servo, but the serving of food I have had issues with getting it to be.... precise? I can measure it, but the latch containing the amount of food wouldn't be the correct weight.... so thanks :) this is a big help. (i am trying to build a food habit databank, how he eats at a time, frequency of eating, same for water... he is on a diet :( )
I don't think this feeder can have consistent portion sizes. See another video with 3d printed cat feeder, it has better precision.
Fantastic no-wasting-time editing!! And bravo for the project! :D >^_^
I prefer to use a sound sensor or relay module rather than using a button.
I would like to see a project like that.
That's one lucky cat! :)
You are amazing man!
cat approved!
Where can I find the tutorial for this one? Is different from the sketch that u posted, i need help to build it!
Great.. It's a great.. Great.. Great idea.. Brilliant..
Cool now you can go on a week vacation
Too much work, but I love the cat is watching you.
Hm. I'm going out of town for 10 days; have 5 cats.. How large of a container could this effectively rotate to feed, and can I make a webpage, or something for my phone that would allow me to operate it over internet?
I haven't tested it but I'm pretty sure that it's too much for one servo of this kind (you need at least 7 times more volume). You can scale it building multiple feeders or customising the design, maybe using static upper container with narrow bottleneck (like 5kg protein plastic jar) and just rotating the disk with a hole.
As for the phone - I see a lot of instructables using IFTTT service for this purpose but you will still need to customise the code for that. I would probably use ESP-12E board to control that, I made a mining-rig-hardware-remote-rebooter using it.
You must be kidding. This is cruel and irresponsible. It can go wrong anytime with the feeder, eg. food can get stucked or the cat figures out on the first day how to open it. Your cats need company and love, not only food. I hope animal welfare services will find you soon......
THIS IS SOO COOL
I like your 🐈...
Hello, total new to this. How do you make it work on batteries? This looks great to build for stray cats
Hey man! Love your video & ideas so much! i want to use this as my school project. I've wired my circuit and it should be fine, but unfortunately i've been confused about the coding in arduino(im using arduino Uno R3) and coding for the RTC(PCF8563T). I've confused about, how to code the arduino to set timer using RTC and rotate the servo at the specific time i want my cat to be feed. So hopefully you can help me with my coding for arduino, rtc and servo. Thanks Man!
gist.github.com/ulitiy/c4004eeee65254efb7fcfb450cb1a969 see the code here, it uses RtcDS1302. If you want to use my code you should replace your RTC with the compatible module. I recommend DS3231 with github.com/Makuna/Rtc. If you want to use yours you have to find some examples/libraries on your own. Google for PCF8563T arduino library, most of them have example code inside.
@@MomWillBeProud Maybe i should replace my RTC so i dont get confused with the coding LOL!. Btw, thanks so much man! Maybe we can stay in touch so you can teach me some of the arduino coding.
@@MomWillBeProud Hey man, I've tried your code at (gist.github.com/ulitiy/c4004eeee65254efb7fcfb450cb1a969) and try to upload it to my arduino but it error saying 'EventManager' does not name a type. I've tried search the library for the threewire & lowpower and it's just fine.
@@MomWillBeProud do you have a circuit?
Omg r those treats?!?!
hey friend, thanks for sharing this awesome tutorial!! can u help me with a project? I want to make the feeder with the button just like yours but i also want to make it possible to feed my pets with my phone (using bluetooth) do u have any ideas that could help me?? thanks in advance!!
Hi! I would better choose esp8266 (wemos d1, esp-12) and wifi but you can choose any wireless board you like though it should have PWM and be programmable with arduino ide (maybe just arduino+bluetooth module). If you have any specific issues that google could not resolve for you let me know. But I can't just spend 5 hours to make it happen, you need to put at least some work first.
1. choose the electronic components and buy them (google like "arduino bluetooth module" or "wemos d1")
2. program it (google like "how to upload code arduino ide wemos d1", "evothings", "nodemcu"), open my code, understand it, use parts of it for your needs
3. test it
Hi, I'm planning on doing this for my school's end year project. I want to do an automatic cat feeder that gives water&food to the cat at the time set automatically. Is it possible? And by any chance can I get the code for it?
Hi. You're not the first and hopefully not the last so it's definitely possible. The code examples are in the description.
could you use maybe an rfid tag on the collar ? 2 cats one very gready stealing the others food lol
Go for it
You shouldnt give your cat that much Dreamies for one day.
Hi its a very good project .. i would like to ask what did you use to play music before it dispense the food .. or is it manually or it depends on the delay that you have inputed .. would like to make this thankyou for your reply
I used piezoelectric buzzer to play sound. It's really cheap or you can even harvest it from an old PC case. Based on the delay. I took some opensource frequency code for specific composition and adapted it for beaglebone black. Just google 'arduino imperial march'.
I like the idea, but the computer panel, the code and the wiring is too involved for me. I don't think I'd be able to carry this through. Also, my cats would be like lab rats: doing nothing but pushing the button and getting fat.
You don't need to use a button, just use a schedule.
@@MomWillBeProud For someone who knows how to appropriately utilize that micro computer and code, that would be a great idea.
Que maravilla, pero ese aparato no tengo idea que es y dónde conseguir los materiales
Dude! Get fiber reinforced cutoff wheels!
It sound like the Japanese traffic light music
japanese traffic lights have something sounding like the ''Imperial march'' from Star Wars as a
audible signal?
Awesome 👏
can you teach me how to connect the different parts of arduino in order to work this automatic cat feeder, I need this project for my arduino and I find this very helpful to me as a student
There's a circuit in the description.
Can you please post the buzzer code ? I found only whole symphony and it didn't sound good compared to yours ; ))
Where is the USB wire should be connected to?....and how to kick in the arduino code..I hope u will reply this ASAP cause I on the last minute on my school project😊
You should probably search for some basic arduino programming example. It's pretty obvious how to connect USB to the USB port and how to press the upload button in the arduino app.
That sound at 4:00 :)
Hi, i refer to this video for my final year project this year. My question is, did you need an application for set up the automatic cat feeder or you create a application to set up. How? What software do you use? I hope you notice me, thanks. Have a nice day 🤟🏻😜
Hi. I use Arduino IDE. Example code is gist.github.com/ulitiy/5c319f65c419dfa1af7ca2dcdebab3ce here.
@@MomWillBeProud do you connect the usb cable into laptop or powerbank or you build a application?
@@nurainshafieykhanajwa1271 I connect it to a wall socket adapter for every day use.
can someone teach me the circuit part? since im a newbie with this thing
I'd be a little worried that the amount of food isn't consistent. And I hope the total amount the feeder will dispense is limited to a sensible amount, right? Cats should not be fed "ad libitum" and in distinct, multiple meals a day. Otherwise... problems may arise.
well done!
o8p9000 0
awesome!
nice project
Cool! 😍👍
@Mom Will Be Proud • DIY channel
what is the component which play the sound? is it some additional or standard in arduino?
Piezo buzzer
So why the arduino if its as simple as cat push switch ... food drops ? Does ot limit endless freeding.. looks like all its doing is timing. Link to program ?
You're free to use whatever you want. Link is provided.
How many times a day does this fed?
It's programmable. Just change it to your needs.
@@MomWillBeProud
what if thick wire is replaced by zip ties?
@@sandi3803 Yes, that works.
@@MomWillBeProud thank you very much
Hello and well done. There is something I don't understand as i am not an expert in the arduino world. Does that arduino has a timer inside programmable for automatically feed for example once a day or your idea only work when the cat push the trigger?
It does have a timer inside. Not only software timer but also a hardware interrupt timer.
@@MomWillBeProud many thanks
Or... you could just pour some food out for the cat 😂
are you feeding your cat with dreamies ???
Could you please tell us were you connected the cord to the inside and what kind of cord it is? I'm researching for a science project and if you told us it would really help.🙂
Please read the description, the circuit is there.
Goood proje and video
The basic program runs while the arduino board is USB-cable plugged to my laptop. When I unplug it and power the arduino with power 5V-2A, the board switches on but the code doesn't execute. I use only one power outlet for arduino uno rev 3 board and the servo motor mg996R is powered with the 5V/GND pin of the arduino board. Is the issue the powering stuff ?
Also, I was thinking, is a good thing to just replace the unique power outlet I use with a 12V?
How do you know that the code doesn't execute? You can upload a blink example to see if it blinks with LED. Maybe it does execute but 5V isn't enough for your servo? It happens. You can replace with 12V but it's too much for the servo and the internal converter of arduino could be too small to give enough amps to the servo. How do you connect your 5V to the board, with USB or with barrel connector? You should use USB.
I use the barrel connector to power the board and I don't use any daughter board to power the servo. The servo is directly plugged to the 5v pin of the arduino board. I do know that the code doesn't execute completely because it does a rotation but it stops and doesn't rotate back as I wrote in my program. Maybe there's not enough current or there can be drops too? I'll try same thing but with the usb powering way and I'll keep you posted. Thanks!
@@quentingourier4883 if you use a 5v barrel into a 12v port and then try to take 5v from the board after regulator, that's the issue. You should connect 5v barrel directly to the 5v on the board. Or the easier hacky way is to bridge vin and 5v.
CooL😮
3:41 Don't drink so much, or just take one shot before recording ;)
Looks great, and it works with pin button. How I need to change the code to make it turn on every 6 hour?
gist.github.com/ulitiy/25d675591af73f347926b7a4e6921797 you can take some pieces from this code. Or use the entire piece but it has some extra code that is not used. Just change 8 hours to 6.
@@MomWillBeProud Thank You for your response. I just look on this code. If I use entire code, to make it work, I have to set line 34 setupTime(); ??
@@leszekmarciniak4245 gist.github.com/ulitiy/25d675591af73f347926b7a4e6921797#file-fpf8h-ino-L62
hey, this is gonna be my final year project. but i want to know how you set the timer. i hope you see this.thanks hv a nice day!!
delay(5000); // 5 seconds delay
haha excellent project :P
What part is connected to the Arduino board (GND + PIN 12)? I see the part in your drawing but I don't see it in your parts list. I would like to build but wanted to make sure I have all the parts. Thank you.
It's the servo. It has a wire that is shown in the drawing as a "separate" part.
Oh, sorry, you mean GND+12, this one is just a button. You can build it without a button completely.
I already subscribed, but set up a livestream with the option to feed the cat via comments (add a time limit ofc), and your channel will explode.
You can also experiment with arduino-controlled toys. That's what I would do if I had an arduino, a cat, and a lot of free time.
That's already a thing, see another video on the channel 😄
Wow, can't believe it, haha. But the cat is on vacation. :(
Yeah, we're traveling through Asia till March-April. But you can still play with some smart thing there)
very nice video i liek
Can this scale up to dog food and amount ? Im assuming it would require a program tweek.
It would require a hardware tweak. Depends on the size of the dog though. For small dogs this should be fine.
Hi, thanks for your work. Can you give me a hand with this?? Im using a arduino nano. And want to know for what is ledPin in the code, there is nothing attached there... but, if i run you sketch in a arduino simulator, i see that if i remove all the ledPin stuff, the motor start to move without the button is pressed. Can you tell me why??? For what is ledPin? Thanks for your time.
ErdosainNueve ledPin is a default 13 pin. I don't like it light up. You can remove the code without any other consequences. You have probably removed the buttonPin code as well so the internal pullup resistor doesn't work and the motor starts moving because of the noise on the buttonPin.
Also there's an initial motion to put the container into the locked state so it should move on startup for 1 second.
Can i ask something? How to controll it? Used smart phone or button?
Hmm.. how about adding in functionality to do this remotely via iPhone app?
You could make $$$$$$
Can I buy one from you? I have the arduino uno already. So everything else but the arduino. Msg me.
I'd really like one.
Thanks for your interest but I think it can be cheaper to buy one from ebay considering the price of my time.
Like this one:
www.ebay.com/itm/Automatic-Pet-Food-Bowl-Programmable-Feeder-Recordable-Personal-Meal-Call/322847842663
or this:
www.ebay.com/itm/Automatic-Bluetooth-Pet-Cat-Dog-Feeder-Food-Dispenser-Smart-Remote-Control/142673318471
You're not the first one interested but at the same time I feel like this DIY piece is much less valuable than a commercially available ones and at the same time it will cost me at least ~100usd of my time.
What do you think?
Александр Улитин I'll still buy it. I like nice little projects like these even though I know I can get something like this on eBay. Let me know. I'll pay shipping too.
Sorry, I had busy days, participating in robotech forum ruclips.net/video/-v_QIVyNIHE/видео.html
Email me at ulitiy@gmail.com or add me in skype/telegram @ulitiy for faster response.
4:11 amogus😳
How did you get you're feeder to play Darth Vader theme? Also, it looks like the code is programmed for every 12 hours. What do you recommend for doing a science project presentation? i.e, How can my daughter make it work "at will" when she is asked by judges to show how it works? Thank you for a very informative video.
>How did you get you're feeder to play Darth Vader theme?
It was in JS for beaglebone black so it's not useful for arduino.
>Also, it looks like the code is programmed for every 12 hours. What do you recommend for doing a science project presentation? i.e, How can my daughter make it work "at will" when she is asked by judges to show how it works?
You can add a button to it. It's the most basic arduino code, digitalRead(buttonPin) -> servo.write
@@MomWillBeProud Thanks so much for the quick response.
@@brentbeasley7790 hey what number do you put that code on
that cat is funny
Hey im going on vacation and tried to do this for my cat while im gone. But sometimes the food gets stuck and it doesnt fall, do you have any solutions?
Smaller food pieces or larger hole. If it doesn't open enough - increase the time of it opening. If even that doesn't help you can shake the can in the open position with the servo in you code. Maybe your servo or power supply is a bit different so it could move slightly slower, try to increase opening time.
@@HungrysitesRu thanks
Hi! I'm building this project and was wondering if a 1.5 kg torque standard servo would work instead of the mg996 12 kg one. Also, how much voltage to power it with a battery? Thanks!
I'm pretty sure 1.5kg servo isn't enough. 5v is minimum, it's better to have 5.5-6v. See another video on this channel about 3d printed cat feeder, battery-powered version should be heavily optimised.
@@MomWillBeProud Great! Thanks so much
you should have done that without BBB...
Where did you find the MG996 servo motor