IR remote, infrared sensor and control

Hi! I have a problem with my infrared sensor and control.

I want to control a servo with my control.
To test and see the values that the sensor receives, i use the serial monitor, but different values appear even when i am not pressing any.

I upload my photos, i hope you can help me.
(And i also hope the google translator worked fine🤣)

Do you have CFL (compact fluorescent lamp) lamps on? Some models have IR radiation, which affects devices with IR remote controls.

1 Like

I will check that, thanks!:purple_heart:

This is a common problem. Check the Project Hub page about using an IR remote with the serial monitor. People got help and got it fixed there.

1 Like

I update.

The code in the photo works correctly, and the values ​​it receives are fine. The problem starts when I want to add other components, for example a servo motor.

I upload the photo of the code that fails me, when I add the servo motor.

Thanks!

This sounds like a power problem. Don't power servos from an Arduino unless that is the ONLY thing connected and you are NOT putting stress on them.

1 Like

I take the servo out of the protoboard and connect it directly to the pins of the arduino, it seems to work now ... I love you.

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