Lesson 29 DC Motor

From this lab, we try to control the small DC motor with an uno R3 and a transistor, first,we use the following components:

1 X Elegoo Uno R3,

1 X 830 tie-points breadboard

1 X L293D IC

1 X Fan blade and 3-6v motor

1 X M-M wires (Male to male jumper wires)

1 X Power Supply Module

1 X 9V1A adapter

We used the following code

The code control the DC motor with different speed and frequency.

The finally connect situation pictures

Leave a comment