8
CE595 Line Tracking Self Driving Car by Chih Han Chen

ce595_line_tracking Car.pptx

Embed Size (px)

Citation preview

Page 1: ce595_line_tracking Car.pptx

CE595Line Tracking Self Driving Car by Chih Han Chen

Page 2: ce595_line_tracking Car.pptx

OBJECTIVE

Using arduino controller as brain to control the movement of the two wheels vehicle base on different reflective surface from sensor reading on the black and white color. As the sensor detect the change in the color surface, an appropriate command is issue to the motor controller to readjust it’s course.

Page 3: ce595_line_tracking Car.pptx

4. Arduino Line Tracking Sensor3.Arduino Power

HARDWARE_2 https://www.sunfounder.com/learn/Smart-Car-Kit-for-Arduino/36-40-smart-car.html

Page 4: ce595_line_tracking Car.pptx

Software ( I/O define) Adapt from https://github.com/sparkfun/RedBot

Page 5: ce595_line_tracking Car.pptx

Software (init setup)

Page 6: ce595_line_tracking Car.pptx

Software (main loop- sensor reading)

Page 7: ce595_line_tracking Car.pptx

Software (left,right,forward,reverse functions)

Page 8: ce595_line_tracking Car.pptx

Design Challenge

1.4 wheelers to 2 wheelers conversion require moderate hardware and software modification.

2.The height of Line Tracking Sensor could not be too close or too high. It is need to be at just about 1.5 inch above the ground to receive proper reading.

3.The PWM to the DC motor could not be over power or under power to make sure the vehicle could follow the course smoothly.

4.The Analog port of the Line Tracking Sensor require robot to insync with the consistancy of the sensor reading. Therefore the robot may run off course in the first couple cycle of reading but eventually settle into the consistant pattern.