Fitness Racer: PC Control of an RC Car 111
An anonymous reader writes "This project gives step-by-step instructions + source for connecting a cheap RC car to your parallel port and driving it around with a Dance Dance Revolution pad (or joystick). A fun way to make an old toy fun for another few hours, and another way to pretend that reading Slashdot may eventually lead to body movement."
Wifi + Webcam (Score:5, Interesting)
Re:Wifi + Webcam (Score:2)
Re: (Score:3, Funny)
Re:Wifi + Webcam (Score:1)
Bigger Penis is Better betsy (Score:2, Insightful)
I just randomly grabbed a subject from one of my spams figuring that it would be a good way to get attention to this comment.
I think this article is interesting not for geek reasons, but because it represents a thumb your nose to the slashvertisement [slashdot.org] we saw yesterday on the VIA-based Mobile Robot Design For Download [slashdot.org]. Even my own comment [slashdot.org] pointed out how you could basically build your own for for just the cost of few electronics.
Cool, slashdot is starting to tell their advertisers Kiss my ass! Way to
Robot Wars (Score:1)
Re:Robot Wars (Score:1)
Re:Wifi + Webcam (Score:1)
Re:Wifi + Webcam (Score:1)
damn... figures..
Great extension... (Score:2, Interesting)
and yet more ways.. (Score:4, Funny)
somehow I remember time being at a premium..
seems a long time ago now..
time to get me an RC car..
April fool... (Score:1)
Re:and yet more ways.. (Score:2)
Funny, when I look back, I seem to remember time being as ubiquitous and free as air. Now that I am (ahem) MARRIED, I don't know what to do with the 30 attoseconds of free time per day I am alotted. Why, it's almost enough to pos[**QUOTA EXCEEDED**]
Server getting slow already, heres the text (Score:5, Informative)
The general approach taken here is to use the parallel port to flip the switches in the RC controller, thereby avoiding all the radio stuff. A few transistors are required to help the 3.3V parallel port pull down some pins on the 9V RC car controller.
Source code is included below... it actually just uses DirectInput to talk to the pad, so if you're burning to drive an RC car around with your PC joystick or keyboard, that works too. If you're using this approach, the software also tries to pulse the pins on the parallel port to give you some crude analog speed control.
What you'll need
A Dance Dance Revolution pad. I recommend buying one of the soft PlayStation pads, which run about $20, and nailing it down to a big piece of plywood, as is illustrated in the image to the left. The soft pads tend to slide around and/or rip apart without support, and the hard pads are expensive.
A cheap-ass RC car... the kind that actually has no analog steering, just four switches for forward, back, left, and right. This includes just about any car you get for $20 or less. I went with the fabulous Nikko Octane.
A few electronic components, namely:
# A DB-25-M connector
# Four resistors, about 500ohms
# Four NPN transistors
# Wire+solder
Total cost ~$6 at Radio Shack. I also used a breadboard to make nicer pictures, although this project is probably appropriate for the solder-in-the-air-and-cover-it-in-duct-tape-or-glu e approach.
Connecting the hardware
First you'll need to open up the controller and take a look at the switches. The buttons shown here each have four terminals on them, but you only need to make one connection to each button. If you're using a different car than I am, you'll need to put a voltmeter on the terminals to find out which ones you care about. What you want is a terminal that is normally sitting at 9V relative to the battery ground, but goes to 0V when you press the button. For this particular controller, there were two terminals on each button that fit this description, and I picked one arbitrarily on each button. If you're looking at the controller as shown in the image to the left, I chose
# The upper-right terminal on the "forward" button
# The lower-right terminal on the "reverse" button
# The lower-left terminal on the "left" button
# The upper-right terminal on the "right" button
Solder about 8 inches of wire to each of these terminals, and about 8" of wire to the battery ground.
Now we connect all the components, according to the schematic show on the left. The important points are
# Battery ground on the controller needs to get connected to ground on the parallel port
# The emitter from each transistor goes to the common ground
# The collector on each transistor goes to one of the terminals in the car controller
# The base on each transistor goes through a resistor to one of the parallel port data pins
The software expects the reverse, right, left, and forward switches to be on the parallel port's data 1, 2, 3, and 4 pins, respectively. Data 0 got left out because it was mean to the other children on the playground.
If you left enough wire between the components and the DB-25 connector, you can plug the whole mess right into the parallel port. I like to use an extension cable so I'm less likely to knock things out of my breadboard in the heat of my excitement about driving an RC car with my feet.
You'll also need to connect your DDR pad to your PC somehow and get it recognized as a game controller, assuming you actually want to use the
spoken like a true novice (Score:1)
Re:Server getting slow already, heres the text (Score:2)
What would be even cooler... (Score:2)
Re:What would be even cooler... (Score:2, Informative)
Granted, it's not perfect. He's going to end up with a small (~.2 to
I'd like to see an analog controlled device with proximity sensors at -45, 0 and 45 degrees forward and back.
Re:What would be even cooler... (Score:1)
Fun for another few hours? (Score:2, Funny)
This is Slashdot! The first coronaries will start after about 20 minutes.
or a joystick? (Score:5, Funny)
Am I the only person that thinks controlling an R/C car with a DDR pad is retarded?
"You can drive this car with a wheel and pedals... OR you can control it using this jar of peanut butter and a hockey puck, wired to this monkey. "
Re:or a joystick? (Score:3, Insightful)
you are using the DDR pad's switches to tell the computer to trigger the RC car's remotes... SWITCHES!..
Ooh boy. using a $1000.00 pc to translate switch closures to switch closures.
whoopdie. I can do the same thing with $6.00 worth of wire,connectors, and bits.
what's next on slashdot how to use a cray supercomputer to turn on a monitor?
Re:or a joystick? (Score:1)
What ? (Score:2, Funny)
All this scrolling and clicking and typing is a lot of movement for me already, you insensitive clod !
Fat parallel cable (Score:3, Funny)
Haha, I had a picture in my head of someone trying to drive round a little car with one of those awful, fat, stiff printer cables attached to the back. Silly me.
Re:A simple comparison. (Score:2)
Slashdot leading to body movement (Score:1)
That, or they've become so annoyed that they've actually gone outside to do something.
Well it would, but (Score:5, Funny)
. . . and another way to pretend that reading Slashdot may eventually lead to body movement.
Well, it would if the editors would accept more of my Natalie Portman stories, it would.
I like where it says.... (Score:1)
What else would the image be used for again?
This Project reminds me of (Score:2)
Re:This Project reminds me of (Score:2)
A 67 Imapala with rockets on the top. Dang cool.
Re:This Project reminds me of (Score:1)
Re:This Project reminds me of (Score:1)
Screw RC Cars (Score:2)
Re:Screw RC Cars (Score:2)
The movie linked in the article appears to be gone but maybe you can find it elsewhere.
That's Nothing! (Score:3, Funny)
Fun times, fun times.
Re:That's Nothing! (Score:1)
Re:That's Nothing! (Score:1)
I was actually beaten by someone using a DDR pad while I used a dual shock controller. A testament to my Tekken skills.
I couldn't keep the party around long enough to get a DDR controller vs. a DVD remote control Tekken battle.
Re:That's Nothing! (Score:3, Funny)
Re:That's Nothing! (Score:2)
Did this once (Score:3, Interesting)
We connected the transistors to the parallel port of a Motorola ColdFire eval board and wrote some software to program routes.
It would have been useful if the damn thing had any range whatsoever, but we spent a whole nine dollars on the car, so I'm not worried.
Re:Did this once (Score:2)
If only the Cubs had known about this trick in time.
Bug Notice- (Score:5, Funny)
Revision Date: 10-21-2003
Patch(es) Replaced: None
Caveats: None
CVE Number(s): CAN-2003-4751
Tested Software:
Affected Software:
* Microsoft Windows 2000, Service Pack 2
* Microsoft Windows 2000, Service Pack 3, Service Pack 4
* Microsoft Windows XP Gold, Service Pack 1
* Microsoft Windows XP 64-bit Edition
* Microsoft Windows XP 64-bit Edition Version 2003
* Microsoft Windows Server 2003
Software Not Affected:
* Microsoft Windows Millennium Edition
* Microsoft Windows Server 2003 64-bit Edition
* Linux - All
Untested Software:
* SCO - No One Uses It So We Couldn't Test
Technical Description:
A security vulnerability exists in the Remote Control Service that could allow arbitrary code execution on an affected system. The vulnerability results because the Messenger Service does not properly validate the length of a message before passing it to the allocated buffer.
An attacker who successfully exploited this vulnerability could be easily drive remote controlled cars in to grandmothers or small children. This has been seen in the wild but has been limited to chasing cats.
The next thing we need... (Score:2)
So much for body movement.
Re:The next thing we need... (Score:2)
Powerful car (Score:2)
That must be a whopper of a car, to be able to drag a PC around with it.
body movin' (Score:1)
What you mean you didn't actually do some pushups before you voted in this poll. [slashdot.org]
Now add a camera... (Score:2, Interesting)
Have all your friends get these too, and set up a little race course. It'll be just like a first-person driving game, but you'll all have real little cars you're controlling.
- Phat Tony.
Did this... (Score:3, Informative)
If you do plan on doing it, you'll be happy to note that the X10 cameras run a long time off of a regular 9-volt battery. You'll be unhappy to note that the viewing angle on an X10 camera is far from perfect for driving.
Remote control plane? That's the ticket - and you can get a cheap RC plane for $60.
Re:Did this... (Score:1)
I guess it might be interesting to try if I already had the stuff around, but it wouldn't be worth the money to get it. I'd rather buy Wi
RC plane mount (Score:2)
In any case, it's probably best to get a smaller,
Anyone... (Score:1)
Re:Sig (Score:1)
waste of time? (Score:2, Interesting)
Some people just shouldn't be allowed. . . (Score:1)
KFG
Re:Toy cars are good for you. Eat more! (Score:1)
I didn't kill any children today thank you. Actually I think I probably saved children today... Congress appropriated $4.696 billion for WIC in FY 2003. (That's from the WIC FAQ)
BTW you need to use sit ! seat & starving ! startving.
How about Counter-Strike? (Score:1)
Makes me think... (Score:2)
Computer R/c car vs Human controlled (Score:1)
Design changes (Score:3, Interesting)
Using relays also means the project can be re-used with different hardware much more easily - just change what's hooked up to the relays.
I also recommend the "UserPort" driver, which simply yields parallel port control to userland applications. Much simpler than monkeying about with special drivers.
Re:Design changes (Score:1)
Possibly (Score:2)
similar idea (Score:1, Interesting)
The thought of driving it around the parkign lot, then hitting a repeat button and watching it do teh same moves on it's own would be fun...not too mention all the possibilities of cameras and
taking the idea further (Score:2, Funny)
Re:taking the idea further (Score:3, Interesting)
Funny you should mention that.
There are several robotics projects out there that use PDAs for processing and control functions. Just get a wireless enabled PDA.
A friend and I have ripped apart a couple RC cars for this sort of thing. Instead of hooking the remote up to a parallel port, though, we hooked it up to a Basic Stamp. Been talking about hooking it up to a serial/parallel port just so we don't have to program in PBASIC anymore.
Also talking about duct taping the hacked remote to the RC car and
All this time I've been using DDR pads for DDR?? (Score:2, Interesting)
But on a more serious note... could this have real-world applications in the future for someone who didn't have arms or hands? Could this, later on down the road, evolve into a foot-controlled robot that did basic tasks for those that needed it?
Read his "robot tag" report (Score:1)
http://techhouse.brown.edu/~neel/robot_tag.pdf
An even better idea! (Score:3, Funny)
Wait...
It's a Visual C++ binary with no source code? (Score:3, Funny)
This software will probably scrape your hard drive for email addresses and then spam them with your return address, install a DDoS slave and invoke the return of Zuul, Queen of Gozer.
Seriously, you have to download and install the program, then *two* drivers, and tell me (wise ones) you're not nervous about this?
Re:It's a Visual C++ binary with no source code? (Score:2)
Re:It's a Visual C++ binary with no source code? (Score:2)
Then again, I'm not running windows, and neither do I have Visual C++, nor do I have the libraries to link against.
Maybe that deterred me from downloading. Should I audit the source, or has anyone else actually read the stuff?
How difficult would a port be?
I guess I was looking for a tarball and got hung up on the "THIS IS VISUAL C++" label on the downloads. Silly me. Thanks for checking though!
Re:Why doesn't Slashdot (Score:1)
Though my post was more relevant than it was.
Re:Why doesn't Slashdot (Score:1)