Ir comunication to send messages

Hi, I'm a begginner in electronics. I'm trying to make this project: https://www.instructables.com/Arduino-Encoded-and-Modulated-Laser-and-Infrared-S/
I was wondering if there's any reason why this shouldn't work using ir transmitter and receiver modules instead of the laser and the photodiode.
The project states that this should also work with a visible light led and a photodiode but i don't understand why not with ir.
I tried using this ir receiver module (picture), i can see it receives something from the flashing of the module's led but nothing is printed in the serial monitor.


I'm really a noob so sorry if it's a stupid question or if it's something that just doesn't make sense.

These modules only react on a carrier frequency of about 38kHz. Use the IRremote library to produce such signals.

You can use any light wavelength for communication with matching sender and receiver diodes - consult the data sheets. A modulated signal (with carrier frequency) can be used to suppress ambient light.

1 Like

Thank you, I will try this!

IR remote control library

IR decoder library

I got those from here, there are more.

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