Austin Community College initial line follower program for Freescale car. This is based upon the FRDM-TFC code at mbed.org.

Dependencies:   mbed

Fork of FRDM-TFC by Eli Hughes

Austin Community College - Initial Specs for FRDM-TFC line following car.

This uses the fine library by ELI HUGHES.

Our goal here is to provide the simplest line-follower as a quick car checkout.

First, we limit the run duration for the car, so that you can catch it, if necessary. Right DIP switch (4) sets run time. 0 => 5 sec, 1 => 10 sec.

We provide simple speed selection with the other three DIP switches. I recommend 001 as the slowest real speed, (000 is stop, of course). DIP switches 1 2 3 make a 3 bit speed. 1 is msb, 3 is lsb

The car won't start until you press and release the driver's side PB. Left PB (TFC_PUSH_BUTTON_1) is permissive GO on release using left 3 DIPs for speed 0-7.

The car will stop when the passenger side PB is pressed. Right PB is STOP - TFC_PUSH_BUTTON_0

TFC_Ticker[3] is our run time counter. Like the Code Warrior edition, we use msec tickers.

Left (Driver side) trim pot 1 can be used to trim static steering servo Right trim pot 0 can be used to offset line camera

Back LED reflects drive motor status. The top three are not currently used.

History

Initial Line Following Code, Nov 10, 2013 default tip

2013-11-11, by knalty [Mon, 11 Nov 2013 03:04:42 +0000] rev 5

Initial Line Following Code, Nov 10, 2013


Made corrections to demo3 to parse linescandata in proper order.

2013-09-04, by redxeth [Wed, 04 Sep 2013 02:48:20 +0000] rev 4

Made corrections to demo3 to parse linescandata in proper order.


1.) Fixed issue with Servo duty cycle calculation

2013-08-15, by emh203 [Thu, 15 Aug 2013 23:26:19 +0000] rev 3

1.) Fixed issue with Servo duty cycle calculation
; 2.) Verified Case 0,1 2 of the test program (servo steering and drive). The Camera code is OK but there seems to be an issue on my machine with the KL25Z virtual MBED serial port.


Work in progress commit....

2013-07-17, by emh203 [Wed, 17 Jul 2013 19:31:32 +0000] rev 2

Work in progress commit....


Pulled in code from the TFC library. This will now be the official spot for FRDM-TFC Code

2013-07-17, by emh203 [Wed, 17 Jul 2013 19:30:14 +0000] rev 1

Pulled in code from the TFC library. This will now be the official spot for FRDM-TFC Code


1st publish so I can have a page to work on documentation

2013-05-29, by emh203 [Wed, 29 May 2013 20:05:20 +0000] rev 0

1st publish so I can have a page to work on documentation