-
I have connected a TSOP4838 as follows: Pin 1 -> GPIO34 In NVS set_GPIO I have: 34=ir:nec Is this correct? I can't get it to work. I've swapped in a known working module from another project in case my soldering is to blame, tried a few different GPIO pins but nothing so far so I suspect it is this line in NVS. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
If it's any help, I'm measuring 3.3V on pin 1 as well as pin 3, which possibly indicates that it is connected correctly - the datasheet indicates that the output signal goes low at 250mV, but there's no response in LMS when a button is pressed. I don't have a scope so can't test. I'm using a Logitech Classic remote. LMS server settings is checked for slim_devices_remote and jvc_dvd. |
Beta Was this translation helpful? Give feedback.
-
Ah, ok. If I take out the :nec, it works. Is this a bug? |
Beta Was this translation helpful? Give feedback.
-
I'll have to let @philippe44 answer this one |
Beta Was this translation helpful? Give feedback.
-
I don't know... I can't reproduce and it seems that others can't either. Looking at the code, I don't see a potential issue and that's a few lines. I also don't quite understand your comment on the issues list #291 (comment). |
Beta Was this translation helpful? Give feedback.
-
@philippe44 It's a byte dump organized by 16 bits packets take 2 bytes, the LSByte is first so swap them the 1st bit (MSbit) is the value read by the IR receiver, inverted This is a proper NEC header pattern. To analyze, chatGPT can be your friend. Something like "Take each segment in hexadecimal, assemble them by 2 to form a 16 bits value. Swap bytes. Take MSB, invert it, that's value. Take 15 LSB, that's duration in µs". And be careful, chatGPT spews a lot of crap as well. Dear philippe44 ! |
Beta Was this translation helpful? Give feedback.
-
Hello |
Beta Was this translation helpful? Give feedback.
Well, maybe 99999% sure! Definitely with reboots but I do have an insanely bad juju in my house. Just a change in wind direction can have the oddest of effects and remember the issues I was having with the rotary encoder button! I must have been evil in a previous life and I'm paying for it with bad karma. It all works now so I just want to get it all stuffed into the case and sort out the rear panel.