ce595_line_tracking car.pptx
TRANSCRIPT
![Page 1: ce595_line_tracking Car.pptx](https://reader035.vdocuments.us/reader035/viewer/2022081605/587128101a28abe4448b68c7/html5/thumbnails/1.jpg)
CE595Line Tracking Self Driving Car by Chih Han Chen
![Page 2: ce595_line_tracking Car.pptx](https://reader035.vdocuments.us/reader035/viewer/2022081605/587128101a28abe4448b68c7/html5/thumbnails/2.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081605/587128101a28abe4448b68c7/html5/thumbnails/3.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081605/587128101a28abe4448b68c7/html5/thumbnails/4.jpg)
Software ( I/O define) Adapt from https://github.com/sparkfun/RedBot
![Page 5: ce595_line_tracking Car.pptx](https://reader035.vdocuments.us/reader035/viewer/2022081605/587128101a28abe4448b68c7/html5/thumbnails/5.jpg)
Software (init setup)
![Page 6: ce595_line_tracking Car.pptx](https://reader035.vdocuments.us/reader035/viewer/2022081605/587128101a28abe4448b68c7/html5/thumbnails/6.jpg)
Software (main loop- sensor reading)
![Page 7: ce595_line_tracking Car.pptx](https://reader035.vdocuments.us/reader035/viewer/2022081605/587128101a28abe4448b68c7/html5/thumbnails/7.jpg)
Software (left,right,forward,reverse functions)
![Page 8: ce595_line_tracking Car.pptx](https://reader035.vdocuments.us/reader035/viewer/2022081605/587128101a28abe4448b68c7/html5/thumbnails/8.jpg)
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.