Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

motor speed control and pic

Status
Not open for further replies.

laki101

New Member
I have an 12v (about) 1-1,5A dc motor and I wont to control it with an pic. Beacause of the voltage and amperage I gues I must use an H bridge. And I am making one using 4 transistors.
Now I have no idea on how to make it possible for the pic to have speed control.
 
pic 16f877 (probably) , basic language

I heard about PWM but im not sure how to conect it with the transistors and how to programe the PWM
 
well I can only get the 874,7,8 which is an older version of the 884,7,8 so I think it will just do fine
 
I am from Serbia. I mean I could probably find here an 887 but in the shops I buy they have the 877 so I will have to do with that
 
I have an 12v (about) 1-1,5A dc motor and I wont to control it with an pic. Beacause of the voltage and amperage I gues I must use an H bridge. And I am making one using 4 transistors.
Now I have no idea on how to make it possible for the pic to have speed control.

Do you just want speed control with the motor only turning one way, or do you need to reverse the motor?
Are you trying to make a closed-loop speed control?
Does the motor have a provision for a tachometric speed signal (pulse rate proportional to shaft speed?
 
both directions

I have no idea whats a closed loop speed control

the motor is an really old wiper motor so it just has 3 wires slow speed, fast speed and - ,but it can speed in both directions when changing the polarities
 
Closed Loop speed control is a feed-back system where you command the motor to turn a given speed. There is a sensor attached to the motor shaft which gives a signal proportional to shaft speed. The actual shaft speed is compared to the desired (set) shaft speed, and the controller automatically increases or decreases the average current to the motor if it is running either slow or fast.

Sounds like you just want open-loop (no feedback, no sensor) control.

Do you want to use the HI/LO speed wires, or will you just use one or the other?
 
I just need an open loop and just to use the hi speed wire
so just like I would use a speed control circuit with a potentiometer to use the pic for that ,and one day to make the pic turn the motor based on the music ,but first just a pre-programed control sistem
 
Status
Not open for further replies.

Latest threads

Back
Top