IR Remote and motor L293D not working

Hey everyone,

I'm encountering a problem using the IRremote library with my project. The setup can initiate the motor and the feedback LED blinks as expected. However, once the motor starts, the IR remote becomes unresponsive, and I can't stop the motor. Additionally, the feedback LED stops functioning. Interestingly, everything returns to normal functionality when I disconnect the motor while it's running.

Could the motor be generating noise that interferes with the IR receiver's ability to read the signal? Has anyone else experienced similar issues with IR remotes when motors are running?

Thanks in advance for any insights!

BTW : The motor is a cheap 130 model.

You might want to look at this How to get the best out of this forum before you proceed any further.
We only know what you tell us, and without knowing what you have, we don't stand a chance.

So post your schematic and code like the above link tells you how to do.

It is probable that your code is not written in the correct way.

1 Like

RTFM :slight_smile: Arduino-IRremote/Arduino-IRremote

1 Like

Indeed, I have read it at first but didn't realize it was the analogWrite. So I guess it's not possible to control a motor with the remote since the motor needs analogWrite.

I'll check for another library

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.