Provide me logic/circuitry and code for controlling motor

Status
Not open for further replies.

mexx

Member level 2
Joined
Dec 2, 2003
Messages
49
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
550
motor control

hii
i am using a two wheel drive for my remote cntrolled car.for this i m using a PIC16F87X for controlling the motor.can anyone help me with the logic/circuitry and the code for controllling the motor.i am not using any type of sensors.

mexx
 

Re: motor control

hi,
which kind of motor are u using??

dc motor normally used) then u can connect a H bridge ic or construct one for simple forward and reverse control of the car
stepper motor: Here u need a driver circuit,which is a simple transistor drive for the coil excitation.

In the dc motor u'll be having less precise control, but in the stepper motor u'll be having precise control, and u can decide the step size also .

But with a stepper motor u'll be using 4 I/O lines and the only 2 in the dc motor( but i dont think this should be a problem with an 877)

sam
 

Re: motor control

If you are using brushless DC motor. There is a circuit diagram and code for pic16f877 on microchips' site : www.microchip.com

look at that site !
 

Re: motor control

 

Re: motor control

i am using the dc motor and will be doing with H-bridge circuit.can u give me the code for controlling the motor from PIC16F87X.i am also planning to make the car wirless .For that i am making an infra red transmitter receiver.but in this i hav to keep alinged transmitter and receiver in the same line which is a problem.can u suggest me something else.
sam
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…