Skip to content

Latest commit

 

History

History
17 lines (8 loc) · 377 Bytes

File metadata and controls

17 lines (8 loc) · 377 Bytes

Make DC motor move by using Arduino.

As you can see in the file, when we hold the button, the motor will move clockwise due to the right relay, and then counterclockwise due to the left relay.

To build the circuit, I used:

  • Arduino board.

  • DC motor.

  • Button for the DC motor.

  • Two relays (instead of L298 motor driver).

  • Two 2N2222 transistors for the relays.