Report Bugs Here

Moderator: Mmiscool

User avatar
By dom53284
#60943 It is a VS1838B. It runs 3V3.

I tried with another just marked '1838' and with a 1K and a LED as pullup. The other had 10K. and no led.

Then it looks like this:
Decoded NEC: FF02FD (32 bits)
Raw (68): 9050 -4450 650 -550 650 -550 650 -550 650 -550 650 -550 650 -550 650 -550 650 -550 650 -1600 600 -1700 600 -1700 600 -1700 650 -1600 600 -1700 600 -1700 650 -1650 600 -600 650 -550 650 -550 650 -550 650 -550 650 -550 650 -1600 600 -600 650 -1600 600 -1700 600 -1700 600 -1700 650 -1600 600 -1700 600 -600 650 -1600 600


Now decoded as NEC, and all buttons start with "FF".

Raw, equal to the other, but a slight change in timing.

I try to wire it to run 5V...
User avatar
By bugs
#60944 Sorry - no help - tried with an old BASIC version 3.0 A31 in my ESP-11 and the NEC decode still worked ok.
(The ESP-11 is like an 01 but smaller)

:(
User avatar
By bugs
#60966 The data sheet for the VS1838B certainly looks fine but these people did have trouble with the sun!

https://www.analysir.com/blog/2014/12/08/infrared-receiver-showdown-tsop34438-vs-vs1838b-winner-revealed/

But anyway your raw data looks almost identical to that in your original post and certainly decodes (manually) to the same hex code.

Wish you continued successful progress...

:)
User avatar
By dom53284
#61050 Problem solved.

The sun was the bad guy, as suggested by bugs. Thank you. So i found a TSOP34838, which also was much more stable.

But there are still errors.

This is the output:
Decoded NEC: FF02FD (32 bits)
Raw (68): 9050 -4500 650 -550 650 -550 650 -550 650 -550 650 -550 650 -550 650 -550 650 -550 650 -1650 650 -1650 650 -1650 650 -1650 650 -1650 650 -1650 650 -1650 650 -1650 650 -550 650 -550 650 -550 650 -550 650 -550 650 -550 650 -1650 650 -550 650 -1650 650 -1650 650 -1650 650 -1650 650 -1650 650 -1650 650 -550 650 -1650 650
ff02fd

If i translate, it would be:
00000000 11111111 00000010 11111101

And from NEC-protocol
nec-protocol.png

MSB is Right-most, so the data should be turned around like:
00000000 11111111 01000000 10111111

Which gives '00FF40BF', as received from the YS-IRTM modul. (Except 'BF').

It will probably not cause problems, if program are written for a specific remote, but be aware about it.
You do not have the required permissions to view the files attached to this post.