Operating a DC Motor Clockwise/Anticlockwise with a Single Switch

The following post discusses the wiring connections for driving a DC motor in clockwise and anticlockwise directions with the help of a single toggle switch and a relay circuit. The idea was requested by one the interested followers of this blog. Let's learn more:

Technical Specifications

We have our project in school.

Our professor asks us to design a transistor together with a relay that allows a motor to rotate clockwise and then , a switch will be press , then will rotate counter-clockwise.

Thanks in advance.

The Design

A DC motor can be very simply rotated both ways in clockwise as well as in anticlockwise directions by flipping the supply inputs to it.

However the above reversing requires flipping of both of its wire polarity with the connected supply.
Therefore it cannot be done by using a single relay or switch.

However by using a couple of relays, a single switch operation becomes feasible for toggling the connected DC motor in both directions.

The following circuit shows the wiring details of the relay with the motor which is controlled by a transistor driver stage.

On switching power ON, the motor starts rotating in either clockwise or anticlockwise direction depending upon the wire polarity of the motor.

When SW1 is pressed, the direction gets instantly reversed and continues until S1 is switched OFF.

Actually the transistor stage is not required here, the implementation could be done simply with the relays and SW1.
More simply, the whole operation can be conducted using ordinary DPDT toggle switches.



Need Help? Please send your queries through Comments for quick replies!


Hello i'm a real noob when it comes to electronics :p Can this motor go counterclockwise to iff I use a DPDT switch? I need a mini motor for a cosplay project so it can spin both clock and counterclockwise.
Ooh god you dont need to approve my previous message. I was on the wrong page. I thought I was on the buying page. Sorry for the trouble :p
MAnoj Cracked said…
Can you please tell me where to connect those relays ... I mean are they directly connected to 12v DC supply...??
Swagatam said…
yes both the relay coils are connected between +12V and the transistor collector
Swagatam said…
it's for protecting the transistor from relay coil back EMF
Kousik Singha said…
Hii sir, please help me how i can make automatic rain sensing wiper motor control using 555 timer ic
Swagatam said…
Hi Kousik, you can refer to the following article

Pavan said…
pls guide which relay make use for clockwise and anticlockwise for single phase motor(230V).
its very urgent
Swag said…
sorry, I am not sure how an AC motor may be rotated in both directions.

Contact me for Customized Circuits


Email *

Message *

 Follow on G+  Follow on Facebook   Follow on Tweeter  Follow on G+  Follow on G+