Wednesday, February 07, 2007
Computer Controlled RC Car
Computer Controlled RC Car on Vimeo
After working on this project all night, I've finally managed to control the RC car with my computer! I bought this cheap car from a local toy store a few days ago. I didn't go for high-end cars because, apart from being expensive, they use analogue signals to give precise speed and direction control. Cheap cars have a digital controller that uses switches for controlling left/right/forward/backward movements, and not potentiometers.
The first step was to modify the car's controller so that it could be interfaced with my computer. The buttons on my car's controller simply push down upon some micro-switches on the board, closing the circuit for controlling forward/backward/left/right movements. After identifying the 0 V ground and the active (control) points on the controller, I soldered wires to each of those points.
The next step was to build a circuit for connecting the car's controller to my computer's parallel port. My circuit is really simple as I didn't use relays. I only used four BC547 transistors as switches. These transistors, in effect, ground the controller's active points when they get a signal from the computer's parallel port.
I connected my computer's parallel port to the car's controller using this circuit and it worked right from my first attempt! The software for controlling this car is fairly simple and it allows me to control the car with the arrow keys on my keyboard. I want to share a little tricky problem which I had encountered while testing the program. When my computer tried sending two commands at the same time, like turn right and move forward, the car behaved unpredictably. Sometimes it obeyed the computer's command, and sometimes it just moved forward without turning at all. My first guess was, that something was wrong with my circuit. I tested the circuit a couple of times but it seemed to be working perfectly. I almost gave up on it until it occurred to me that my computer's parallel port was sending two signals (one for forward/backward and the other for left/right) at the same, exact time. The car's controller was unable to handle two commands together. When humans control the car with its controller, they normally don't press two buttons exactly at the same time. So, I modified my program and put some delay between all possible combination signals (like left + forward or right + backward etc) and it worked! So, now the sequence of commands for making the car move forward and left is something like: [left] -> [delay] -> [forward].
I really enjoyed working on this project. I'm really looking forward to using this car in my future projects! I plan to attach a wireless camera on the car for some extra fun. However, I don't have a wireless camera at this moment. I really hope I get a nice and cheap wireless camera soon or make a wireless link for my good old webcam. Anyway, I hope you found this project interesting. I'd love to hear your comments and ideas. Feel free to contact me if you're planning to build your own computer controlled RC car and have questions about it.
Cheers!
Subscribe to:
Post Comments (Atom)
250 comments:
«Oldest ‹Older 201 – 250 of 250hey! Can u please send me the coding of this project ???? i am also doing the same project in C language....
buxi07@gmail.com
Hi Ashish ji, your blog is really wonderful,appreciate your innovations,could you please share the code for RC Control. my mailid srinijapan@gmail.com , thanks in advance
Sir,
I need to design a digging robot, so just need some suggestion.
hello plz tell me what type of coding u use in the project i use visual studio 2005 c sharp for coding plz plz help me i have tooo submit this project tommorow and plz gave me instruction reply waiting id is firdousfatima110@gmail.com
hello hi i want help from you plz plz give me details on codding of this project im using visual studio 2005 c sharp what coding i use for it...plz gave more details i want tooo submit my project tommorow and i am sooo worried help plz...my id is firdousfatima110@gmail.com reply waiting
hello hi i want help from you plz plz give me details on codding of this project im using visual studio 2005 c sharp what coding i use for it...plz gave more details i want tooo submit my project tommorow and i am sooo worried help plz...my id is firdousfatima110@gmail.com reply waiting
hello plz gave me coding in c # for this project plz waiting submit this project tomorrow
Hey Buddy Great work....u can use ur mobile phone as a wireless camera....there's an app which I used on my Nokia phone to use it as a webcam..works great!
hi Ashish dis is rahul i am just starting with projects i am interested in computer controlled car ...as i am new to i don't know any thing could please send me all details about this project even the software & code you used in this please help me to come to the new world.....
send me the details to rahulroy.ananthula@gmail.com
hi Ashish
great work man..i hope ur doing well anyway i've looked over ur project and its really interesting so am just asking if you can send me the program or the code and i'll be very grateful
keep the good work my bussy regards...
my email "raed.zeidan86@gmail.com"
Hey man could you give me more information please maauuu_@hotmail.com i'm from mexico and i want to buil one for my circuits class, please if you can give information about the program too :) i hope you can help me
Hi Ashish, I am Gurvinder I am Computer Engineer I am also want to be like you but i want help from you that can you kindly give me the software you are using to operate it.....
Awesome work bro...and especially respect for sharing with us....i dont know whether u still check this blog or not but if u do would you like to share the code with me bcoz i suck at programming (electrical engg student) and so far can only glow led's using parallel port..i undrstand a code i like a baby to a programmer but if u cud share that wud mean alot to me...thank u
sabijas007@gmail.com
hey ashish nice project bro :) I'm planning to do a similar project soon, though I intend to interface something aerial, (with a camera and a gyroscope) or a robot maybe
hi tis was really amazing i am gng to implement tis project fr my OHE so plz send full procdre to tis sonthosh4568@gmail.com
thanks a lot......
hitis really amazing...........
can u send the full procrdre for me tis will help for my OHE ....plz send tis to my id sonthosh4568@gmail.com
Hi Man. Great project. It would be great if u could provide a vedio on youtube for urself while u r actually doing this. There is a big chance it will take good hits!! It would be lovely to see the whole process life (buying the part, their names, how to find active points and 0 v, how to solder wires (tools needed), how to connect the parrallel port and finally the code itself (u can publish that (if u wish) in some link)). If u provide this info, then rookey people (non electrical guys) and young kids will have the chance to enjoy "do it urself" projects themselves. Would love to talk regarding this on my email (yahya.morad@gmail.com). Great work man
Hello Ashish!
I am very interested in your project. I am amazed at the number of comments and people coming onto this website to seek for your advice and opinions after being on the internet for years.
I would like to ask if it is possible for you to kindly share your codes with me? It will be a great help for me to initiate this project for myself as well.
My email is geno_breaker_9@hotmail.com
Thank you so much!
Great Job
I like the idea of the wireless camera. Always thought it would be fun to have an RC airplane with a wireless camera so that I would fly the airplane from my laptop as a remote drone.
Regards
Sid
Nitrotek
Hey man ,please send me the name of the software and coding..........
please send me the name of the software and coding :-) nice done
send to bjarkerudbeck@yahoo.dk
the computer controlled Rc car is shown on the post here. Read all about it
i really liked your idea of controlling a car with computer system.its Wonderful and unbeliveable experiment....i watched your project and wish too do that but i have some problem can u help me out....Continue reading
Regards,
Berry
nice blog. thanks for sharing this here. i think i also should have to drive my car like this. but i was thinking that how could i fix a camera on my RC car . i want to drive my rc bil like i am playing a game on my PC.
i am also working on same project
can you mail me programming part and how?
thank you
Regard's,
Ben Almeer,
Click Here for full article
Could you tell me what are the resistors you used for this project and also send me a link to download the software for controlling the car.
My email address is pakvplk@gmail.com
Thanks
oh that was an great effort ashish nicely done and now you can also add a wifi webcam in this car and i would like to provide you a good site which can help you for your project.visit here
Hey ashish great job ..congrates..
I want to ask a help from u..can u provide me codes for this? And please give us some information in about the software used..Is it possible to use keil or C for this real time data transfer from pc..
Hope u will help me very soon,, my mail id is kishorkumar.sarma@gmail.com
Hey ashish great job ..congrates..
I want to ask a help from u..can u provide me codes for this? And please give us some information in about the software used..Is it possible to use keil or C for this real time data transfer from pc..
Hope u will help me very soon,, my mail id is kishorkumar.sarma@gmail.com
Hey ashish great job ..congrates..
I want to ask a help from u..can u provide me codes for this? And please give us some information in about the software used..Is it possible to use keil or C for this real time data transfer from pc..
Hope u will help me very soon,, my mail id is kishorkumar.sarma@gmail.com
i really liked your idea to put a camera on it... i ask favor can u teach me how to code that using assembly language or what language use used to implement that project? because I plan to implement that project on my interfacing subject soon and its very interesting.
Regard's,
Ben Linus,
For further detail
Hey, how did you identify the 0V ground and active control points? Kinda new to the world of electronics.
hi can you mail me the software please aurillobussiness@gmail.com
Wow. Nice blogging. I like the idea of the wireless camera.I would b really ta fun to have ride with camera. I liked ur innovation very much!
Regard's,
Ben Linus,
rc auto nitro
Hi.. Ashish. This is wonderful project I want to do this experiment. I have an RC car and my remote control did not work. Can you please share with me the coding and software which you have used in this project. Click here to see more
Please e-mail me at nathanrccar@gmail.com
Great job as usual!
I was hoping if u could send to me the code of the software.
I hope it's Visual basic 2008
Because I good in using dot net
BTW I will graduate this year
and I choose Computer Control RC Car as my graduation project
So please help me as u can.
I'm in big need for your experiences.I'm only got a few
week's before graduation or almost a month.So please send as soon as possible.
My Email:mohammedeissa12@gmail.com
THANK U
he is my other email
e.mohammedeissa11@hotmail.com
I hope us send the code as compressed files
also
I will be great if send to me
the project data sheet or papers
and Ur slide shows
wow..what resistor did you used? where can get the source code ..please email me at bkchandraseegar@yahoo.com tx
Hi Ashish,
i need to ask something.. can i have ur email address please. this is about my rc project...
Hi, Ashish
I like your project, is awesome. I'm doing the same project as yours, will you give me some advice to do this project. I need to do it for my college. I wish you can help me, Btw u can contact me on
Muhammadfarishairolniza@gmail.com
hello, i would like to have the coding of this project. it will be a great help
kindly email me at
areeba_shujaat@hotmail.com
Bullguard Antivirus 1 Year 1 User, Just Rs.199 @ ebay.in
Bullguard Internet Security 1 year 1 user, Just Rs.399 @ ebay.in
Bullguard Antivirus 1 Year 1 User, Just Rs.199 @ amazon.in
Hello Sir,,,, Can I get the code??? I need it very urgent for my Semester project... please mail me at; hayatkhanfaisal@gmail.com
waiting . . . . . . . .
You can shop from a great selection of remote control toys online, i.e. cars, trucks, helicopters, airplanes, motorcycles, boats and more at lowest prices.
Hi Dear,
i Like Your Blog Very Much..I see Daily Your Blog ,is A Very Useful For me.
Speed Muscle Remote Control RC Buggy 2.4Ghz 1:16 Scale Truggy Ready to Run w/ Suspension Toy (Green Color) …
Visit Now - https://www.amazon.com/Speed-Muscle-Remote-Control-2-4Ghz/dp/B01M712G8Y/ref=sr_1_1?m=A3KIGJ5D7AQK8I&s=merchant-items&ie=UTF8&qid=1504848759&sr=1-1&keywords=B01M712G8Y
Remote Control Car
It’s amazing. In the eyes of mechanical idiots like me, blogger is geniuses. I also like the remote control car. But the price is too expensive. The important thing is that I don't have the same talent as a blogger.
Thanks for the information. I really like the way you express complex topics in lucid way. It really helps me understand it much better way. auto tracking Of human body wifi camera
Post a Comment