I need the code for my project.My project is to do a obstacle avoiding project using PIC16f877a microcontroller and the distance between the robot and project will be displayed on a LED board. Kindly send me the code to sue_zen226[at]live.com.
Thanks for your kindness.
Posts: 6,843
Threads: 4
Joined: Mar 2015
obstacle avoiding robot using pic16f877a code
One of the biggest challenges in building your own robot is controlling its motors. You can find new or surplus
motors and gearboxes in many places, and low-cost microcontrollers and books on how to use them abound.
However, microcontrollers cannot directly drive DC motors, leaving robotics beginners with the possibly
overwhelming challenge of building their own motor controller. This task is even more complicated if the motors
require bidirectional operation and speed control. This project demonstrates how easy it is to make a simple robot controller using the Pololu micro dual serial motor controller [http://pololucatalog/product/410] with a Microchip[http://microchip] PIC16F628 microcontroller. We then use the circuit with the Pololu robot chassis[http://pololucatalog/product/250] to create a small, obstacle-avoiding robot that can serve as a starting point for more advanced projects. The low-voltage operation of the motor controller allows a small, 3.6 V cordless telephone battery pack to power the entire robot. Since the motor controller only requires two of the PIC’s 13 I/O lines, there is plenty of opportunity for expansion.