Page 2 of 2

Posted: Sun Dec 26, 2010 7:02 pm
by javier
¡¡¡Oh my God!!!
This weekend, my wife gave me a present: It is a HD DVB, USB Media player and recorder with Timeshift and DVD combo set.
Do you guess?
YES. It is a IR protocol NEC Device ID 0.
This is my third device in the same room with this protocol.
THIS IS A NIGHTMARE.
My 14 inches TV, the HDMI matrix, and the DVD HD DVB combo set, all three work with the same remote.
How to fix it?
This time, probably I will program my oneforall with device ID 123 instead of ID 0, and I will try to use a PIC chip inside the DVD combo, at the output of the IR receiver module, to change back the device ID to 0 again.
I have some experience programming PIC 12F629.
If you know where to find source code to do that, any help will be apreciated.
Thank you.

Posted: Mon Dec 27, 2010 9:07 am
by underquark
javier wrote:YES. It is a IR protocol NEC Device ID 0.
Welcome to the curse of the NEC1, Dev0 protocol. It was, AFAIK, initially released as a free or open-source IR protocol for testing but has been hijacked for thousands of (usually lower-end) kit now.

Posted: Wed Jan 12, 2011 1:56 am
by javier
Decided. I am going to build a program for PIC12F629, to receive a NEC Protocol with Device ID 192, and send it in real time, but updated to Device ID 0.
So, I will program my JP1 remote with the original codes but in Device ID 192 instead of 0.
The PIC chip will be connected inside the device, in the middle of the signal between de IR Module and its main board, and when received will convert back to 0 again.

It's no so easy as could be appears, because I want this fix to work in real time, and changing bits in NEC protocol means to work in a domain time, since bit 1 and bit 0 have different timings.

I will put a link to the PIC code when finished and tested.
This is a very cheap and effective solution to the problem of several devices working with NEC Device ID 0.

Posted: Tue Feb 01, 2011 1:15 am
by javier
The program for PIC12F629 has been completed, and tested.
This program receives a NEC Protocol with Device ID 192, and send it in real time, but updated to Device ID 0.
So, you must program your JP1 remote with the original codes but in Device ID 192 instead of 0.
The PIC chip will be connected inside the device, in the middle of the signal between de IR Module and its main board, and when received will convert back to 0 again.

Input signal to the chip, from IR Module must be connected to GP0 (Pin 7) and Output signal from the PIC to the mainboard of the device must be connected to GP1 (Pin 6).

This is a very cheap and effective solution to the problem of several devices working with NEC Device ID 0.

And here's the .HEX code:
https://www.hifi-remote.com/forums/dload ... le_id=9419

Greetings.