Category: Arduino


IRCodes Samsung Navibot

To Control my Samsung Navibot over a WebInterface i recorded the IR commands send by the remote control:

Raw:

Power
818100FF (32 bits)
Raw (68): -1900 4600 -4200 700 -1500 650 -450 600 -500 600 -500 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 550 -550 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 550 -550 550 -550 500 -600 500 -1650 550 -1650 550 -1650 550 -1650 500 -1650 550 -1650 550 -1650 550 -1650 500 

Recharging
8181807F (32 bits)
Raw (68): 11232 4450 -4400 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 500 -600 500 -1650 550 -1650 550 -550 550 -550 550 -550 550 -550 500 -600 500 -550 550 -1650 550 -1650 550 -550 550 -550 500 -600 500 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 550 -1650 500 -1650 550 -1650 550 -1650 550 -1650 500 -1650 550 

Auto
818140BF (32 bits)
Raw (68): 27038 4450 -4400 550 -1650 500 -600 500 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 550 -550 500 -1700 500 -550 550 -1650 550 -550 550 -550 550 -550 550 -550 500 -600 500 -550 550 -1650 550 -550 550 -1650 550 -1650 500 -1650 550 -1650 550 -1650 550 -1650 500 

Spot
8181C03F (32 bits)
Raw (68): -16684 4400 -4400 550 -1650 550 -550 500 -600 500 -600 500 -550 550 -550 550 -550 550 -1650 550 -1650 500 -600 500 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1700 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 500 -600 500 -550 550 -550 550 -1650 550 -1650 550 -1650 500 -1650 550 -1650 550 -1650 550 

Max
818120DF (32 bits)
Raw (68): -27270 4450 -4400 500 -1700 500 -550 550 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 500 -600 500 -1650 550 -550 550 -550 550 -1650 550 -550 550 -550 500 -600 500 -550 550 -550 550 -1650 550 -1650 500 -600 500 -1650 550 -1650 550 -1650 550 -1650 500 -1650 550 

Up
8181A05F (32 bits)
Raw (68): 31524 4450 -4400 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 550 -550 500 -1700 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 500 -600 500 -1650 550 -1650 550 -550 550 -1650 550 -550 500 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 550 -550 500 -1650 550 -1650 550 -1650 550 -1650 500 -1650 550 

Left
8181609F (32 bits)
Raw (68): -6384 4450 -4400 550 -1650 500 -550 550 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 550 -550 500 -1650 550 -550 550 -1650 550 -1650 550 -550 500 -600 500 -600 500 -550 550 -550 550 -1650 550 -550 550 -550 550 -1650 500 -1650 550 -1650 550 -1650 550 -1650 500 

Right
8181E01F (32 bits)
Raw (68): -27984 4450 -4400 550 -1650 500 -550 550 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 550 -550 500 -1650 550 -1650 550 -1650 550 -1650 550 -550 500 -600 500 -550 550 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -1650 550 -1650 550 -1650 500 

Start/Stop
818110EF (32 bits)
Raw (68): 31588 4450 -4350 550 -1650 550 -550 550 -550 550 -550 500 -600 500 -600 500 -550 550 -1650 550 -1650 550 -550 550 -550 550 -550 500 -600 500 -550 550 -550 550 -1650 550 -550 550 -550 550 -550 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -1650 550 -1650 500 -1650 550 -550 550 -1650 550 -1650 500 -1650 550 -1650 550 

Manual
8181906F (32 bits)
Raw (68): -20226 4600 -4200 750 -1450 750 -350 700 -400 700 -400 650 -450 600 -500 600 -500 550 -1650 550 -1650 500 -550 550 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -1650 550 -550 550 -550 500 -600 500 -550 550 -550 550 -1650 550 -1650 550 -550 500 -1650 550 -1650 550 -1650 550 -1650 550 

Edge
818150AF (32 bits)
Raw (68): -17184 4450 -4400 550 -1650 500 -600 500 -550 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 550 -550 500 -1700 500 -550 550 -1650 550 -550 550 -1650 550 -550 500 -600 500 -550 550 -550 550 -1650 550 -550 550 -1650 550 -550 500 -1650 550 -1650 550 -1650 550 -1650 500 

Timer/Daily
8181D02F (32 bits)
Raw (68): 26232 4450 -4350 550 -1650 550 -550 550 -550 550 -550 550 -550 500 -600 500 -600 500 -1650 550 -1650 550 -550 550 -550 550 -550 500 -600 500 -550 550 -550 550 -1650 550 -1650 550 -1650 500 -600 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -550 500 -600 500 -1650 550 -550 550 -1650 550 -1650 550 -1600 550 -1650 550 

Clock
818130CF (32 bits)
Raw (68): 26302 4450 -4400 500 -1650 550 -550 550 -550 550 -550 550 -550 500 -600 500 -600 500 -1650 550 -1650 550 -550 550 -550 550 -550 500 -600 500 -550 550 -550 550 -1650 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -550 550 -550 550 -1650 500 -1650 550 -550 550 -550 550 -1650 550 -1650 500 -1700 500 -1650 550 

As Variables:

unsigned int btn_power[68] =  { 4600, 4200, 700, 1500, 650, 450, 600, 500, 600, 500, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500 };
unsigned int btn_recharging[68] =  { 4450, 4400, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 1650, 550, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 550, 550, 1650, 550, 1650, 550, 550, 550, 550, 500, 600, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 550, 1650, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500, 1650, 550 };
unsigned int btn_auto[68] =  { 4450, 4400, 550, 1650, 500, 600, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 1700, 500, 550, 550, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 550, 550, 1650, 550, 550, 550, 1650, 550, 1650, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500 };
unsigned int btn_spot[68] =  { 4400, 4400, 550, 1650, 550, 550, 500, 600, 500, 600, 500, 550, 550, 550, 550, 550, 550, 1650, 550, 1650, 500, 600, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1700, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 550, 550, 550, 550, 1650, 550, 1650, 550, 1650, 500, 1650, 550, 1650, 550, 1650, 550 };
unsigned int btn_max[68] =  { 4450, 4400, 500, 1700, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 1650, 550, 550, 550, 550, 550, 1650, 550, 550, 550, 550, 500, 600, 500, 550, 550, 550, 550, 1650, 550, 1650, 500, 600, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500, 1650, 550 };
unsigned int btn_up[68] =  { 4450, 4400, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 1700, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 1650, 550, 1650, 550, 550, 550, 1650, 550, 550, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 550, 550, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500, 1650, 550 };
unsigned int btn_left[68] =  { 4450, 4400, 550, 1650, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 1650, 550, 550, 550, 1650, 550, 1650, 550, 550, 500, 600, 500, 600, 500, 550, 550, 550, 550, 1650, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500 };
unsigned int btn_right[68] =  { 4450, 4400, 550, 1650, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 550, 550, 500, 600, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500 };
unsigned int btn_start_stop[68] =  { 4450, 4350, 550, 1650, 550, 550, 550, 550, 550, 550, 500, 600, 500, 600, 500, 550, 550, 1650, 550, 1650, 550, 550, 550, 550, 550, 550, 500, 600, 500, 550, 550, 550, 550, 1650, 550, 550, 550, 550, 550, 550, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 550, 1650, 500, 1650, 550, 550, 550, 1650, 550, 1650, 500, 1650, 550, 1650, 550};
unsigned int btn_manual[68] =  { 4600, 4200, 750, 1450, 750, 350, 700, 400, 700, 400, 650, 450, 600, 500, 600, 500, 550, 1650, 550, 1650, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 1650, 550, 550, 550, 550, 500, 600, 500, 550, 550, 550, 550, 1650, 550, 1650, 550, 550, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 550 };
unsigned int btn_edge[68] =  { 4450, 4400, 550, 1650, 500, 600, 500, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 1700, 500, 550, 550, 1650, 550, 550, 550, 1650, 550, 550, 500, 600, 500, 550, 550, 550, 550, 1650, 550, 550, 550, 1650, 550, 550, 500, 1650, 550, 1650, 550, 1650, 550, 1650, 500 };
unsigned int btn_timer_daily[68] =  { 4450, 4350, 550, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 600, 500, 1650, 550, 1650, 550, 550, 550, 550, 550, 550, 500, 600, 500, 550, 550, 550, 550, 1650, 550, 1650, 550, 1650, 500, 600, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 1650, 550, 550, 550, 1650, 550, 1650, 550, 1600, 550, 1650, 550 };
unsigned int btn_clock[68] =  { 4450, 4400, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 500, 600, 500, 600, 500, 1650, 550, 1650, 550, 550, 550, 550, 550, 550, 500, 600, 500, 550, 550, 550, 550, 1650, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 550, 550, 550, 550, 1650, 500, 1650, 550, 550, 550, 550, 550, 1650, 550, 1650, 500, 1700, 500, 1650, 550};

Hope this helps anyone….

Hi,
if you receive the following Messages while restarting the NinjaBlock Service (stopninja && startninja)

/sys/devices/virtual/gpio/gpio23/value: No such file or directory

or

[System] Sun Jan  5 01:17:07 EST 2014 Flashing Arduino...Pass 1 Failed!
avrdude: stk500_getsync(): not in sync: resp=0xe0

or

`/sys/devices/virtual/gpio/gpio23/*': No such file or directory

Maybe your GPIO Pins are not exported any more…
The following command resolves the issues for me:

echo 23 > /sys/class/gpio/export