Use a relay module to drive a DC motor.Elegoo Most Complete Starter Kit

Trouble With Elegoo Most Complete Starter Kit Lesson 30 relay

I want to use a relay module to run a DC motor, but it doesn't work. Please help me : '( : '(

Please tell me the correct Wiring diagram.

Relay.txt (1.06 KB)

1 Like

Why use a relay to turn the motor on and off when the enable pin on the L293 will do that. Digital write a LOW to the enable pin to turn the motor off and/or write LOW to both of the DIR pins.

A relay cannot be driven by an Arduino output. You will need a driver for the relay.

MOSFET and bipolar transistor relay drivers:

Is it to choose either L 293 or relay module?

That's good to know.