PIC IR remote code generator for Humax cable receiver
I coded a PIC 18F14K22 to generate IR codes for the Humax IRHD 5100C/NL cable receiver (ziggo Netherlands).
This so I can set the channel and on / off from the PC driving that PIC from a USB to serial adaptor. and record on the PC with my mpeg encoder card. Seems to work 100% now, had to hack the freaking codes first. Timing is everything.
Anyone interested? Let me know.
If you want to do your own: the Humax address seems to be 2 bytes 0, 16 decimal, format is NEC codes, data is one byte and then one byte complement, lsb first, carrier is 38 kHz.
The following I found: data meaning 0 on / off
15 ch down 16 ch up 1-0 numbers 3-12 OK 19 (is ENTER)Logic Mr Spock ???
Done all timing with nops....
Had to make an IR code reader first, just an IR diode into the base of a NPN, sampled by the PC from the parport. That rectifies the 38 kHz (because of slow speed) and you get zeros and ones, decoding by hand is then easy (well apart from the Linux task switch interfering, but didit).
So 4 bytes all together, gives you 2^32 ways to do it wrong :-)
Hacking is fun.