Wednesday, March 21, 2007

Autonomous RC Car II (with wireless camera!)



I've finally got a nice and cheap wireless camera! It cost me around Rs. 1200 (USD $24). I quickly fixed this camera to my autonomous RC car and now the connection between the RC car and my computer, is completely wireless. As before, the 'brain' of this robot still resides in my computer. If the computer sees the the car approaching an obstacle, it stops it and turns it around. Check out the video above to see it in action!




17 comments:

Avik said...

Hey ashish!
this is Avik...
well, it was nice to hear from you!!!
i would like to suggest a few things to you wihch i have been trying but, have not been able to do...

Try out some joystick programming manuals available on the net...and try to control your RC car by that...
i have been working on this...(but in VB)...
you may also want to program your car to move 5 seconds forward, then turn left, then turn right and so on...For this , you may try out KEMO relais timer and set the timings...
but, i think all these might be use less to you cuz your car is autonomous!!!
if you ever get some time, please make a program to control the car via joystick for me...
and, i tried out your keyboard program...
it is not woking well on my PC.
when i direct it to go forward, it does go forward but, always stays to the left...
thankz...
Avik

Avik said...

hey ashish!!!
well, i would also like to suggest to you that you can get nokia wireless presenter from nokia site and control your parallel port from your phone via kemo relais timer...
if you are interested, let me know and i will send the whole thing to you...
Avik

George said...

You are dooing some nice things man!
I have some questions about this project:
At what distance is the car programmed to stop?
Can you determine the distance betwin the car and thestationary object?
What if the car detects an moving object on it's direction of moovement?(the laser is pointing against another toycar).
I'm asking you this because i have a similar project in wich i use a camera for a car to follow another car exactly on the same path and until now i managed to control only the direction of the moovement. I still have to control the distance:) maybe you can help me!
Keep up the good work!

Ashish Derhgawen said...

Hello George,

The computer doesn't calculate the actual distance between the car and the obstacle in front of it. It just determines the position of the laser dot in the webcam's field of view. Based on its position, it determines how far/close the obstacle is.

Can I determine the actual distance between the obstacle and the car? I guess I can: http://ashishrd.blogspot.com/2006/11/obstacle-detector-using-webcam-and.html

If a moving object comes in front of this autonomous RC car...I think it would follow it..without getting too close. :)

despeyer said...

zup, ashish :-)
i postet already some time ago on your first steps..
i already managed to realize the exakt same project, except that i didnt find a cheap enough wireless-cam yet..
http://ffmbox.kicks-ass.net/index.php?article_id=46

I´m controlling this thing over xlib(linux) by mouse..

where did you buy your wireless cam? could you contact me per email? mail [ at ] despeyer [ dot ] de

van sales said...

It's great! Now you can shoot so many interesting videos! So many possibilities.

Ajay said...

where did you buy buy your webcam ffrom?

Anonymous said...

Hi Ashish!
You have some really nice things going here! I'm really newbie with electronics, but could you point me some resources about using wireless camera with pc? I'd apreciate it a log!

urban nomad said...

hey ashish , i am working on a device for blind people that is somewhat a handheld torch like device and acts as a rangefinder for obstacles, can u help me out with the optical detection part using a photo detector ?

Ronak said...

hi ashish,
i m doing same thing but little bit change in that in my final year project and i want your help can you send what u have done in it's programming and all things in this project.give me specification of ur camera and all that u have used in that it really help me.
please.........................
my e-mail add is ronak.gcet@gmail.com
please help me please...............

Ronak said...

hey ashish!
please reply me soon yar i m waiting for your reply.its really urgent.please sand me details of this.and tell me can i use other processor?because i dont know more about latest processor please reply me soon or give me your contact no.please............................

Anonymous said...

Hello ashish nice job. good to see the thing in so low budget. can you send me the source code for this to nitin_1700@yahoo.com

JoaoBatista said...

can you tell me where didi you buy your webcam please?

i'm doing the same project and i only find expensive webcams.
please tell me, i need it for school project. please

there is my e-mail: the_j_m@hotmail.com

please help me.

idafatimah said...

haii ashish!
u're doing somthing cool..
actually i'm doing final project now..and my project is autonomous vehicle and its using GPS..can u help me with the programming..can u send ur programming through my email: udefatimah@gmail.com

vabsy said...

hey ashish
hi..u have done a lot of great work...
well being a newbie...i found it very enthusiatic...
i want to built a rc car from the very scratch...
can you guide me with dis??
hope to u hear frm u soon!!

regards
vaibhav
mail me at:vabs102ster@gmail.com

Pleasure said...

hye ashish....
awesome project

im curious where did u get that cheap webcam from???

pae_psyche1@yahoo.com

vicky said...

hey ashish.... i would like to experiment a little more with the project.. could you help me with the source code.. thanks in advance
bvivek20@gmail.com