Controlling speed in DC motors and position in servomotors with KSDK [FTM + GPIO]

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Controlling speed in DC motors and position in servomotors with KSDK [FTM + GPIO]

Controlling speed in DC motors and position in servomotors with KSDK [FTM + GPIO]

Hello community,

 

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.

 

76908_76908.pngpastedImage_6.png    76907_76907.pngpastedImage_5.png

 

The document Create a new KSDK 1.2.0 project in KDS 3.0.0 explains how to create a new KSDK project for the KL25Z MCU. The result of this document is the project BM-KSDK-FRDM_KL25Z.

The document Controlling speed in DC motors and position in servomotors with the FRDM-KL25Z and the Kinetis SDK [... explains how to implement an application to control the motors. The result of this document is the project BM-KSDK-FRDM_KL25Z_LINE_SCAN_CAMERA-SERVO-DC_MOTORS.

 

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.

 

Best regards,

Earl Orlando Ramírez-Sánchez

Technical Support Engineer

Freescale Semiconductor

Labels (1)
Attachments
No ratings
Version history
Last update:
‎09-17-2015 01:25 PM
Updated by: