Tutorial

Arduino Tutorial
Initially, the usage of the Arduino may seem difficult. However, after looking a few tutorials, the language eventually becomes self-explanatory. In addition, the Arduino website has several sample codes that comment in detail about what the specific code does. This pet feeder required the implementation of a continuous servo motor. The servo motor was perfect for the scope of this project because the Arduino website already had a servo library with several sample codes on how to program a servo motor. With the help the Arduino website, the code for the servo was developed. 

Even though the Arduino website had several sample codes, there was a lot of thinking that need to be done to figure out which commands were necessary. In addition, there was not a lot of information on how to code a continuous servo because most servos were 180 degree servos, while the one used in this project was a 360 servo. However, the code was finally developed properly. 
The coding has been commented on 
The flexibility with this code is great because one can easily change the angle of rotation by replacing the 45 with any angle they would want. In addition, since the feeder is going to be presented to a group of people the rotation can be accelerated to a few seconds as opposed to four hours by entering a different time in milliseconds.

No comments:

Post a Comment