Society of Robots - Robot Forum

Software => Software => Topic started by: aruna1 on July 13, 2010, 06:59:54 AM

Title: mobile phone camera on robot
Post by: aruna1 on July 13, 2010, 06:59:54 AM
guys
is it possible to use mobile phone camera on our robots? interface it with a PIC microcontroller and do some image processings?
thanks
Title: Re: mobile phone camera on robot
Post by: Razor Concepts on July 13, 2010, 08:07:21 AM
Yes, but it will not be very good resolution or speed. Even old phones from several years ago contain faster and more powerful processors than little AVR or PIC
Title: Re: mobile phone camera on robot
Post by: aruna1 on July 13, 2010, 08:36:32 AM
well i dont want to any thing real time. simply take a snapshot,check where is the object,rotate robot a bit.take another shot and see robot is alligned with object...etc
Title: Re: mobile phone camera on robot
Post by: chelmi on July 13, 2010, 09:00:42 AM
A micro-controller is not suitable to do image processing.

Depending on the kind of image processing you want to do, you might need to have the complete image uncompressed in memory.
If we suppose your camera is configured for VGA, 8bits per pixels (greyscale) that's already 640*480 / 1024 = 300 kbytes

I am not familiar with PIC, but I doubt you will find a micro-controller with that amount of RAM...

One possibility it to program your cell phone to do the processing. What type of cell phone is it?
Title: Re: mobile phone camera on robot
Post by: aruna1 on July 13, 2010, 09:04:00 AM
welli didnt bought any mobile for this,but it will be cheap Chinese camera phone.so as you say we need to write a mobile application to do processing and take some value and give it to microprocessor?
Title: Re: mobile phone camera on robot
Post by: amando96 on July 13, 2010, 12:23:54 PM
What micro controller do you want to use?

The Mbed (http://mbed.org/) has tons of processing power, ARM based.

Title: Re: mobile phone camera on robot
Post by: aruna1 on July 13, 2010, 06:47:36 PM
well I dont have a selection.PIC micro is what I'm going to use