IR Code is not sending properly
Posted: Wed Sep 19, 2018 12:45 pm
Encoding : SAMSUNG
Code : B24D1FE0 (32 bits)
Timing[99]:
+4400, -4350 + 550, -1600 + 600, - 500 + 550, -1650
+ 550, -1600 + 550, - 550 + 550, - 500 + 600, -1600
+ 550, - 550 + 550, - 500 + 600, -1600 + 550, - 550
+ 550, - 500 + 600, -1600 + 550, -1600 + 550, - 550
+ 550, -1600 + 600, - 500 + 550, - 550 + 550, - 550
+ 550, -1600 + 550, -1600 + 600, -1600 + 550, -1600
+ 550, -1650 + 550, -1600 + 550, -1600 + 600, -1600
+ 550, - 550 + 550, - 500 + 550, - 550 + 550, - 550
+ 550, - 550 + 550, - 500 + 600, -1600 + 550, - 550
+ 550, - 500 + 600, -1600 + 550, - 550 + 550, - 500
+ 550, - 550 + 550, -1650 + 550, - 500 + 550, -1650
+ 550, -1600 + 550, - 550 + 550, -1600 + 550, -1650
+ 550, -1600 + 450
unsigned int rawData[99] = {4400,4350, 550,1600, 600,500, 550,1650, 550,1600, 550,550, 550,500, 600,1600, 550,550, 550,500, 600,1600, 550,550, 550,500, 600,1600, 550,1600, 550,550, 550,1600, 600,500, 550,550, 550,550, 550,1600, 550,1600, 600,1600, 550,1600, 550,1650, 550,1600, 550,1600, 600,1600, 550,550, 550,500, 550,550, 550,550, 550,550, 550,500, 600,1600, 550,550, 550,500, 600,1600, 550,550, 550,500, 550,550, 550,1650, 550,500, 550,1650, 550,1600, 550,550, 550,1600, 550,1650, 550,1600, 450}; // SAMSUNG B24D1FE0
unsigned int data = 0xB24D1FE0;
Encoding : SAMSUNG
Code : B24D7B84 (32 bits)
Timing[99]:
+4350, -4350 + 550, -1650 + 550, - 500 + 600, -1600
+ 550, -1600 + 550, - 550 + 550, - 550 + 550, -1600
+ 550, - 550 + 550, - 550 + 550, -1600 + 550, - 550
+ 550, - 550 + 550, -1600 + 550, -1600 + 600, - 500
+ 550, -1650 + 550, - 500 + 600, -1600 + 550, -1600
+ 550, -1650 + 550, -1600 + 550, - 550 + 550, -1600
+ 550, -1650 + 550, -1600 + 550, - 550 + 550, - 550
+ 550, - 500 + 550, - 550 + 550, -1600 + 600, - 500
+ 550, - 550 + 550, -1600 + 600, -1600 + 550, -1600
+ 550, - 550 + 550, - 550 + 550, - 550 + 550, - 500
+ 550, - 550 + 550, - 550 + 550, - 550 + 550, - 500
+ 600, -1600 + 550, -1600 + 550, -1650 + 550, -1600
+ 550, -1600 + 550
unsigned int rawData[99] = {4350,4350, 550,1650, 550,500, 600,1600, 550,1600, 550,550, 550,550, 550,1600, 550,550, 550,550, 550,1600, 550,550, 550,550, 550,1600, 550,1600, 600,500, 550,1650, 550,500, 600,1600, 550,1600, 550,1650, 550,1600, 550,550, 550,1600, 550,1650, 550,1600, 550,550, 550,550, 550,500, 550,550, 550,1600, 600,500, 550,550, 550,1600, 600,1600, 550,1600, 550,550, 550,550, 550,550, 550,500, 550,550, 550,550, 550,550, 550,500, 600,1600, 550,1600, 550,1650, 550,1600, 550,1600, 550}; // SAMSUNG B24D7B84
unsigned int data = 0xB24D7B84;
the above codes are received by TSOP1738 while i try to transmit this code my air conditioner is not responding (i used the hex code )
The program i used to send is
#include <IRremote.h>
#define POWER 0xB24D1FE0 //from IRrecvDemo, Ken Shirriff
#define SAMSUNG_BITS 32
IRsend irsend;
void setup()
{
Serial.begin(9600);
pinMode (3, OUTPUT); //output as used in library
}
int khz = 38;
// ON the A / C
void loop() {
irsend.sendSAMSUNG(POWER, 32);
delay (5000);
}//end of loop
it is not working
help me please
Code : B24D1FE0 (32 bits)
Timing[99]:
+4400, -4350 + 550, -1600 + 600, - 500 + 550, -1650
+ 550, -1600 + 550, - 550 + 550, - 500 + 600, -1600
+ 550, - 550 + 550, - 500 + 600, -1600 + 550, - 550
+ 550, - 500 + 600, -1600 + 550, -1600 + 550, - 550
+ 550, -1600 + 600, - 500 + 550, - 550 + 550, - 550
+ 550, -1600 + 550, -1600 + 600, -1600 + 550, -1600
+ 550, -1650 + 550, -1600 + 550, -1600 + 600, -1600
+ 550, - 550 + 550, - 500 + 550, - 550 + 550, - 550
+ 550, - 550 + 550, - 500 + 600, -1600 + 550, - 550
+ 550, - 500 + 600, -1600 + 550, - 550 + 550, - 500
+ 550, - 550 + 550, -1650 + 550, - 500 + 550, -1650
+ 550, -1600 + 550, - 550 + 550, -1600 + 550, -1650
+ 550, -1600 + 450
unsigned int rawData[99] = {4400,4350, 550,1600, 600,500, 550,1650, 550,1600, 550,550, 550,500, 600,1600, 550,550, 550,500, 600,1600, 550,550, 550,500, 600,1600, 550,1600, 550,550, 550,1600, 600,500, 550,550, 550,550, 550,1600, 550,1600, 600,1600, 550,1600, 550,1650, 550,1600, 550,1600, 600,1600, 550,550, 550,500, 550,550, 550,550, 550,550, 550,500, 600,1600, 550,550, 550,500, 600,1600, 550,550, 550,500, 550,550, 550,1650, 550,500, 550,1650, 550,1600, 550,550, 550,1600, 550,1650, 550,1600, 450}; // SAMSUNG B24D1FE0
unsigned int data = 0xB24D1FE0;
Encoding : SAMSUNG
Code : B24D7B84 (32 bits)
Timing[99]:
+4350, -4350 + 550, -1650 + 550, - 500 + 600, -1600
+ 550, -1600 + 550, - 550 + 550, - 550 + 550, -1600
+ 550, - 550 + 550, - 550 + 550, -1600 + 550, - 550
+ 550, - 550 + 550, -1600 + 550, -1600 + 600, - 500
+ 550, -1650 + 550, - 500 + 600, -1600 + 550, -1600
+ 550, -1650 + 550, -1600 + 550, - 550 + 550, -1600
+ 550, -1650 + 550, -1600 + 550, - 550 + 550, - 550
+ 550, - 500 + 550, - 550 + 550, -1600 + 600, - 500
+ 550, - 550 + 550, -1600 + 600, -1600 + 550, -1600
+ 550, - 550 + 550, - 550 + 550, - 550 + 550, - 500
+ 550, - 550 + 550, - 550 + 550, - 550 + 550, - 500
+ 600, -1600 + 550, -1600 + 550, -1650 + 550, -1600
+ 550, -1600 + 550
unsigned int rawData[99] = {4350,4350, 550,1650, 550,500, 600,1600, 550,1600, 550,550, 550,550, 550,1600, 550,550, 550,550, 550,1600, 550,550, 550,550, 550,1600, 550,1600, 600,500, 550,1650, 550,500, 600,1600, 550,1600, 550,1650, 550,1600, 550,550, 550,1600, 550,1650, 550,1600, 550,550, 550,550, 550,500, 550,550, 550,1600, 600,500, 550,550, 550,1600, 600,1600, 550,1600, 550,550, 550,550, 550,550, 550,500, 550,550, 550,550, 550,550, 550,500, 600,1600, 550,1600, 550,1650, 550,1600, 550,1600, 550}; // SAMSUNG B24D7B84
unsigned int data = 0xB24D7B84;
the above codes are received by TSOP1738 while i try to transmit this code my air conditioner is not responding (i used the hex code )
The program i used to send is
#include <IRremote.h>
#define POWER 0xB24D1FE0 //from IRrecvDemo, Ken Shirriff
#define SAMSUNG_BITS 32
IRsend irsend;
void setup()
{
Serial.begin(9600);
pinMode (3, OUTPUT); //output as used in library
}
int khz = 38;
// ON the A / C
void loop() {
irsend.sendSAMSUNG(POWER, 32);
delay (5000);
}//end of loop
it is not working
help me please