120 likes | 274 Views
Line Following RC Car. The line following RC car provides a model for the potential implementation of unassisted steering in full sized automotives. Design. Microcontroller simultaneously polls a set of photoresistors to determine path.
E N D
Line Following RC Car The line following RC car provides a model for the potential implementation of unassisted steering in full sized automotives.
Design • Microcontroller simultaneously polls a set of photoresistors to determine path. • Photoresistors in parallel to a resistance create potentiometers to sense light intensities. • DC motors provide steering and rear wheel drive for the car.
Arduino Pin Layout • Digital • Pin 3: to H-bridge2 leg 1 • Pin 4: to H-bridge2 leg 2 • Pin 5: to H-bridge1 leg 1 • Pin 6: to H-bridge1 leg 2 • Pin 7: to sensor LEDs • Pin 9: to H-bridge2 enable • Pin 10: to H-bridge1 enable • Pin 11: to left headlamp • Pin 12: to right headlamp • Analog • Pin 0: to left potentiometer • Pin 1: to middle potentiometer • Pin 2: to right potentiometer