Introduction: RC CAR (Parallel Port Interfacing)

Picture of RC CAR (Parallel Port Interfacing)

INTRODUCTION (WARNING CODE CAN ONLY RUN WITH WINDOWS XP)
This project was about operating a remote control car by using an input device connected with a computer, for this purpose we had to connect the remote of RC Car with the computer so that when we operate the computer, remote would start its function and car will be operated. Therefore at the same time we had two grounds to play one was software development and second was hardware interfacing.

Step 1: Materials

Picture of Materials

S.no.    Name                                                               Quantity                                                    Cost (In Pakistani Rupees)

1-) DB-25 cable (parallel port cable)............. x 1.....................................................................Rs 250
2-) Gender changer (optional).........................x 1......................................................................Rs 100
3-) Bread Board..................................................x 1......................................................................Rs 140
4-) Wires..............................................................2 meter.............................................................Rs 25
5-) Transistor (Mps a06)...................................x 4.(or any general purpose transistor).....Rs 8 x 4
6-) LED's ............................................................,x 4 (two red two green)..................................Rs 4 x 4
7-) materials for soldering..........................................................................................................
8-) RC Car............................................................x1.......................................................................Rs 350 -900
9-)db25 male header/female ..........................x1.(depending upon your cable)..................RS 100

Step 2: Getting Started (Hardware Phase)

Picture of Getting Started (Hardware Phase)

Hardware phase
                              first of all open the remote of the Rc car. You will analyze that there are four switches. when we press the button each switch is closed.. Before pressing the button turn on the remote and check the voltage across the terminals of the switch  it should give a value.. after pressing the switch hold the button and check the voltage it should show zero..

this concludes that our remote is working on short circuit technique. that is if there is a voltage across the switch and when its pressed it is short circuited.

Observe that one wire is common in all the switches its the ground of the circuit. which concludes that we need to solder five wires in the remote. one for each switch and one for ground.

it can be checked that when u short the ground wire with any of the switch wire the car performs the action of the switch who's wire is shorted if all the four functions are performed then it means u have picked the right ground. and the right switch wires.

here are the pcb design and the simulation of the circuit for interfacing (download parallel port circutary)

Step 3:

Picture of

TRANSISTOR (as switch)
                                              Now when we press the button manually the two terminals of the switch join together.
but from parallel port we can only have voltage signal to activate the switch. we use the circuit transistor as a switch for it.

Working
               when the voltage at the base of the transistor is one (5V) then the emitter and the collector terminals are short.. as if we short them manually.hence our functionality is achieved.

these transistors were mounted on the breadboard one can also make a PCB or vero board

Leds are just used for protection as we ar shorting the terminals of the parallel port (approximately) because ther is a 0.7v drop accross the transistor so just to dissipate power and also for little beauty : )

Step 4: SOFTWARE PHASE

I Wrote a program on C++ works fine.
just control the car with arrow keys

Download the .zip file for the complete code (the code only runs on windows Xp and not on windows 7 as mentioned before).
i have tried it on windows 7 (64-bit Ultimate 6.1 build 7600) but did not worked fine.

here is a demonstration video link
http://www.youtube.com/watch?v=pr4aLUDTiiQ&feature=youtu.be


 



if U have any problem u can mail at
dinitrogenoxide@ymail.com

and please rate it if u like it

bread board testing (LOW QUALITY)

Comments

jefferdomd (author)2014-06-19

Buddy!! Can't I use this for a RC Infrared Helicopter!! i'm slightly confused because of the remote has VRs Not switchers!! :)

usbg3rd (author)jefferdomd2014-06-20

exacly u have the answer in ur question . from a parallel port u can only get 8 bit information so u can enable/disable 8 switches but when it comes to VRs then u need either more pins or serial port. therefore u cant do it. first i had the same project in mind but i faced the same problem.

Regards
Umer Javaid
NUST
Pakistan

FaisalH3 (author)usbg3rd2015-12-30

hello brother, what changes i should make in the source code provided by you to run a RC helicopter... please help

Faisal Hayat

UoW Wah Cantt

usbg3rd (author)FaisalH32015-12-31

I already answerd it above .

"from a parallel port u can
only get 8 bit information so u can enable/disable 8 switches but when
it comes to VRs then u need either more pins or serial port. therefore u
cant do it. first i had the same project in mind but i faced the same
problem."

FaisalH3 (author)FaisalH32015-12-30

maybe you can mail or whatsapp me;

hayatkhanfaisal@gmail.com

+923449793574

A A K (author)2015-11-03

My rc car remote switch terminal closes with the positive terminal of the remote not by ground.... i cannot connect positive to emmitter of the transistor.....what can i do....help me with dis... plz

usbg3rd (author)A A K2015-11-05

it might close with the positive terminal of the remote but the terminal that is joining must be a ground..
In-fact it doesn't matter if it is on high voltage or low. because when the switch is pressed both go to same potential.
therefore all you need to do is find out which terminal of the switch is high and which is low. just connect the low one to the emitter and high one to the collector and you are good to go.

A A K (author)2015-11-03

My rc car remote switch terminal closes with the positive terminal of the remote not by ground.... i cannot connect positive to emmitter of the transistor.....what can i do....help me with dis... plz

Krishna kant (author)2015-02-06

i want to make front wheel moving r.c car which makes it easy to turn...

wiil u have any idea or any source from where i cn learn abt it...??

usbg3rd (author)Krishna kant2015-02-07

I dont get what are u trying to say .... do u mean u want to make a fore wheel drive?

the above car is rear wheel drive and with turning functionality.

mesa1 (author)2013-10-08

please send me the program code to
mohammedeissa10@yahoo.com
e.mohammedeissa11@hotmail.com

mesa1 (author)mesa12013-10-08

Also what u did is great job

usbg3rd (author)mesa12013-10-09

Thank u :)
the code is available here in last step after videos there is "rc project.zip" (5MB) button click and download the complete source of the project :) enjoy

Rate if u like it . Thanks

RageQuit1124 (author)2013-09-04

Hello I know this might sound like a stupid question but is the transistor necessary?Why?
Cause it might work even without it(just a thought but i'm not sure about it)
And Do I still need to use batteries on the remote control?

usbg3rd (author)RageQuit11242013-09-04

Normally when u press the button with your finger u connect two metal pates an when the are joined the voltage difference between them gets zero as a result a signal is emitted from the remote and the car reacts accordingly .. now the purpose of the transistor is to make a contact between those metal plates but using electric signal from parallelport (no physical force required) so to do that transistor is necessary as it i the device that gets short between emitter and collector when base is at a certain voltage ...therefore we can make those metal plates connected even though no one has pressed the button physically ...
and yes u need the batteries in the remote as u have just pressed the button using the circuit if there is no battery then there is no use of pressing the button :) hope u have find your answer .u can ask if any further help is required ....... like,comment,rate :)

Sergeant Sarcasm (author)2013-06-01

It's funny how you put Opel and Honda stickers on a Toyota RC car

usbg3rd (author)Sergeant Sarcasm2013-06-01

thought no one will ever notice :D

Sergeant Sarcasm (author)usbg3rd2013-06-28

I did. Why did you

usbg3rd (author)Sergeant Sarcasm2013-06-29

was modifing it .. did all the paint and led's .. then i only had these stickers so i put them too..

Sergeant Sarcasm (author)usbg3rd2013-07-01

lol

isiddiqui (author)2013-06-02

excuse me . i need help . i make a project of rc car control by parallel port . my complete circuit work very well but when i conect my collector wire with parallel port my car start working. what should i do. some one tell me when u connect your car with paralllel port your car command control by port . but i want control it by turbo c program. but when i compile my turbo c code it not work. can u tell me what is fault in my project. because tomorrow is last day of submit project plzzz. reply and i want told u i have window 7 in my laptop . "" that is y my turbo c cant control my car""????

usbg3rd (author)isiddiqui2013-06-02

first of all how do u know your circuit works fine.. because u dont connect the collector to the parallel port .. its the base that is to be connected instead. and the code doesnt work with windows 7 .. actually i used windows 7 too and then it didnt work then i replaced it by windows xp and same program worked awesome..

a7la nono (author)2012-12-05

you means to connect 2 wire from S with (BJT emitter) AND 2 wire from " green arrows" connected with (BJT collector )

usbg3rd (author)a7la nono2012-12-06

you need total 5 connections
1-4 from each naked wire to the base of each BJT
5th wire for ground
for ground simply connect the emmiter (of any BJT) to any of the two "S" shaped structure and u are done .also connect the same ground wire to the parallel port's ground too

a7la nono (author)usbg3rd2012-12-06

1-4 from each naked wire to the base of each BJT or collector of each BJT

usbg3rd (author)a7la nono2012-12-06

sorry i meant collector =)

a7la nono (author)usbg3rd2012-12-06

okay (:

a7la nono (author)a7la nono2012-12-06

???

a7la nono (author)2012-12-04

i have different remote there is one switch inside how i can work in this remote i means how to connect four wire in one switch

this is my remote from behind
http://im20.gulfup.com/VQJ41.jpg[^]

http://im14.gulfup.com/Y6wh2.jpg[^]


also i have another remote i think there are four switch but i'm not sure
if this remote 4 button can you explain how to connect 4 wires
http://im28.gulfup.com/jLRV2.jpg[^]

remote from behind
http://im20.gulfup.com/XkL32.jpg[^]

usbg3rd (author)a7la nono2012-12-05

First of all the thing is if your RC car moves forward backward left and right then it surely means there are 4 switches because one switch can only control one movement so the point that there is only one switch its wrong take a better look on your remote again .. i think u are confusing it with the on off switch as i see in the image u attached .. now the two "S" shaped structures are your ground u can check that by attaching a Multimeter black wire with the battery's negative end and the red wire with the S shaped metallic structure if the multimeter reads zero it means i am right and the "s" is ground. Now there are metallic thin naked wires under each end of the "s" as marked by green arrows in the picture. all u have to do is attach the s with the ground of the circuit (BJT's one) and the naked wires (marked with green arrows) with other pins so your circuit will work nice and fine .. if u are still confused or in a doubt tell me , i will try simplifying the things .(your other remote image wasn't clear but it will also work fine if u figure out the right wires)

a7la nono (author)usbg3rd2012-12-05

I am still confused about "S" At any point it must be connect the wire from the back ?

usbg3rd (author)a7la nono2012-12-06

the s is matellic u can even connect the wire from the front too but soldering from the back will make it more hard and less likely to break

a7la nono (author)usbg3rd2012-12-06

its clear now
thank you (:

a7la nono (author)usbg3rd2012-12-05

see other remote
http://store3.up-00.com/Nov12/0eb16506.jpg

http://store3.up-00.com/Nov12/yfW16506.jpg

usbg3rd (author)a7la nono2012-12-05

here is the edited image ."s" is marked red and the naked wires are marked green

Computothought (author)2011-06-23

Nice to see a project that does not use an arduino. There are a boat load of old pc motherboards around that can be adapted easily for this type of project. Also goes for recycling old equipment. I have done several instructables on this sort of thing and wish people would do more. I intend to do a mod on a 486 laptop to do the same thing, but boot with a freedos floppy and use a compiled freebasic program. Have not made time to do it yet.

usbg3rd (author)Computothought2011-06-28

thanks for visiting and if u have any problem u can ask

Computothought (author)usbg3rd2012-02-01

Thanx for the offer, but I can probably handle it.

kashifsmalik (author)2011-09-29

Dude, I can't find the transistor at a local electronics parts shop in Islamabad. They tell me MPSA06 is American part number and they have Japanese/Chinese parts. They say the part number has to be 2N-something or like 7806C or 7906C. I'll check College Road after a few days; but, meanwhile, I am trying to find an equivalent of the transistor you used. Any help would be welcomed.

usbg3rd (author)kashifsmalik2011-09-30

dear
u can find it on college road at "IC Master" u can use any transistor that is feasible for switching purpose or even u can use a generic transistor .....

still if u r confused try
www.alltransistor.com
or try this
http://alltransistors.com/crsearch.php?mat=Si&struct=npn&pc=0.625&ucb=80V&uce=80V&ueb=4V&ic=0.5&tj=150%C2%B0C&ft=100MHz&cc=-&hfe=50MIN&mnf=&caps=
for equivalent transistor or use C828 ......

thanks for ur comment .....
u can still ask if somethink is nt clear

n33r (author)2011-07-30

Hey Nice Project really easy to do.
But what if i wanna do this with usb and not serial port ??

usbg3rd (author)n33r2011-07-31

yup u can but u have to change the coding likely .....
its more convenient that u use a usb to parallel port converter it will b easy else the whole code will b changed

n33r (author)usbg3rd2011-07-31

Alrite m gonna give it a try.
Thanks for help!!!

usbg3rd (author)n33r2011-08-01

no problm
actually in parallel port one can handle each bit saperatly while usb i think transmits searially

About This Instructable

15,716views

7favorites

More by usbg3rd:10W R.M.S. Audio amplifierVolume Units Meter32W Stereo Audio Amplifier
Add instructable to: