Wednesday, February 5, 2014

Day 10: Encoders

Today, I learned about using an encoder to make the robot go a certain distance. The encoder works by counting how many of its gears go by. I had to calculate the circumference of the wheels and use a simple formula in order to know how many ticks the encoder would have to go for 12 feet and to make a left and right 90 degree turn. Last we had to program the robot to go through the maze we had it go through on day 9 but with using the encoders. Doing this was much easier and more accurate than the previous method of running the motor for a certain period to go a specified distance. Unfortunately it took us the whole class period to program and run the robot with the encoder so only one team was able to negotiate the maze.


Robot with the encoders attached

Navigating with encoders on

No comments:

Post a Comment