Code covered by the BSD License  

Highlights from
Color Follower Robot

4.875

4.9 | 8 ratings Rate this file 37 Downloads (last 30 days) File Size: 2.77 KB File ID: #27422

Color Follower Robot

by

 

29 Apr 2010 (Updated )

Code detects the red object in the image captured by webcam and communicates with micro-controller

| Watch this File

File Information
Description

I had written this code for my mechatronics course project: Color Following Robot/Image Processing Robot. It follows object of any particular color (red in this case).
1) The robot (RC car) has a webcam mounted on top of it which captures images continuously. (Image Acquisition Toolbox)
2) Image processing toolbox helps to process these images to detect red pixels in the image. It finds area and centroid position of red object.
3) External Interfaces feature helps to set up a serial port object which send appropriate output to the microcontroller (PIC16F690 in this case) which controls RC servo & DC motor.
4) C code for PIC microcontroller available upon the request.
5) This code can be helpful to people who want to use image processing/ serial port communication for their projects.

Cheers,
Tejas

Required Products Image Acquisition Toolbox
Image Processing Toolbox
Instrument Control Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (13)
04 Nov 2013 shaheryar  
26 Oct 2013 TRINAYAN

I saw your color follower robot file and its great. I am working on a similar project to detect red coloured balls and track them. I am confused by one part of your code. Say when you give the output to the microcontroller you are sometimes sending the small alphabets.There you have commented that say"Turn left with DC motor off". My question is how will the robot turn if the DC motor is off. And please send the microcontroller code if you can.
Thank you

18 Sep 2013 Uday Sharma

please send me ckt desing and other details of this project
ud.udaysharma@gmail.com
thnx

13 Feb 2013 bayan

Awesome ,
Can you please send me the C code for the project ?!
bayoonah.younes@gmail.com

23 Oct 2012 hafidzul

hi,interesting project...would u mind sending your project C code to hafidzul.abdullah@gmail.com

tq for sharing.

05 Jul 2012 sanket PUSATKAR

its really nice tejas sir
i m working on a robot for home automation so i want to study the project thoroughly if u dont mind..
plz sent me the code for micro.
if else if u have any supplementary document plz frwd...as knowledge worth sharing
sanket.pusatkar88@gmail.com

05 Jul 2012 sanket PUSATKAR  
31 Jan 2012 Yiu

I am also interested in the C code for the microprocessor. Would you mind send to yumislyiu@gmail.com? Thanks for sharing!

10 Jan 2012 aditya gosain  
08 Dec 2011 Nithin Chandy

Can you please send C code for microcontroller to diskoverx@gmail.com.

Thanks in advance

18 Mar 2011 JAIRO

thank you so much, I will prove it

31 Aug 2010 Yogesh Patil

Can u please send me the C code for PIC microcontroller in your Colour following robot project to Parag0019@gmail.com.Thank u.

31 Aug 2010 Yogesh Patil  
Updates
16 May 2010

none

16 May 2010

Added an image (flowchart), file remains same.

Contact us