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.
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?).