LESSON TEME: Output Devices
Video  shows an appearace to control servo moter by using my original electronic board.
Servo Moter Control
In this week, I tried to control a servo moter by an AVR micro computer . The electronic board with the micro computer was designed in previous assignment. I wrote a programming code for PWM control for the servo moter. The PWM a kind of pseudo PWM representing by software code. A servo motor rotate its axis according to the Pulse Width of ON and OFF. This cycle is called Duty Cycle. The ratio of ON and OFF is called Duty ratio. The ratio influences an angle to rotate the axis centered in a servo motor. The program code of Figure  shows the rotation method. Video  is the result of my programming code.