Overview
Within the industry it is necessary to use different types of motor control in which different ranges of precision or freedom of movement can be obtained. The servo motor control by pwm gives precise control by angles.
Required material
1x Kinetis K70 120 MHz Tower System Module
2x Tower System Elevator Module
5x Potentiometer
5x Servomotor
CodeWarrior
Video
Connections
![bd pwm.png bd pwm.png](https://community.nxp.com/t5/image/serverpage/image-id/132500i27C20C7C2DFB182B/image-size/large?v=v2&px=999)
Step-by-Step
1. Download the attached file2. Unzip it
3. Upload it to CodeWarrior
![servo 2.png servo 2.png](https://community.nxp.com/t5/image/serverpage/image-id/132502iD18B5A3FA20DE89A/image-dimensions/359x471?v=v2)
![servo 3.png servo 3.png](https://community.nxp.com/t5/image/serverpage/image-id/132503iF870B5A714CF34FA/image-dimensions/519x327?v=v2)
![servo 4.png servo 4.png](https://community.nxp.com/t5/image/serverpage/image-id/132504iEF957E65659D2DAE/image-dimensions/520x537?v=v2)
4. Compile it
![servo 5.png servo 5.png](https://community.nxp.com/t5/image/serverpage/image-id/132506iE01A17CB91B2D8F0/image-dimensions/378x320?v=v2)
5. Upload it to the TWR-K70 board
6. Make the connections in the diagram
7. Connect to Power Supply
8. The variation in the potentiometers will vary the position of each motor