The TWR-TFC-K20 is an all-in-one tower CPU card that can be used to create an autonomous race vehicle for the the Freescale Cup. It has all the interfaces necessary for the car to sense the track and control the vehicle This card is also a great platform for teaching embedded systems. The TWR-TFC-K20 uses a Freescale Kinetis K20 MCU and has some really cool I/O to keep students interested.
Features:
Servo Outputs
3-pin Header to connector directly to steering Servo
1 Extra Servo header.
Camera Interfaces
1. 5-pin header to connect directly to a Freescale Line Scan Camera
2. Header for 2nd linescan camera (optional)
3. RCA Camera Interface. Includes an LMH1981 Sync Extraction chip and connection to MCU to allow for low resolution (64x64) image capture at 60FPS
Power
Accepts direct battery power – onboard switching regulator 5-18v
All circuitry except for motor controller can be optionally powered over USB Connector
DC Motor Drivers
QTY 2 MC33887APVW : Dual, Independent 5A Motor Driving Circuit.
Supports forward, reverse and braking.
Independent control over each drive motor allows for an active differential implementation
Current Feedback to MCU ADC to allow for closed loop torque control
CPU/ Programming
Integrated Kinetis MK20DN512ZVLL10MCU with OSJTAG
Additional I/O
Some basic I/O for debugging. 4-poistion DIP Switch + 4 LEDs + 2 pushbuttons.
All software relating to the TWR-TFC-K20 is held in an Google Code Subversion repository. This is the only way the source is distributed. Never used a version control system yet? Now is the time to learn (Google is your friend)! All "real" software development processes use some form of version control. TortoiseSVN is a nice client for SVN!
This code works with Rev B of the board. All major interfaces & peripherals have been tested. At some point we will make a video going through the code. By default, the Linescan camera code is enabled. The code in main.c is pretty easy to follow. There is also code for the NTSC camera but must enabled in the TFC_Config.h file via a pre-processor directive.
There is also code used for the OSTAG interface, Labview demo applications and drivers for the USB