Here i will show my first line follower robot using PIC18F4550. This robot will follow command where it will move on the track according to the programming we have written. Using sensor as input and motor as output to PIC, the robot will follow the line. Here it will detect white surface to give a respond to PIC.
This line follower robot is very popular among university and polytechnic student. This is because the capability of PIC to write and read again and again to do different task. PIC microcontroller is using EEPROM memory technology. It can be erase and write again and again, but before write anything it must be erase first using electrical voltage generated externally or internally in EEPROM.
In PIC microcontroller also has ADC (analog to digital converter) this term is familiar among electronic student. This ADC will convert analog input to digital output. We must declare it first in programming or algorithm to make sure that PIC operate like we want. All this specification we can find it in data sheet.
For build a Line Follower Robot, we must consider this all circuit :
- USB bootloader circuit
- Sensor circuit
- Motor driver circuit
USB bootloader circuit :
Sensor circuit :
We using H-Bridge L293D for motor driver. Here we gonna use DC motor.
Here some table for reference :
Here some table for reference :
All design circuit is depend on user. If user want to use 4 sensor so it will have 4 sensor circuit.
USB bootloader.hex for PIC18F4550
PIC18F4550 data sheet
The main important thing that you should know is :
- USB Bootloader circuit
- Sensor circuit & type of sensor (e.g IR sensor)
- Motor driver circuit & type of motor (e.g motor driver)
- C Programming
- Build a USB bootloader, sensor, and motor driver circuit
- Burn USB bootloader.hex into PIC using programmer (e.g PICkit 2,BZchip)
- Test USB bootloader by connect it to the laptop or computer
- Construct which PORT you want to connect to input for sensor and output for motor. (here I'm using PORT B as input sensor and PORT D as output motor)
- Make sure polarity for sensor and motor driver is correct.
- Write programming in MPLAB using C18 compiler
- Burn into PIC using USB bootloader
- Test robot and diagnose problem
- Finish
line follower robot.c
Below some picture about my robot :
Contact me if you got any problem.
can i know the programming file download into this robot?
ReplyDeleteu can just click on link given...tq
ReplyDeletedude. can you help me with full circuit?. i want do this for my final project. email: afiqdksid94@gmail.com
ReplyDeletebro can u give full list component of this cct..pm me please..
ReplyDeletethat one already full circuit, just i separate it by part.
ReplyDeletehello, my own usb bootloader circuit doesn't work ! my PC doesn't read any usb device. What can be the problem ?
ReplyDeletehello, my own usb bootloader circuit doesn't work ! my PC doesn't read any usb device. What can be the problem ?
ReplyDeleteThe link is not working
ReplyDelete