Go Down

Topic: changing a polarity or a +/- of a dc motor? (Read 2424 times) previous topic - next topic

Muneeb

is there any easy and simple way to change a polarity/ side/ direction or a +/- of a dc motor.

AWOL

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Anachrocomputer


Bill_Kerr

Hi Muneeb

Simplest solution DPDT switch (double pole double throw)

If you used center off, then you would also get an off position.  The motor gets wired to the center position.

E.g.  http://www.robotroom.com/DPDT-Bidirectional-Motor-Switch.html

Regards  Bill
Don't you just hate ONE D 10 T problems?

Muneeb

there are no programming code to change a polarity?

AWOL

Yes, of course, unless you're using physical switches
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Muneeb

Any video or tutorial for this,

is it also possible to change a +/- of a dc motor using a potentionmeter or a photo resistor with a code

AWOL

Tell us what hardware you've got and what sort of a motor you're trying to control.

(and please, don't just say "it's a 12V motor")
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Muneeb

i have an arduino uno,
and im trying to controlle a +/- of dc motor that is 3 to 9 volts

ilektron

There are some motor controller shields for the arduino.  Easiest way.  Plenty of code examples.
http://ilektron-x.blogspot.com - Hacking and General Electronics Goodness


ilektron

Here is my blog with a higher current motor shield.  I thought I had some example code on there, let me find it.

http://ilektron-x.blogspot.com/search/label/high%20current%20motor%20controller%20shield
http://ilektron-x.blogspot.com - Hacking and General Electronics Goodness

ilektron

This is just a rudimentary example to control the motor shield.

http://ilektron-x.blogspot.com/2011/02/high-current-motor-controller-shield.html
http://ilektron-x.blogspot.com - Hacking and General Electronics Goodness

AWOL

Quote
im trying to controlle a +/- of dc motor that is 3 to 9 volts

I suppose I asked for that. :smiley-roll-blue:

When asked to describe a motor, you need to state the voltage and the current.

Think about it; a slot-car runs on 12V, but so does a starter motor.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up