Académique Documents
Professionnel Documents
Culture Documents
Experiment No.-8
`
Experiment No.-8
Speed Control of DC Motor Using PWM H-Bridge converter
controlled by ARDUINO Microcontroller
2. Equipment required:
1. PMDC Motor (Permanent magnet)
2. PWM H-Bridge converter (Motor driver L298)
3. ARDUINO Microcontroller as a control unit with LCD and Keypad
4. Storage Oscilloscope
5. Power supply
ARDUINO Motor
Switches DC MOTOR
Microcontrolle Driver
r
- 40 -
6 Electric Drive-2 Laboratory
Experiment No.-8
`
Arduino UNO: is development kit works as the brain, has inputs, outputs and
processor execute the instructions that we give it by coding.
Motor driver L298: it have and H-Bridge circuit that can control motor right and left.
With speed control by PWM.
Liquid crystal display: it can display numbers, alphabetic and others by illuminate
some pixels and hide others.
4. Component details of the experiment
ARDUINO UNO Board
o Use digital IN/OUT pins to connect external devices, so we will connect the LCD
for a particular output pins.
o Use Analog pins to connect only input devices.
o Use USB to program the microcontroller by using the ARDUINO IDE.
o There are 3 ways to power the ARDUINO, use one why only to not damage the
board, so when use USB
- 41 -
6 Electric Drive-2 Laboratory
Experiment No.-8
`
LCD module
Switches schematics
- 42 -
6 Electric Drive-2 Laboratory
Experiment No.-8
`
L298 Driver
PWM
- 43 -
6 Electric Drive-2 Laboratory
Experiment No.-8
`
6. Results
1. The motor runs in forward / reverse using the microcontroller by using the H-
Bridge converter.
2. The motor speed can be controlled by using the microcontroller to control PWM
of the converter.
3. Almost the motor current is discontinuous at no-load and will be continuous by
loading the motor or by increasing the inductance.
7. Waveforms:
- 44 -
6 Electric Drive-2 Laboratory
Experiment No.-8
`
- 45 -