Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.

IR NEC Remote ID # 389
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

IR NEC Remote ID # 389

by Dustinjan10 on Wed Nov 07, 2012 5:16 pm


I was wondering if you could help me solve a question I have. Below is an image of the VOL + botton on a small NEC remote I have.

I got this by hooking my oscilloscope probe to the Output of my IR receiver. I am trying to bring this signal/code into my PIC18F4550.

They say NEC first sends the address then the inverted address. But if you look above the first is all zeros and the second is not the invert of that. I am so lost!!!
The command is being inverted though.

I bought this remote from with the matching 38khz IR receiver. They say it sends signals 0-26 to address #0, skipping #3, #7, #11, #15 # 19 and #23. How do I get any of that from what is displayed below.

Thank you so much for your help.
212.jpg (47.86 KiB) Viewed 1979 times
Posts: 1
Joined: Wed Nov 07, 2012 4:58 pm

Re: IR NEC Remote ID # 389

by adafruit on Sat Nov 10, 2012 10:22 pm

what's the exact data you're reading out?

Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: IR NEC Remote ID # 389

by cyborg5 on Thu Dec 13, 2012 4:39 pm

The specifications for NEC has eight bits of device code followed by eight bits of sub device code followed by the function code followed by the binary inverse of the function code. You've got your items labeled incorrectly. It's not address, inverse address, function, inverse function. It should be address, sub address, function, inverse function. My favorite listing of protocol descriptions is that this site.

The notation is hard to learn but once you understand it it describes what more different protocols than any other reference I've ever seen.

Posts: 69
Joined: Tue Apr 24, 2012 4:13 pm

Please be positive and constructive with your questions and comments.