Introduction: Electronic DC Motor Starter Using Microcontroller

Hi friends, This is Anto. In this video, you are going to learn, how to construct a DC motor starter using the atmega microcontroller on the Arduino.

Supplies

I strongly suggest you to buy the components from UTSource.net. because they are providing reliable components with good quality and with affordable prize. I also suggest them for the ON TIME DELIVERY.

Materials Required:-

Arduino Uno 1 x 1

PC817 1 x 1

IRF9530 1 x 1

push button 1 x 2

10 k resistor 1 x 3

100E resistor 1 x 1

DC Motor 1 x 1

1n4007 1 x 1

Bicolour LED 1 x 1

BreadBoard 1 x 1

Step 1: Connect the Optocoupler in the Breadboard

The optocoupler has 4 pins. 2 pins on each side. you have to connect the optocoupler between two sections. Pin 1 and 2 have been given with the pwm from the microcontroller. other side is used to drive the motor.

Step 2: Connect the 9th Pin From Arduino to the 1st Pin of Optocoupler Via 100 Ohm Resistor

connect the 9th pin of the arduino board to the optocoupler. because 9th pin have the PWM peripheral.

connect the ground pin from the arduino to the 2nd pin of the optocoupler. I have given the vcc and ground from the arduino board to the breadboard first row. then i connect the ground using the red jumper wire as in the picture.

connect the circuit as per the circuit diagram.

Step 3: Connect the Mosfet With the Optocoupler.

connect the mosfet to the optocoupler . because the MOSFET is going to drive the motor. because the motor need +12 to run. so that the needed power to the motor is driven through the MOSFET. connect carefully as per the circuit.

connect the motor to the drain of the MOSFET.

Step 4: Connect the Flywheel Diode Across the Motor

To avoid reverse current, place a flywheel diode across the motor. A flyback diode is a diode connected across an inductor used to eliminate flyback, which is the sudden voltage spike seen across an inductive load when its supply current is suddenly reduced or interrupted. so the diode is the most important component.

Step 5: Connect 10K Across the 4th Pin of the Optocoupler and the External +12v

The External +12v is passed through the optocoupler to the Motor. so we have to place the 10K resistor across it.

Step 6: Connect 2 Push Bottons to One End to Ground and Another End to D2 and D3 of the Arduino Board

Connect the push button the switch ON and OFF the motor. when you press the ON Button the motor starts slowly.

when you push the OFF button, the motor stops slowly.

Step 7: Finally Give External +12v to the Motor Side and Switch ON the Arduino Board.

Switch ON the hardware. Download the given code. test the hardware as when you push the ON button, you can see the motor runs slowly and attains the maximum speed. similarly when you push OFF the button, the motor will stop slowly. enjoy with the tech..

Attachments