ECE476's Motors Lab |
|
Setup
With an understanding of the concepts described in the background section, it is easy to piece together a system that will have a microcontroller controlling the speed of a race. For this lab, I chose to put five sensors underneath the race car set: one at the start/finish line to control a lap counter and timer, one at each turn of the track and one more right before the finish line so the car will be turned off to stop at the line. These sensors will then send signals to the microcontroller whenever the car passes over top of them. The microcontroller will then interpret the signal and adjust the speed of the race car accordingly using PWM. The microcontroller will also keep a running time and lap count and display this on a LCD display. |
|
Copyright December 2003 |