Line Follower Robot - Arduino Mega.

Line follower robot is a useful robot that is used in ware houses, industries, and stores etc, where it follows a dedicated path. The presented robot captures line position with IR Sensors. If the robot get off the line it will U turn and back to the line again. Also, it would stop while the designed spot is appeared. I used Direct port manipulation method (setting output pins directly) instead of using the Arduino default digitalWrite() functions. Using the port manipulation method in programming results in more space in HEX file and more speed while executingthe code.

For example:

Lets look at the blink example, this information is from the Arduino IDE.

For more information you can go through this

https://www.arduino.cc/en/Reference/PortManipulat...

Comments

Popular posts from this blog

Smartphone Controlled Arduino Rover.

How to Build a Robot Line Follower without a Controller