Elegoo IR Receiver - unexpected output

Hey folks,

After a looong break from Arduino a friend asked if I could help with a project, so here we are ... :slightly_smiling_face:

To start from a clean slate I've bought a Uno 4 WIFI (genuine), and the Elegoo 37 Sensor Kit, to get a few sensors to play with, and the kit includes a 38khz IR sensor (type 1838 if that helps).

I've also installed installed IDE 2.3.2, and Version 4.4 of the IR Remote libraries.

After playing around with the example sketches that come with the library and getting nowhere yesterday evening, I've gone back to the simplest sketch and setup I can find, the "ReceiveDump.ino", and grabbed the remote from the Samsung TV.

The sketch compiles and uploads perfectly, as you would expect, and when I aim the remote at the sensor both the LED on the small Elegoo receiver board and the LED on the Uno 4 flash merrily, so obviously the signal is getting to the Arduino.

However, the only output I see is the following on the Serial Monitor. I have also looked at the ReceiveDump.log in the example folder, but that's an empty file.

��'V���i���k�c_���kFk��ƮRL))L
�HHmH-v>9)))))���'V���i���k#c_��kkkkkk��FJ#�N��F�ߥ�mm%)v>9)))9)���'R��ƌ���c_��kFkkD��Ǯ#RL
�H%��#NG\<�)9)�))��'V���i��k�F�_��ZkBkkk��Ʈ)NL
�i%�H��\<�99�9�����KgLj�
�
�iL�L����Lk��kkkk��kk�ڌ��H���#LR��Z����%HmmHHm%)H

So, any pointers to get me back on track would be very much appreciated ... :beers:

In the absence of a sketch, all I can ask is what baud rate is the sketch setting the Serial object to, and what baud rate is the Serial Monitor set to?

1 Like

Yes that looks like a baud rate mismatch to me as well.

It is a long time since you last posted, so it is best if you have a read of 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.

This link tells you what you need to supply for a satisfactory answer. Normally this is your full code and a schematic of how it is wired up. Hand drawn is fine, Fritzing physical layout diagrams and pictures of the component linked with lines are not acceptable.

Yes it helps, note that you normally need power supply decoupling as well, as shown in that part's data sheet.

Apparently Elegoo supply an RFID sensor with their kits which don't work correctly.

1 Like

Thank you very much for that.

I knew that it was going to be a simple problem, but checking the baud rate didn't cross my mind.

The code was setting the rate at 115200, but the serial monitor was set at 9600, hence the problem ... :roll_eyes:

The person who says they've never made a dumb mistake never made anything. We've all been there. :slight_smile:

1 Like

Thanks Mike, as you suggest, I'll go back and remind myself of the How to ... :+1:

With respect to the Elegoo RFID sensor, I have also found a Vishay TSOP38238 in amongst the old kit, so again, I'll take your advice and I'll wire that up with a power supply decoupling cap as shown on the datasheet.

Again, thanks ... :slightly_smiling_face: