Forwards and Backwards Motor Circuit Question

Hi,

The kids and I have taken apart a broken toy remote control and found a
0-10K ohm variable resistor. The request was for then to attach it to an
electric motor to make a car go forwards and backwards. We can make the
car go forwards faster or slower based on the state of the resistor. The
question is how do we make it reverse the motor based on the variable
resistor?

Being a software guy I’m tempted to jump to an micro-controller solution
that watches the voltage change as that resistor changes and separately
drives the motor either forwards or backwards. That feels a little
over-kill. Is there a bread-board-circuit type solution for doing the same?

My google-foo is letting me down.

Thanks,

Dave.

Dave,

You need to implement a simple H Bridge or switches in order to make a DC
motor go forwards and backwards. You have to reverse the connections to
the DC motor in order to make it change direction. If you have access to
4x transistors and a breadboard and some hookup wire you can implement a
simple H bridge…quite involved though. The other option is to reverse
the connections to the motor using an DPDT switch. I’m not sure where the
variable resistor comes in other than to change the speed of the motor…

Here are some google fu results which may be of some help…

http://library.solarbotics.net/circuits/driver_4varHbridge.html

If you need more help…let me know

Cheers

AlexOn 16 October 2014 21:57, Dave Potts dave@goopot.co.uk wrote:

Hi,

The kids and I have taken apart a broken toy remote control and found a
0-10K ohm variable resistor. The request was for then to attach it to an
electric motor to make a car go forwards and backwards. We can make the
car go forwards faster or slower based on the state of the resistor. The
question is how do we make it reverse the motor based on the variable
resistor?

Being a software guy I’m tempted to jump to an micro-controller solution
that watches the voltage change as that resistor changes and separately
drives the motor either forwards or backwards. That feels a little
over-kill. Is there a bread-board-circuit type solution for doing the same?

My google-foo is letting me down.

Thanks,

Dave.


You received this message because you are subscribed to the Google Groups
“Hackspace Manchester” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.

Super. Thanks Alex. Looking at the circuit on the car I think they used
microcontroller style brains to make it work. I think we’ll have a go at a
H bridge and then maybe plug it into an Arduino later on.

Dave.On 16 Oct 2014 22:58, “Alexander Lang” alexanderlang1980@gmail.com wrote:

Dave,

You need to implement a simple H Bridge or switches in order to make a DC
motor go forwards and backwards. You have to reverse the connections to
the DC motor in order to make it change direction. If you have access to
4x transistors and a breadboard and some hookup wire you can implement a
simple H bridge…quite involved though. The other option is to reverse
the connections to the motor using an DPDT switch. I’m not sure where the
variable resistor comes in other than to change the speed of the motor…

Here are some google fu results which may be of some help…

http://library.solarbotics.net/circuits/driver_4varHbridge.html

http://www.eleccircuit.com/basic-how-to-use-h-bridge-motor-driver-using-bipolar-transistor/

If you need more help…let me know

Cheers

Alex

On 16 October 2014 21:57, Dave Potts dave@goopot.co.uk wrote:

Hi,

The kids and I have taken apart a broken toy remote control and found a
0-10K ohm variable resistor. The request was for then to attach it to an
electric motor to make a car go forwards and backwards. We can make the
car go forwards faster or slower based on the state of the resistor. The
question is how do we make it reverse the motor based on the variable
resistor?

Being a software guy I’m tempted to jump to an micro-controller solution
that watches the voltage change as that resistor changes and separately
drives the motor either forwards or backwards. That feels a little
over-kill. Is there a bread-board-circuit type solution for doing the same?

My google-foo is letting me down.

Thanks,

Dave.


You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.

Hi Dave, speaking as someone who’s built a motor controller and
watched it go up in flames, literally, I’d recommend the first type
(Steve Bolt’s design). The design on eleccircuit.com is perfectly
valid but if you accidentally turn on A and B at the same time it will
short-circuit through the transistors.

Another approach is to use a DPDT relay to reverse direction, as in
http://www.me.umn.edu/courses/me2011/arduino/technotes/dcmotors/bidirectional/bidirMotor.html.
This is also impossible to short circuit (assuming you wire it
correctly!)

JimOn 18 October 2014 09:01, Dave Potts dave@goopot.co.uk wrote:

Super. Thanks Alex. Looking at the circuit on the car I think they used
microcontroller style brains to make it work. I think we’ll have a go at a
H bridge and then maybe plug it into an Arduino later on.

Dave.

On 16 Oct 2014 22:58, “Alexander Lang” alexanderlang1980@gmail.com wrote:

Dave,

You need to implement a simple H Bridge or switches in order to make a DC
motor go forwards and backwards. You have to reverse the connections to the
DC motor in order to make it change direction. If you have access to 4x
transistors and a breadboard and some hookup wire you can implement a simple
H bridge…quite involved though. The other option is to reverse the
connections to the motor using an DPDT switch. I’m not sure where the
variable resistor comes in other than to change the speed of the motor…

Here are some google fu results which may be of some help…

http://library.solarbotics.net/circuits/driver_4varHbridge.html

http://www.eleccircuit.com/basic-how-to-use-h-bridge-motor-driver-using-bipolar-transistor/

If you need more help…let me know

Cheers

Alex

On 16 October 2014 21:57, Dave Potts dave@goopot.co.uk wrote:

Hi,

The kids and I have taken apart a broken toy remote control and found a
0-10K ohm variable resistor. The request was for then to attach it to an
electric motor to make a car go forwards and backwards. We can make the car
go forwards faster or slower based on the state of the resistor. The
question is how do we make it reverse the motor based on the variable
resistor?

Being a software guy I’m tempted to jump to an micro-controller solution
that watches the voltage change as that resistor changes and separately
drives the motor either forwards or backwards. That feels a little
over-kill. Is there a bread-board-circuit type solution for doing the same?

My google-foo is letting me down.

Thanks,

Dave.


You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.

Hi
I’m currently converting some old toys into rc toys using arduino.

I’m using this ic for direction and speed control.

Best regards
KevinOn 18 Oct 2014 23:47, “Jim MacArthur” jim@mode7.co.uk wrote:

Hi Dave, speaking as someone who’s built a motor controller and
watched it go up in flames, literally, I’d recommend the first type
(Steve Bolt’s design). The design on eleccircuit.com is perfectly
valid but if you accidentally turn on A and B at the same time it will
short-circuit through the transistors.

Another approach is to use a DPDT relay to reverse direction, as in

http://www.me.umn.edu/courses/me2011/arduino/technotes/dcmotors/bidirectional/bidirMotor.html
.
This is also impossible to short circuit (assuming you wire it
correctly!)

Jim

On 18 October 2014 09:01, Dave Potts dave@goopot.co.uk wrote:

Super. Thanks Alex. Looking at the circuit on the car I think they used
microcontroller style brains to make it work. I think we’ll have a go
at a
H bridge and then maybe plug it into an Arduino later on.

Dave.

On 16 Oct 2014 22:58, “Alexander Lang” alexanderlang1980@gmail.com wrote:

Dave,

You need to implement a simple H Bridge or switches in order to make a
DC

motor go forwards and backwards. You have to reverse the connections
to the

DC motor in order to make it change direction. If you have access to 4x
transistors and a breadboard and some hookup wire you can implement a
simple

H bridge…quite involved though. The other option is to reverse the
connections to the motor using an DPDT switch. I’m not sure where the
variable resistor comes in other than to change the speed of the
motor…

Here are some google fu results which may be of some help…

http://library.solarbotics.net/circuits/driver_4varHbridge.html

http://www.eleccircuit.com/basic-how-to-use-h-bridge-motor-driver-using-bipolar-transistor/

If you need more help…let me know

Cheers

Alex

On 16 October 2014 21:57, Dave Potts dave@goopot.co.uk wrote:

Hi,

The kids and I have taken apart a broken toy remote control and found a
0-10K ohm variable resistor. The request was for then to attach it to
an

electric motor to make a car go forwards and backwards. We can make
the car

go forwards faster or slower based on the state of the resistor. The
question is how do we make it reverse the motor based on the variable
resistor?

Being a software guy I’m tempted to jump to an micro-controller
solution

that watches the voltage change as that resistor changes and separately
drives the motor either forwards or backwards. That feels a little
over-kill. Is there a bread-board-circuit type solution for doing the
same?

My google-foo is letting me down.

Thanks,

Dave.


You received this message because you are subscribed to the Google
Groups

“Hackspace Manchester” group.
To unsubscribe from this group and stop receiving emails from it, send
an

email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google
Groups

“Hackspace Manchester” group.
To unsubscribe from this group and stop receiving emails from it, send
an

email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send an email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.

If you’re going down the microcontroller route and h-bridges, this
circuit was my first foray into bi-direction motor control:

http://www.mcmanis.com/chuck/robotics/tutorial/h-bridge/bjt-bridge.html

With 3 control lines (forward, reverse, enable) that you can control in
any of the arrangements without any dangerous conditons and because it’s
completely opto-isolated from the control circuit, so it’s fairly robust.

PatrickOn 19/10/14 10:06, Kevin Conroy wrote:

Hi
I’m currently converting some old toys into rc toys using arduino.

I’m using this ic for direction and speed control.
http://web.ics.purdue.edu/~fwinkler/616/sn754410_Arduino.pdf
http://web.ics.purdue.edu/~fwinkler/616/sn754410_Arduino.pdf

Best regards
Kevin

On 18 Oct 2014 23:47, “Jim MacArthur” <jim@mode7.co.uk mailto:jim@mode7.co.uk> wrote:

Hi Dave, speaking as someone who's built a motor controller and
watched it go up in flames, literally, I'd recommend the first type
(Steve Bolt's design). The design on eleccircuit.com
<http://eleccircuit.com> is perfectly
valid but if you accidentally turn on A and B at the same time it will
short-circuit through the transistors.

Another approach is to use a DPDT relay to reverse direction, as in
http://www.me.umn.edu/courses/me2011/arduino/technotes/dcmotors/bidirectional/bidirMotor.html.
This is also impossible to short circuit (assuming you wire it
correctly!)

Jim



On 18 October 2014 09:01, Dave Potts <dave@goopot.co.uk <mailto:dave@goopot.co.uk>> wrote:
> Super. Thanks Alex. Looking at the circuit on the car I think
they used
> microcontroller style brains to make it work.  I think we'll
have a go at a
> H bridge and then maybe plug it into an Arduino later on.
>
> Dave.
>
> On 16 Oct 2014 22:58, "Alexander Lang" <alexanderlang1980@gmail.com <mailto:alexanderlang1980@gmail.com>> wrote:
>>
>> Dave,
>>
>> You need to implement a simple H Bridge or switches in order to
make a DC
>> motor go forwards and backwards.  You have to reverse the
connections to the
>> DC motor in order to make it change direction.  If you have
access to 4x
>> transistors and a breadboard and some hookup wire you can
implement a simple
>> H bridge...quite involved though.  The other option is to
reverse the
>> connections to the motor using an DPDT switch.  I'm not sure
where the
>> variable resistor comes in other than to change the speed of
the motor...
>>
>> Here are some google fu results which may be of some help....
>>
>> http://library.solarbotics.net/circuits/driver_4varHbridge.html
>>
>>
>>
http://www.eleccircuit.com/basic-how-to-use-h-bridge-motor-driver-using-bipolar-transistor/
>>
>> If you need more help...let me know
>>
>> Cheers
>>
>> Alex
>>
>> On 16 October 2014 21:57, Dave Potts <dave@goopot.co.uk <mailto:dave@goopot.co.uk>> wrote:
>>>
>>> Hi,
>>>
>>> The kids and I have taken apart a broken toy remote control
and found a
>>> 0-10K ohm variable resistor.  The request was for then to
attach it to an
>>> electric motor to make a car go forwards and backwards.  We
can make the car
>>> go forwards faster or slower based on the state of the
resistor.  The
>>> question is how do we make it reverse the motor based on the
variable
>>> resistor?
>>>
>>> Being a software guy I'm tempted to jump to an
micro-controller solution
>>> that watches the voltage change as that resistor changes and
separately
>>> drives the motor either forwards or backwards. That feels a little
>>> over-kill.  Is there a bread-board-circuit type solution for
doing the same?
>>>
>>> My google-foo is letting me down.
>>>
>>> Thanks,
>>>
>>> Dave.
>>>
>>> --
>>> You received this message because you are subscribed to the
Google Groups
>>> "Hackspace Manchester" group.
>>> To unsubscribe from this group and stop receiving emails from
it, send an
>>> email to hacman+unsubscribe@googlegroups.com
<mailto:hacman%2Bunsubscribe@googlegroups.com>.
>>> To post to this group, send email to hacman@googlegroups.com
<mailto:hacman@googlegroups.com>.
>>> Visit this group at http://groups.google.com/group/hacman.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the
Google Groups
>> "Hackspace Manchester" group.
>> To unsubscribe from this group and stop receiving emails from
it, send an
>> email to hacman+unsubscribe@googlegroups.com
<mailto:hacman%2Bunsubscribe@googlegroups.com>.
>> To post to this group, send email to hacman@googlegroups.com
<mailto:hacman@googlegroups.com>.
>> Visit this group at http://groups.google.com/group/hacman.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the
Google Groups
> "Hackspace Manchester" group.
> To unsubscribe from this group and stop receiving emails from
it, send an
> email to hacman+unsubscribe@googlegroups.com
<mailto:hacman%2Bunsubscribe@googlegroups.com>.
> To post to this group, send email to hacman@googlegroups.com
<mailto:hacman@googlegroups.com>.
> Visit this group at http://groups.google.com/group/hacman.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to hacman+unsubscribe@googlegroups.com
<mailto:hacman%2Bunsubscribe@googlegroups.com>.
To post to this group, send an email to hacman@googlegroups.com
<mailto:hacman@googlegroups.com>.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google
Groups “Hackspace Manchester” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to hacman+unsubscribe@googlegroups.com
mailto:hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com
mailto:hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.