Dc Motor Circuit Diagram Arduino. The wiper terminal of the pot is connected to the analog pin a0 of the arduino. Following is the schematic diagram of the dc motor interface to arduino uno board.
Four transistors are connected as shown in the circuit diagram. If you connect these two leads directly to a battery the motor will rotate. Prototype of arduino based dc.
The complete code for arduino dc motor control using potentiometer is given at the end.
The above diagram shows how to connect the l298 ic to control two motors. The other terminals are connected to vcc and gnd. Circuit diagram for arduino dc motor speed control using pwm is geven below. Following is the schematic diagram of the dc motor interface to arduino uno board.