Remote control cars over the internet (telepresence)

I came across this site with 2 RC cars that can be controlled freely over the internet. 

I want to make one of these setups, but I don’t know exactly how to do the codeing.

I got everything external under control. I am going to use the 25 pin printer parallel port. The only problem I have is trying to get a client pc on a webpage to communicate with my computer then to its serial port.

So I need some help with the following...
1. A webpage with buttons to control a program on the host.
2. A program on the host to control a parallel port.

I want a webpage to have 12 buttons, two sets of 6. One to control car 1 and the other for car 2. Each set will have the following keys.
forward left,
forward right,
back left,
back right.
(Or possibly a set of 6 buttons with a drop down menu to select the car to control.)

I can use ubuntu or Windows, doesn’t matter.

So if someone could guide me through the webpage makeing, communication to the host, and the host to the parallel port, I would greatly appreciate it.

Here is a link that you might find useful.

Update: I think the site at the top states that it uses Ubuntu and Apache.
Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch Server at Port 80

Picture of Remote control cars over the internet (telepresence)
sort by: active | newest | oldest
1-10 of 23Next »
I've just got finished with this project. I used an Arduino UNO along with an Ethernet Shield to the control the car over the internet. Here's the URL for anyone interested. The documentation is fairly detailed.
jrio125 years ago
Why not just buy 39 dollar ip webcam with a moving base and hack it then use your droid as an on board wifi hot spot and run it all on 3g or 4g go any were verizion covers
michioryo6 years ago
Good information provided regarding robotic cars.
Thank you!無料車査定
Look at this folks - a real 24/7 working unit:
physics_dude (author) 8 years ago
letapjar8 years ago
Hi folks, I'm one of the site mods at the RC-Carduino site.  A couple of quick things:

1) we use an arduino b/c it was the quickest/easiest way to get the webserver talking to the micro-controller (and it's only $30 for a dedicated arduino for this project - this is  a long term project for us so $30 is a small investment)

2)remote server is no problem - just forward the HTTP requests to the local machine that's connected to the arduino.

3)here's a link to the code to talk to the arduino from another program:
in ubuntu make sure the apache user is part of the 'dialout' group to talk to the serial port. - another option is to use a serial proxy as described on the website. (we haven't tried that yet).  Design a simple protocol (ours uses single ascii characters for each movement direction - easy and we can use a switch/case statement to interpret them quickly on the arduino)

If you want to be energy efficient, you'll want to control the lights with the arduino - get a "Automatic plug-in Light Control" - made by GE, available at walmart for $6.98 in the do-it-yourself section.  tape on an led over the light sensor - hook up the led to be normally on - and trun the led off when you want power to the lamp.  See this instructable for some details - but we don't recommend taking apart the light control like they do - it's unnecessary and potentially unsafe.

Happy Hacking

physics_dude (author)  letapjar8 years ago
I'm sort of new to the C lanuage stuff. I olny know visuial basic.

also, what program should i use to make the webpage?
you don't need to know c for the ardunio-serial program  - you just have to be able to compile the program. If you're using linux, the gcc complier will be what you need and the todbot blog has the directions on how to complie it.

as for the arduino programming - the tutorials on the website are all you need.  Look for the switch/case tutorial, the Led blink tutorial (truing an led on and off is the same as turning a witch on and off program-wise).  And the Serial prot tutorial.  Install the arduino IDE and look through the example sketches (that's what arduino programs are called).

You can use any program to write a webpage - a text editor works just as well as an IDE for that part.  "use your google-fu grasshopper"...
physics_dude (author) 8 years ago
Ok,  guess I will use the arduino. but still prefer to do it with a parallel port.
ReCreate8 years ago
i reccomend you use an arduino, it'll be much simpler that way.
1-10 of 23Next »