DC Motor Reversal Arduino and Relay and IR

Hi

 

Hi

With the project  'IR-Controlled-DC-Motor -using-Arduino'    (cannot get the link to paste )    it turns the motor on and off with movement.

How do I modify sketch to  reverse the direction of the motor and keep running ?  Using IR detector movement still.

 

Thankyou

Charles Harris

Wanting to reverse direction of motor with DPDT etc

  Joined February 28, 2022      1
Monday at 03:18 AM

I have encountered a similar problem recently, and I am trying to solve it

  Joined August 05, 2021      7
Thursday at 07:10 AM