Download presentation
Presentation is loading. Please wait.
Published byNorman McDaniel Modified over 9 years ago
1
Digital Electronics Boe-Bot Navigation
2
This presentation will Detail how to program the Boe-Bot move a specific distance. Detail how to program the Boe-Bot to perform servo motor ramping. 2
3
Moving A Specific Distance In order to move the Boe-Bot a specific distance, you need to know how long to run the servo- motors. Equation For Servo Time: To determine how long to run the servo motors, you need to know the Boe-Bot’s speed. 3
4
Measuring the Boe-Bot’s Speed 4
5
In the example, the Boe-Bot moved 18.5 cm (distance) in 1 second (time) 5
6
Servo Motor Run Time Using the measured Boe-Bot speed, calculate the Servo Time to move a distance of 100 cm. 6
7
For-Loop-Limit for Given Servo Time 7 Calculate the For-Loop-Limit that is required to move the Boe-Bot forward for 100 cm (i.e. Servo Time = 5.41 sec) Assume that the code overhead is 1.6 ms.
8
Servo Motor Ramping Ramping is a technique to gradually increase or decrease the speed of the servos instead of abruptly starting or stopping. Ramping increase the life expectancy of both the batteries and the servo motors. Ramping Example 8
9
9
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.