IR NEC Remote ID # 389

Breakout boards, sensors, Drawdio, Game of Life, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

IR NEC Remote ID # 389

Postby Dustinjan10 » Wed Nov 07, 2012 4:16 pm

Hello,

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 adafruit.com 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.
Attachments
212.jpg
212.jpg (47.86 KiB) Viewed 926 times
Dustinjan10
 
Posts: 1
Joined: Wed Nov 07, 2012 3:58 pm

Re: IR NEC Remote ID # 389

Postby adafruit » Sat Nov 10, 2012 9:22 pm

what's the exact data you're reading out?
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: IR NEC Remote ID # 389

Postby cyborg5 » Thu Dec 13, 2012 3: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.
http://www.hifi-remote.com/johnsfine/DecodeIR.html

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.
cyborg5
 
Posts: 32
Joined: Tue Apr 24, 2012 3:13 pm


Return to Other Adafruit products

Who is online

Users browsing this forum: 2rockon and 9 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]