Hello !
i'm a final year student in computer systems and software enginnering and for my final year project i have to build a robot. basically the robot will be tracking a line and avoiding obstacles and display some form of artificial intelligence. i am quite familiar with programming languages ( java, c, c++, assembler) but not god at electronics. the programming language i will use i c. those are the components i am going to use for the robot: Pic 16f876 microcontroller, ultrasonic transducer( transmiter and receiver both have got 2 pins) for collision avoidance, infrared detectors for tracking the line ( the detector has got 3 pins), a motor driver( l293d) , 2 cordless drill motors (12v), a voltage regulator 5v ( 7805) ,a 4mhz crystal and capacitor for the clock pulse, and various resistors. i am in need of assistance with regards to putting it all together. i need to know how to allocate pins for the board. this will allow me to configure the pic properly. any input on building this interface will be greatly appreciated