Prroblem with a uno r3 and an IR Receiver

I'm trying to connect an ir receiver with an arduino uni r3, but I can't get it work.
I've tested my code in wokwi, there it works, but on my board it doesn't.

I've checked every whire, ports, but I can't receive a signal from the IR remote.

How can I check what went wrong?

Are you using an Arduino Uno R3 as in your description and on Wokwi or an Arduino Uno R4 (Minima or WiFi) as the topic title indicates?

sorry, my mistake, I use a r3, as described and used in the simulation.

1 Like

Bad wiring, bad remote, receiver and transmitter have different frequency...?

thanks for the advices, the wiring I checked several times, they are ok, I changed the cable, too to check, if one is broken.
remote and receiver was bought as a set, so normally it should work together.

But how can I check the receiver and how the transmitter? Are there any ways to see, what the transmitter sends? or how can I check, if the receiver gets any information?

First verify what is the library you're using on IDE library manager.
Mine is IRremote from shirriff et al. (version 4.4.1.) which I recommend you to be used.

Make sure you have that one, then open the example "ReceiveDump" (check the receiver pin in "PinDefinitionsAndMore.h", defgault is 2) and run it.
If nothing appears, it isn't a library or code problem, it's something else like a bad receiver or remote (are you sure you removed the plastic tab from the battery?).

You can see the remote transmitter pulse through android phone camera. Dim purple light.

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