Lesson 32 controlling stepper motor with remote

In the lad, we use the remote to control the stepper motor with two different buttons to control stepper motor run different ways.

We used the following components:

1 X Elegoo Uno R3

1 X 830 tie-points breadboard

1 X IR receiver module

1 X IR remote

1 X ULN2003 stepper motor driver module

1 X Stepper motor

1 X Power supply module

1 X 9V1A Adapter

9 X F-M wires / 1 X M-M

We add a receiver and a remote from last lab. We use the following code, these could help the remote to control the run way of the stepper motor.

The code give remote could control the stepper motor with two buttons. When push the VOL+, the stepper motor goes right way, and if we push the VOL-, then the stepper motor goes left way.

The final connection situation.

Leave a comment