Delete comment from: Ken Shirriff's blog
I have my Dish DVR 625 working using the Ken's library and irsend.
I made the following changes:
// IRremoteInt.h
#define DISH_HDR_MARK 525
#define DISH_HDR_SPACE 6045
#define DISH_BIT_MARK 440
#define DISH_ONE_SPACE 1645
#define DISH_ZERO_SPACE 2780
#define DISH_RPT_SPACE 6115
#define DISH_TOP_BIT 0x8000
// IRremote.cpp
void IRsend::sendDISH(unsigned long data, int nbits)
{
enableIROut(56);
mark(DISH_HDR_MARK);
space(DISH_HDR_SPACE);
for (int i = 0; i < nbits; i++) {
if (data & DISH_TOP_BIT ) {
mark(DISH_BIT_MARK);
space(DISH_ONE_SPACE);
}
else {
mark(DISH_BIT_MARK);
space(DISH_ZERO_SPACE);
}
data <<= 1;
}
mark(DISH_BIT_MARK);
space(DISH_RPT_SPACE);
}
I am also using the codes from http://lirc.sourceforge.net/remotes/dishnet/Dish_Network (Not my own work here)
I am sending the codes via URL and using these decimal codes:
Function Dish Binary Hex Decimal
info 0 0000-0000-0000-0000 0000 0
power_on 1 0000-0100-0000-0000 0400 1024
power 2 0000-1000-0000-0000 0800 2048
play 3 0000-1100-0000-0000 0C00 3072
1 4 0001-0000-0000-0000 1000 4096
2 5 0001-0100-0000-0000 1400 5120
3 6 0001-1000-0000-0000 1800 6144
page_down 7 0001-1100-0000-0000 1C00 7168
4 8 0010-0000-0000-0000 2000 8192
5 9 0010-0100-0000-0000 2400 9216
6 10 0010-1000-0000-0000 2800 10240
menu 11 0010-1100-0000-0000 2C00 11264
7 12 0011-0000-0000-0000 3000 12288
8 13 0011-0100-0000-0000 3400 13312
9 14 0011-1000-0000-0000 3800 14336
page_up 15 0011-1100-0000-0000 3C00 15360
select 16 0100-0000-0000-0000 4000 16384
0 17 0100-0100-0000-0000 4400 17408
cancel 18 0100-1000-0000-0000 4800 18432
guide 20 0101-0000-0000-0000 5000 20480
view 22 0101-1000-0000-0000 5800 22528
tv_vcr 23 0101-1100-0000-0000 5C00 23552
right 24 0110-0000-0000-0000 6000 24576
up 26 0110-1000-0000-0000 6800 26624
recall 27 0110-1100-0000-0000 6C00 27648
left 28 0111-0000-0000-0000 7000 28672
down 30 0111-1000-0000-0000 7800 30720
record 31 0111-1100-0000-0000 7C00 31744
pause 32 1000-0000-0000-0000 8000 32768
stop 33 1000-0100-0000-0000 8400 33792
sys_info 36 1001-0000-0000-0000 9000 36864
asterisk 37 1001-0100-0000-0000 9400 37888
pound 38 1001-1000-0000-0000 9800 38912
power_off 39 1001-1100-0000-0000 9C00 39936
sat 41 1010-0100-0000-0000 A400 41984
back 49 1100-0100-0000-0000 C400 50176
fwd 50 1100-1000-0000-0000 C800 51200
dish 52 1101-0000-0000-0000 D000 53248
skip_back 54 1101-1000-0000-0000 D800 55296
skip_fwd 55 1101-1100-0000-0000 DC00 56320
dish_home2 56 1110-0000-0000-0000 E000 57344
dvr 57 1110-0100-0000-0000 E400 58368
Aug 6, 2012, 2:48:01 PM
Posted to A Multi-Protocol Infrared Remote Library for the Arduino

