11/12/2022 0 Comments Servo motor arduino pet feeder![]() Then I remembered the very first plant that I had, using a flexible object like a piece of a plastic bucket as a pressure plate. This got me panicking really hard and thinking of giving up. The final thing that made the pressure plate idea completely useless is the spring wasn’t strong enough to push the bowl back up when it gets light. The pressure plate wasn’t balanced at all, so I had to cut a hole on the side of the pressure plate the create pillars to support it. I used an old pen that no one uses and took out the spring, but then another problem came up. I had to find a spring that can be used for the pressure plate. The original plan for the pressure plate was the most difficult part. #SERVO MOTOR ARDUINO PET FEEDER CODE#After the workshop, the code did what it was supposed to do and the motor actually did what I wanted it to do. I will talk about it further in what I learned section. They told me about bool something that I have just learned. When I went to the workshop and had a chance to talk to a mentor about my problem. I have tried some ideas like seeing if I typed the code wrong and searching up answers online, but it didn’t work at all. After I have typed out everything that I think is needed the servo motor did turn, but it keeps going back and forth. I have struggled for a long time during the coding phase of this project. It allowed me to work on the project at home and ging me more time. I ended up using cardboards which worked well. It took me some time to decide as I was scared that the cardboard wouldn’t be able to support the servo motor’s weight. I talked with the executive of my school’s engineering club and they said just use cardboard boxes. Challenges I ran into I first planned everything to build out of wood as I had experience with wood cutting tools, but school was soon ending. Finally having the wiring done quickly and the Auto-Feeder is finally done. The body of the box is used to hold the funnel that will hold the food and the servo motor to control when food is dispensed. Put tin foil below to connect the two wires when the box bends. Using the cover of the box as the pressure plate. Using a shoe box, pen and duct tape to make the Auto-Feeder. The building process After having everything ready to go I finally started working on the physical look of the machine, but due to some problems, I had to cut down what the machine will look like. Finally, I drew what the pressure plate would at the end look like. Drawing out where the wire will go and such. I planned out the Arudino to be below the Auto-Feeder so the pets wouldn’t bite the Arduino board. The physical look After I had everything planned out, the wiring and coding. Which I will explain in the Challenges section. The coding The coding was easy at first, putting in the statements and the if statements to get the machine working, but then having a problem with how the servo motor will rotate. A very important part of the Auto-Feeder. I also used it as a way to my study how a servo motor works. How I built it The planning When I had the general idea of how the machine works I used tinkercad to make a testing version to see if it can work. The Arduino board will detect it and tell the servo motor to rotate again to stop the food from dispensing. Allowing the food to come out, making the bowl heavier. The Arduino will notice this and send a signal to the servo motor to rotate. When the pressure plate is lifted up because the bowl isn’t heavy enough it disconnects the wires. The bowl will be on a pressure plate and below the pressure plate is two connected wire by the pressure plate. What it does The purpose of Auto-Feeder is to dispense food automatically when the food bowl is empty. Hoping to create a machine that can dispense food automatically. I started to wonder if I can make a very easy version which I can, so I started working on the Auto-Feeder project. Then I remembered that automatic food dispenser that people can buy. It is a daily routine, but I want to know if there is a solution. Every time when the food bowl is empty I have to open the cage and put the food in the cage. Inspiration The idea of the machine first started with my pet rabbit. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |