This document is the continuation of the document Line scan camera with KSDK [ADC + PIT + GPIO] which shows the ease of use of the peripheral drivers from Kinetis SDK applied to the Freescale Cup smart car. This time I bring to you a document which explains how to control the speed in DC motors and the position in servomotors with KSDK step-by-step. This document is intended to be an example for the TPM and the GPIO peripheral drivers usage.
The required material to run this project is:
- A Servomotor (the project supports up to two servomotors, one servomotor is included in the smart car kit).
- Two DC motors (included in the smart car kit).
- FRDM-KL25Z based on the Kinetis Microcontroller KL25Z.
- FRDM-TFC shield.
- Mini-USB cable.
This material can be bought in The Freescale Cup Intelligent Car Development.
If you are interested in participate in the Freescale Cup you could take a look into the groups University Programs, The Freescale Cup Technical Reports TFC - Mexico, TFC - Brazil, TFC - China, TFC - Malaysia, TFC - Japan, TFC - North America, TFC - India, TFC - Taiwan, The Freescale Cup EMEA.
Earl Orlando Ramírez-Sánchez
Technical Support Engineer
Original Attachment has been moved to: BM-KSDK-FRDM_KL25Z_LINE_SCAN_CAMERA-SERVO-DC_MOTORS.zip