Ariston AC - problem with IR

Hi guys i have posted in this thread...
http://forum.arduino.cc/index.php?topic=151199.75
but AnalysIR can help me :slight_smile:

AnalysIR:
OK
Lets assume it is exactly 100. (Did you restart the Arduino IDE or the PC after making the change?)

So I have atached a screenshot of the signal you uploaded and automatically generated the 'C' code to send this signal using IRLib.

Try it out & post back how you get on. Don't forget to post the code you use.

(make sure you only send one signal at a time ....leave at least 15 seconds gap between signals being sent)

/*

Automatically Generated by AnalysIR - Batch Export Utility
Registered to: xxxxxxxx
Session History
Type : Key : Value : Bits
0 : RAW :  :  : 0
1 : RAW :  :  : 42
*/

// NB: Not all protocols are supported by IRremote or IRLib. You may need to edit the code below manually
// Automatically Generated by AnalysIR for xxxxxxxx, visit http://www.AnalysIR.com or email info@....... for further details
int khz=38; //NB Change this default value as neccessary to the correct modulation frequency

unsigned int Signal_0_0[] = {4350,4450,500,1700,500,600,500,1650,500,1700,500,550,550,550,500,1700,500,550,550,550,550,1650,500,550,550,550,500,1700,500,1650,550,550,500,1700,500,550,550,550,500,1700,500,1650,500,1700,500,1650,550,1650,500,1650,550,1650,500,1650,550,550,500,600,500,600,500,550,550,550,500,600,500,1650,550,550,500,1700,500,1650,500,1700,500,1650,550,550,500,600,500,550,550,1650,500,600,500,600,500,550,550,550,500,1700,500,1650,550}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_0_0, sizeof(Signal_0_0)/sizeof(int), khz); //AnalysIR Batch Export - RAW
// AnalysIR IR Protocol: RAW, Key:

unsigned int Signal_1_1[] = {4400,4450,500,1650,550,550,500,1700,500,1650,550,550,500,600,500,1650,550,550,500,600,500,1650,550,550,500,600,500,1650,550,1650,500,600,500,1650,550,550,500,1700,500,1650,500,1700,500,1650,500,600,500,1650,550,1650,500,1650,550,550,500,600,500,600,500,550,550,1650,500,600,500,600,500,1650,500,1700,500,1650,500,600,500,600,500,550,550,550,550,550,500,600,500,550,550,550,500,1700,500,1650,550,1650,500,1650,550,1650,500}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_1_1, sizeof(Signal_1_1)/sizeof(int), khz); //AnalysIR Batch Export - RAW
// AnalysIR IR Protocol: RAW, Key:

i have tried this sketch:

/* Example program for from IRLib – an Arduino library for infrared encoding and decoding
 * Version 1.3   January 2014
 * Copyright 2014 by Chris Young http://cyborg5.com
 * Based on original example sketch for IRremote library 
 * Version 0.11 September, 2009
 * Copyright 2009 Ken Shirriff
 * http://www.righto.com/
 */
#include <IRLib.h>

int khz=38; //NB Change this default value as neccessary to the correct modulation frequency
unsigned int Signal_0_0[] = {4350,4450,500,1700,500,600,500,1650,500,1700,500,550,550,550,500,1700,500,550,550,550,550,1650,500,550,550,550,500,1700,500,1650,550,550,500,1700,500,550,550,550,500,1700,500,1650,500,1700,500,1650,550,1650,500,1650,550,1650,500,1650,550,550,500,600,500,600,500,550,550,550,500,600,500,1650,550,550,500,1700,500,1650,500,1700,500,1650,550,550,500,600,500,550,550,1650,500,600,500,600,500,550,550,550,500,1700,500,1650,550}; //AnalysIR Batch Export - RAW
unsigned int Signal_1_1[] = {4400,4450,500,1650,550,550,500,1700,500,1650,550,550,500,600,500,1650,550,550,500,600,500,1650,550,550,500,600,500,1650,550,1650,500,600,500,1650,550,550,500,1700,500,1650,500,1700,500,1650,500,600,500,1650,550,1650,500,1650,550,550,500,600,500,600,500,550,550,1650,500,600,500,600,500,1650,500,1700,500,1650,500,600,500,600,500,550,550,550,550,550,500,600,500,550,550,550,500,1700,500,1650,550,1650,500,1650,550,1650,500}; //AnalysIR Batch Export - RAW

IRsend My_Sender;

void setup()
{
  Serial.begin(9600);
}

void loop() {
  if (Serial.read() != -1) {
    //send a code  every time a character is received from the serial port
    //Sony DVD power A8BCA
    My_Sender.IRsendRaw::send(Signal_0_0, sizeof(Signal_0_0)/sizeof(int), khz); //AnalysIR Batch Export - RAW

    delay(15000);
    
    My_Sender.IRsendRaw::send(Signal_1_1, sizeof(Signal_1_1)/sizeof(int), khz); //AnalysIR Batch Export - RAW
     Serial.println("sended");  
  }
}

but dosen't work...
IR LED is OK, tried with smartphone camera!

any suggest? :frowning:

Thank you !

OK

Please describe:

  • your circuit diagram (upload if possible)
  • how the IR LED is wired,
  • the model number of the IR LED & how do you know the model number is correct,
  • Arduino model used
  • distance between Arduino & AC unit (+height of AC unit off floor)

As i have lost track of some of the issues in the other thread:

  • have you tested this circuit with your TV signals & does it work?
  • for future reference please post the model numbers of your AC unit & the remote control

Also, make sure you read and tick off the common pitfalls (via my signature). Let me know which ones are different from your set-up.

  1. Hi, this is my circuit:
    http://www.mauroalfieri.it/wp-content/uploads/2011/12/IR-Led.png

2.I disassembled my infrared led by a remote sony and another ir led i have purchased in store! i don't know model number for ir led!
3. i have arduino duemilanove

  1. this is my AC
    Startseite - imagebin.org and Startseite - imagebin.org
    220 cm height

i have tested my ir led with tv and it work fine...!
i have tried the ir led with my AC from 2cm height but dosen't work...

this is my remote:
http://forum.arduino.cc/index.php?PHPSESSID=gs2jrm1l0veorqougg1912g6n6&action=dlattach;topic=187145.0;attach=71023;image

on ebay is this:
http://www.ebay.it/itm/like/321349755917?hlpv=2&lpid=111

i use TSOP 1138 - 38Khz

You can confirm the operation of an IR Led using a digital camera on your phone, tablet or webcam.

Yes it works!

Re-configure your library for Air-conditioner signals

Yes but dosen't work

Having reviewed this yet again, the primary issue seems to be the length of the signal being truncated by RAWBUF.

So to test this:

set RAWBUF to 20, and record the signal using IRrecvDump and post it.

Do the same at 50 & 127 and post the recorded signals.

This will tell us if changing the RAWBUF value is having any impact.

PS: remember to restart the IDE every time you change RAWBUF.

AnalysIR:
Having reviewed this yet again, the primary issue seems to be the length of the signal being truncated by RAWBUF.

So to test this:

set RAWBUF to 20, and record the signal using IRrecvDump and post it.

Do the same at 50 & 127 and post the recorded signals.

This will tell us if changing the RAWBUF value is having any impact.

PS: remember to restart the IDE every time you change RAWBUF.

Hi Rawbuf a 20:

2337802719
Unknown encoding: 8B5809DF (32 bits)
Raw (20): 22542 4500 -4400 650 -1550 650 -450 650 -1550 650 -1550 650 -450 650 -450 650 -1550 600 -500 600

Rawbuf a 50:

3510667748
Unknown encoding: D14089E4 (32 bits)
Raw (50): -19264 4500 -4400 650 -1550 650 -450 650 -1550 650 -1550 650 -450 650 -450 650 -1550 650 -450 650 -450 650 -1550 600 -500 600 -500 600 -1600 600 -1600 600 -500 600 -1600 600 -500 600 -1600 600 -1600 600 -1600 600 -1600 600 -450 650 -1550 650

Rawbuf a 127

2991415200
Decoded SAMSUNG: B24D5FA0 (32 bits)
Raw (100): 8636 4500 -4400 650 -1550 650 -450 650 -1550 600 -1600 600 -500 600 -500 650 -1550 600 -500 600 -500 600 -1600 600 -500 600 -500 600 -1600 600 -1600 600 -500 600 -1600 600 -500 600 -1600 600 -500 600 -1600 600 -1550 650 -1550 650 -1550 650 -1550 650 -1550 650 -450 650 -1550 650 -450 600 -500 650 -450 650 -450 650 -450 650 -1550 600 -500 600 -1600 600 -1600 600 -1600 600 -1600 600 -500 600 -500 600 -500 600 -1600 600 -500 600 -500 600 -500 600 -500 600 -1600 600 -1550 650

i have purchased TSOP34838 and now i use it!
i use TSOP34838 not TSOP 1138!
but raw 100 :frowning:

sketch irRelay:

Decoded SAMSUNG: Raw (100): 26410 4500 -4400 600 -1600 600 -500 600 -1600 600 -1600 600 -500 600 -500 600 -1600 600 -500 600 -500 600 -1600 600 -500 600 -500 600 -1600 600 -1550 650 -450 650 -1550 650 -450 650 -1550 650 -1550 650 -1550 650 -1550 650 -450 650 -1550 650 -1550 600 -1600 650 -450 650 -450 600 -500 600 -500 600 -1600 600 -500 600 -500 600 -1600 600 -1600 600 -1600 600 -500 600 -500 600 -500 600 -500 600 -500 600 -500 600 -500 600 -450 650 -1550 650 -1550 650 -1550 650 -1550 650 -1550 650 
Decoded SAMSUNG: Raw (100): 20974 4500 -4450 600 -1550 650 -450 650 -1550 650 -1550 650 -450 650 -450 650 -1550 650 -450 650 -450 650 -1550 650 -450 650 -450 650 -1550 600 -1600 600 -500 650 -1550 600 -500 600 -1600 600 -500 600 -1600 600 -1600 600 -1600 600 -1600 600 -1600 600 -1600 600 -500 600 -1550 650 -450 650 -450 650 -450 650 -450 650 -450 650 -1550 650 -450 650 -1550 650 -1550 650 -1550 650 -1550 650 -450 650 -450 600 -500 600 -1600 600 -500 600 -500 600 -500 600 -500 600 -1600 600 -1600 600

with tv works

OK looks like we still have a problem (could it be that your pulse stream is exacly 100 long - would be a very big coincidence?

So I have one more thing for you to try....just download the sketch via the link below & make sure to follow the instructions provided.

.....From another thread.

I wrote a custom sketch that you can try to record your signal.

Ok

You can get a copy of the sketch which can handle 800 marks & spaces, via the link at the end of our latest blog post.
Air Conditioner Record long Infrared Remote control signals - Arduino

Just copy and paste the code into a blank sketch in the Arduino IDE. Compile & download to your Arduino as normal.

NB: Make sure your IR receiver is connected to PIn 2 on the Arduino, with Vcc & GND also connected.

Then open the Serial monitor @ 115,200 BAUD and after a prompt press the key (once just briefly) on your remote.

Copy the output from one or 2 different signals & post them here. I will them import them into AnalysIR and export the Arduino code for sending the signals.

When completed post back the output of the sketch.

Hi i have this output:

Press the button on the remote now - once only

Raw: (199) 4492, -4432, 592, -1604, 592, -508, 592, -1604, 600, -1600, 596, -504, 596, -500, 592, -1608, 596, -504, 588, -512, 592, -1604, 588, -512, 592, -504, 596, -1604, 592, -1604, 600, -500, 592, -1608, 596, -504, 588, -1608, 596, -504, 588, -1608, 596, -1604, 588, -1608, 596, -1604, 592, -1604, 588, -1608, 600, -500, 588, -1612, 596, -500, 600, -500, 592, -508, 596, -504, 596, -500, 592, -1608, 596, -504, 588, -1608, 596, -1604, 592, -1604, 600, -1600, 592, -504, 600, -500, 592, -508, 592, -1604, 592, -508, 592, -508, 596, -504, 588, -508, 592, -1608, 596, -1600, 596, -5268, 4520, -4428, 596, -1600, 596, -504, 596, -1604, 592, -1604, 600, -500, 592, -508, 592, -1604, 592, -508, 592, -508, 596, -1600, 592, -508, 596, -500, 592, -1608, 596, -1604, 588, -508, 596, -1604, 588, -508, 596, -1604, 588, -512, 592, -1604, 592, -1608, 596, -1600, 592, -1608, 596, -1600, 596, -1604, 588, -508, 596, -1604, 588, -512, 592, -504, 596, -504, 588, -512, 592, -508, 592, -1604, 592, -508, 592, -1604, 592, -1608, 596, -1600, 596, -1604, 588, -508, 596, -504, 596, -504, 600, -1596, 596, -504, 600, -500, 592, -508, 592, -504, 600, -1600, 592, -1604, 592, 

Press the button on the remote now - once only

Raw: (199) 4496, -4424, 600, -1600, 596, -504, 596, -1600, 592, -1608, 588, -508, 596, -504, 596, -1604, 592, -504, 596, -504, 600, -1600, 592, -504, 600, -500, 592, -1608, 596, -1600, 592, -508, 596, -1600, 592, -508, 596, -1604, 588, -1608, 596, -1604, 592, -1604, 588, -512, 592, -1604, 592, -1608, 596, -1600, 592, -508, 596, -504, 596, -504, 588, -508, 596, -1604, 588, -512, 592, -504, 596, -1604, 592, -1604, 600, -1600, 596, -500, 600, -500, 592, -508, 592, -508, 596, -500, 592, -508, 592, -508, 596, -504, 588, -1608, 596, -1604, 592, -1604, 600, -1600, 592, -1604, 592, -5268, 4520, -4432, 592, -1604, 592, -508, 592, -1604, 592, -1608, 596, -504, 596, -500, 592, -1608, 596, -500, 592, -508, 596, -1604, 588, -508, 596, -504, 596, -1604, 592, -1604, 600, -500, 592, -1604, 600, -500, 592, -1608, 596, -1600, 596, -1604, 588, -1608, 596, -504, 596, -1600, 596, -1604, 592, -1604, 600, -500, 592, -508, 592, -508, 596, -504, 588, -1608, 596, -504, 596, -500, 592, -1608, 596, -1600, 596, -1604, 588, -512, 592, -504, 596, -504, 588, -512, 592, -504, 596, -504, 588, -512, 592, -508, 596, -1600, 592, -1608, 596, -1600, 596, -1604, 588, -1608, 596, 

Press the button on the remote now - once only

Raw: (199) 4492, -4428, 596, -1604, 592, -508, 596, -1600, 592, -1604, 600, -500, 592, -508, 592, -1604, 592, -508, 592, -508, 596, -1600, 596, -504, 596, -504, 588, -1608, 596, -1604, 592, -508, 592, -1604, 592, -508, 592, -1604, 592, -508, 592, -1608, 588, -1608, 596, -1600, 596, -1604, 596, -1600, 596, -1604, 592, -508, 592, -1604, 588, -512, 592, -508, 596, -500, 600, -500, 592, -508, 596, -1600, 592, -508, 596, -1604, 588, -1608, 596, -1604, 592, -1604, 600, -500, 592, -508, 592, -504, 600, -1600, 592, -508, 596, -500, 592, -508, 592, -508, 596, -1600, 596, -1604, 588, -5272, 4516, -4432, 592, -1608, 596, -504, 588, -1608, 596, -1600, 596, -504, 596, -504, 588, -1612, 592, -504, 600, -500, 592, -1608, 596, -500, 592, -508, 592, -1604, 592, -1608, 596, -504, 588, -1608, 596, -504, 600, -1600, 592, -504, 600, -1600, 592, -1604, 592, -1608, 596, -1600, 592, -1608, 588, -1608, 596, -504, 596, -1600, 596, -504, 596, -504, 588, -512, 592, -504, 596, -504, 588, -1612, 596, -500, 604, -1596, 592, -1604, 592, -1608, 596, -1604, 592, -504, 596, -504, 588, -512, 592, -1604, 600, -500, 592, -508, 592, -504, 600, -500, 592, -1608, 596, -1600, 592, 

Press the button on the remote now - once only

Raw: (199) 4492, -4432, 592, -1604, 588, -512, 592, -1604, 600, -1600, 592, -508, 596, -500, 592, -1608, 596, -500, 592, -508, 596, -1604, 588, -508, 596, -504, 596, -1604, 592, -1604, 600, -500, 592, -1604, 600, -500, 592, -1608, 600, -1596, 592, -1608, 588, -1608, 596, -504, 588, -1608, 596, -1604, 592, -1608, 596, -500, 592, -508, 592, -508, 596, -500, 592, -1608, 596, -504, 588, -508, 592, -1608, 588, -1608, 596, -1604, 592, -504, 596, -504, 600, -500, 592, -508, 592, -504, 600, -500, 592, -508, 592, -508, 596, -1600, 592, -1608, 596, -1600, 600, -1600, 588, -1608, 600, -5260, 4524, -4428, 588, -1608, 596, -504, 588, -1608, 596, -1604, 592, -508, 592, -504, 600, -1600, 592, -508, 596, -500, 592, -1608, 596, -504, 588, -508, 592, -1608, 600, -1596, 596, -504, 600, -1600, 592, -504, 600, -1600, 592, -1604, 592, -1608, 596, -1600, 592, -508, 596, -1604, 588, -1608, 596, -1604, 592, -504, 596, -504, 588, -512, 592, -504, 596, -1604, 592, -508, 596, -500, 600, -1600, 596, -1600, 592, -1608, 596, -504, 588, -508, 596, -504, 596, -504, 588, -512, 592, -504, 596, -504, 600, -500, 592, -1604, 600, -1600, 592, -1604, 592, -1608, 596, -1600, 592, 

Press the button on the remote now - once only

i have pushed ON / OFF /ON / OFF

OK

I have imported your signals into AnalysIR & automatically generated the 'C' code for use with IRLib. (you need to add the rest of the IRLib sketch).

/*
Automatically Generated by AnalysIR - Batch Export Utility
Registered to: xxxxxxxx
Session History
Type : Key : Value : Bits
0 : RAW : A :  : 0
1 : RAW : B :  : 0
2 : RAW : C :  : 0
3 : RAW : D :  : 0
*/

// NB: Not all protocols are supported by IRremote or IRLib. You may need to edit the code below manually
// Automatically Generated by AnalysIR for xxxxxxxx, visit http://www.AnalysIR.com or email info@....... for further details
int khz=38; //NB Change this default value as neccessary to the correct modulation frequency


unsigned int Signal_A_0[] = {4516,4408,616,1580,596,504,596,1604,592,1604,600,500,620,484,588,1604,644,456,592,508,584,1612,592,508,616,484,636,1560,596,1604,648,448,596,1604,672,424,616,1584,640,1556,596,1604,612,1584,620,480,592,1608,584,1612,612,1588,588,508,612,488,596,504,616,484,588,1608,588,512,620,480,640,1556,588,1612,592,1604,592,508,584,516,584,512,592,508,612,488,584,512,592,508,624,476,584,1612,644,1556,588,1608,616,1584,592,1604,616,5248,4540,4408,648,1548,596,504,616,1584,592,1604,620,480,592,504,620,1580,624,476,596,500,620,1580,592,508,648,448,592,1608,588,1608,596,504,596,1600,596,504,596,1604,640,1556,588,1612,592,1604,592,508,592,1608,616,1580,616,1580,624,476,616,484,616,484,648,448,596,1604,620,480,652,448,592,1604,620,1576,588,1612,644,456,596,500,592,508,612,488,596,504,588,508,624,476,596,504,588,1608,644,1556,588,1608,588,1612,592,1604,592}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_A_0, sizeof(Signal_A_0)/sizeof(int), khz); //AnalysIR Batch Export - RAW
 // AnalysIR IR Protocol: RAW, Key:  A


unsigned int Signal_B_1[] = {4520,4404,620,1576,628,472,624,1576,624,1572,592,508,624,476,616,1580,624,476,616,484,620,1576,628,472,620,480,592,1604,620,1580,596,500,620,1580,624,476,616,1580,596,1600,624,1576,628,1572,620,476,628,1572,624,1572,620,1580,624,476,624,472,620,480,624,476,596,1600,624,476,596,504,588,1608,624,1576,620,1576,596,504,624,476,624,472,628,472,588,512,592,508,624,472,620,480,592,1604,600,1600,596,1600,592,1608,596,1600,596,5268,4548,4400,596,1600,624,476,624,1576,588,1608,596,504,588,512,620,1576,588,512,620,480,624,1572,592,508,592,508,596,1600,624,1576,588,508,592,1608,588,508,596,1604,628,1568,628,1572,592,1604,628,472,620,1580,596,1600,592,1608,616,480,624,476,624,476,596,504,620,1576,596,504,620,480,620,1576,620,1580,624,1572,620,480,624,476,624,472,592,508,592,508,596,504,616,480,592,508,624,1572,624,1576,628,1568,628,1572,620,1576,596,12896,4496,4428,596,1604,620,476,596,1604,592,1604,600,500,592,508,592,1604,592,508,624,476,596,1600,592,508,596,504,596,1600,596,1604,588,508,596,1604,592,508,592,1604,588,512,592,1604,600,1600,596,1600,592,1608,596,1600,596,1604,588,512,592,1604,600,500,592,504,596,504,600,500,592,508,592,1604,592,508,592,1604,592,1608,596,1600,592,1608,596,504,588,508,596,504,596,1604,592,504,596,504,600,500,592,508,592,1604,592,1608,596,5264,4524,4424,588,1608,596,504,600,1600,592,1604,592,508,592,508,596,1600,596,504,596,504,588,1608,596,504,600,500,592,1604,600,1600,592,504,600,1600,592,508,596,1600,592,508,596,1600,592,1608,600,1596,596,1604,588,1608,596,1604,592,504,596,1604,592,508,596,500,600,500,592,508,596,504,596,1600,596,504,596,1600,596,1604,588,1608,596,1604,592,508,592,504,600,500,592,1608,596,500,592,508,592,508,596,504,588,1608,596,1600,592}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_B_1, sizeof(Signal_B_1)/sizeof(int), khz); //AnalysIR Batch Export - RAW
 // AnalysIR IR Protocol: RAW, Key:  B


unsigned int Signal_C_2[] = {4528,4396,628,1572,620,476,628,1572,620,1576,620,480,624,476,624,1572,620,480,624,476,628,1568,624,476,628,472,620,1576,624,1576,620,476,624,1576,620,480,620,1576,620,1580,624,1572,620,1580,624,472,624,1576,628,1568,624,1576,620,476,624,476,628,472,620,480,620,1576,628,472,620,480,624,1572,620,1580,624,1572,624,476,624,476,616,480,624,476,624,476,628,472,620,476,624,476,628,1572,620,1576,620,1580,624,1572,620,1580,624,5236,4552,4396,620,1580,624,472,628,1572,624,1572,620,480,624,476,624,1572,624,476,624,476,616,1580,624,476,628,472,620,1576,628,1572,624,472,628,1572,620,480,624,1572,620,1580,624,1572,624,1572,620,480,624,1576,620,1576,628,1572,620,476,628,472,628,472,620,480,624,1572,620,480,624,476,624,1572,624,1576,628,1568,624,476,628,472,616,480,624,476,628,472,620,480,620,476,628,472,628,1572,624,1572,620,1580,624,1572,624,1572,620,42320,4524,4396,628,1572,620,480,624,1572,620,1580,624,472,620,480,624,1576,616,480,624,476,628,1572,620,480,624,472,628,1572,624,1572,620,480,624,1572,620,480,624,1572,620,480,624,1576,628,1568,624,1576,620,1576,628,1572,620,1576,620,480,620,1576,620,480,620,480,624,476,624,472,620,480,624,1572,620,480,624,1576,616,1580,624,1576,620,1576,628,472,620,480,620,476,628,1572,620,480,624,472,628,472,620,480,624,1572,620,1580,624,5236,4552,4396,620,1580,624,476,624,1572,624,1572,620,480,624,476,624,1572,624,476,624,476,628,1572,620,476,628,472,620,1580,624,1572,620,480,624,1572,620,480,624,1576,620,476,624,1576,620,1576,628,1572,620,1576,628,1572,624,1572,620,480,624,1572,620,480,624,476,624,476,616,484,620,476,624,1576,620,476,624,1576,620,1576,628,1572,620,1576,628,472,620,480,624,472,628,1572,624,476,624,476,620,476,624,476,624,1572,624,1576,628}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_C_2, sizeof(Signal_C_2)/sizeof(int), khz); //AnalysIR Batch Export - RAW
 // AnalysIR IR Protocol: RAW, Key:  C


unsigned int Signal_D_3[] = {4516,4404,624,1576,628,468,624,1576,628,1568,624,476,628,472,620,1576,628,472,620,480,620,1576,628,472,620,480,624,1572,620,1580,624,476,616,1580,624,476,616,1580,624,476,628,1568,624,1576,620,1576,628,1572,620,1576,620,1580,624,476,624,1572,624,476,624,476,616,480,624,476,628,472,616,1580,628,472,628,1568,624,1576,620,1576,628,1572,624,476,624,472,620,480,624,1576,628,468,624,476,624,476,628,472,620,1576,628,1572,620,5240,4548,4400,624,1576,620,476,624,1576,620,1576,628,472,620,480,620,1576,620,480,620,480,624,1572,624,476,624,476,628,1568,624,1576,620,476,624,1576,620,480,620,1576,628,472,620,1576,628,1572,624,1572,620,1580,624,1572,624,1576,628,472,620,1576,628,472,620,480,620,476,628,472,620,480,620,1576,620,480,620,1580,628,1568,624,1572,624,1576,628,472,620,476,624,476,628,1572,620,476,628,472,628,472,620,480,624,1572,620,1580,624}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_D_3, sizeof(Signal_D_3)/sizeof(int), khz); //AnalysIR Batch Export - RAW
 // AnalysIR IR Protocol: RAW, Key:  D

Signals A & B seem to be the best and are 2 different codes. Signals B & C are more or less the same and seem to contain 2 signals (looks like you may have pressed the button twice instead of once ??)

So try first with signals A and then B (not together)

For reference please identify the signals ( ie On OFF) that you provided

AnalysIR:
OK

I have imported your signals into AnalysIR & automatically generated the 'C' code for use with IRLib. (you need to add the rest of the IRLib sketch).

/*

Automatically Generated by AnalysIR - Batch Export Utility
Registered to: xxxxxxxx
Session History
Type : Key : Value : Bits
0 : RAW : A :  : 0
1 : RAW : B :  : 0
2 : RAW : C :  : 0
3 : RAW : D :  : 0
*/

// NB: Not all protocols are supported by IRremote or IRLib. You may need to edit the code below manually
// Automatically Generated by AnalysIR for xxxxxxxx, visit http://www.AnalysIR.com or email info@....... for further details
int khz=38; //NB Change this default value as neccessary to the correct modulation frequency

unsigned int Signal_A_0[] = {4516,4408,616,1580,596,504,596,1604,592,1604,600,500,620,484,588,1604,644,456,592,508,584,1612,592,508,616,484,636,1560,596,1604,648,448,596,1604,672,424,616,1584,640,1556,596,1604,612,1584,620,480,592,1608,584,1612,612,1588,588,508,612,488,596,504,616,484,588,1608,588,512,620,480,640,1556,588,1612,592,1604,592,508,584,516,584,512,592,508,612,488,584,512,592,508,624,476,584,1612,644,1556,588,1608,616,1584,592,1604,616,5248,4540,4408,648,1548,596,504,616,1584,592,1604,620,480,592,504,620,1580,624,476,596,500,620,1580,592,508,648,448,592,1608,588,1608,596,504,596,1600,596,504,596,1604,640,1556,588,1612,592,1604,592,508,592,1608,616,1580,616,1580,624,476,616,484,616,484,648,448,596,1604,620,480,652,448,592,1604,620,1576,588,1612,644,456,596,500,592,508,612,488,596,504,588,508,624,476,596,504,588,1608,644,1556,588,1608,588,1612,592,1604,592}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_A_0, sizeof(Signal_A_0)/sizeof(int), khz); //AnalysIR Batch Export - RAW
// AnalysIR IR Protocol: RAW, Key:  A

unsigned int Signal_B_1[] = {4520,4404,620,1576,628,472,624,1576,624,1572,592,508,624,476,616,1580,624,476,616,484,620,1576,628,472,620,480,592,1604,620,1580,596,500,620,1580,624,476,616,1580,596,1600,624,1576,628,1572,620,476,628,1572,624,1572,620,1580,624,476,624,472,620,480,624,476,596,1600,624,476,596,504,588,1608,624,1576,620,1576,596,504,624,476,624,472,628,472,588,512,592,508,624,472,620,480,592,1604,600,1600,596,1600,592,1608,596,1600,596,5268,4548,4400,596,1600,624,476,624,1576,588,1608,596,504,588,512,620,1576,588,512,620,480,624,1572,592,508,592,508,596,1600,624,1576,588,508,592,1608,588,508,596,1604,628,1568,628,1572,592,1604,628,472,620,1580,596,1600,592,1608,616,480,624,476,624,476,596,504,620,1576,596,504,620,480,620,1576,620,1580,624,1572,620,480,624,476,624,472,592,508,592,508,596,504,616,480,592,508,624,1572,624,1576,628,1568,628,1572,620,1576,596,12896,4496,4428,596,1604,620,476,596,1604,592,1604,600,500,592,508,592,1604,592,508,624,476,596,1600,592,508,596,504,596,1600,596,1604,588,508,596,1604,592,508,592,1604,588,512,592,1604,600,1600,596,1600,592,1608,596,1600,596,1604,588,512,592,1604,600,500,592,504,596,504,600,500,592,508,592,1604,592,508,592,1604,592,1608,596,1600,592,1608,596,504,588,508,596,504,596,1604,592,504,596,504,600,500,592,508,592,1604,592,1608,596,5264,4524,4424,588,1608,596,504,600,1600,592,1604,592,508,592,508,596,1600,596,504,596,504,588,1608,596,504,600,500,592,1604,600,1600,592,504,600,1600,592,508,596,1600,592,508,596,1600,592,1608,600,1596,596,1604,588,1608,596,1604,592,504,596,1604,592,508,596,500,600,500,592,508,596,504,596,1600,596,504,596,1600,596,1604,588,1608,596,1604,592,508,592,504,600,500,592,1608,596,500,592,508,592,508,596,504,588,1608,596,1600,592}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_B_1, sizeof(Signal_B_1)/sizeof(int), khz); //AnalysIR Batch Export - RAW
// AnalysIR IR Protocol: RAW, Key:  B

unsigned int Signal_C_2[] = {4528,4396,628,1572,620,476,628,1572,620,1576,620,480,624,476,624,1572,620,480,624,476,628,1568,624,476,628,472,620,1576,624,1576,620,476,624,1576,620,480,620,1576,620,1580,624,1572,620,1580,624,472,624,1576,628,1568,624,1576,620,476,624,476,628,472,620,480,620,1576,628,472,620,480,624,1572,620,1580,624,1572,624,476,624,476,616,480,624,476,624,476,628,472,620,476,624,476,628,1572,620,1576,620,1580,624,1572,620,1580,624,5236,4552,4396,620,1580,624,472,628,1572,624,1572,620,480,624,476,624,1572,624,476,624,476,616,1580,624,476,628,472,620,1576,628,1572,624,472,628,1572,620,480,624,1572,620,1580,624,1572,624,1572,620,480,624,1576,620,1576,628,1572,620,476,628,472,628,472,620,480,624,1572,620,480,624,476,624,1572,624,1576,628,1568,624,476,628,472,616,480,624,476,628,472,620,480,620,476,628,472,628,1572,624,1572,620,1580,624,1572,624,1572,620,42320,4524,4396,628,1572,620,480,624,1572,620,1580,624,472,620,480,624,1576,616,480,624,476,628,1572,620,480,624,472,628,1572,624,1572,620,480,624,1572,620,480,624,1572,620,480,624,1576,628,1568,624,1576,620,1576,628,1572,620,1576,620,480,620,1576,620,480,620,480,624,476,624,472,620,480,624,1572,620,480,624,1576,616,1580,624,1576,620,1576,628,472,620,480,620,476,628,1572,620,480,624,472,628,472,620,480,624,1572,620,1580,624,5236,4552,4396,620,1580,624,476,624,1572,624,1572,620,480,624,476,624,1572,624,476,624,476,628,1572,620,476,628,472,620,1580,624,1572,620,480,624,1572,620,480,624,1576,620,476,624,1576,620,1576,628,1572,620,1576,628,1572,624,1572,620,480,624,1572,620,480,624,476,624,476,616,484,620,476,624,1576,620,476,624,1576,620,1576,628,1572,620,1576,628,472,620,480,624,472,628,1572,624,476,624,476,620,476,624,476,624,1572,624,1576,628}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_C_2, sizeof(Signal_C_2)/sizeof(int), khz); //AnalysIR Batch Export - RAW
// AnalysIR IR Protocol: RAW, Key:  C

unsigned int Signal_D_3[] = {4516,4404,624,1576,628,468,624,1576,628,1568,624,476,628,472,620,1576,628,472,620,480,620,1576,628,472,620,480,624,1572,620,1580,624,476,616,1580,624,476,616,1580,624,476,628,1568,624,1576,620,1576,628,1572,620,1576,620,1580,624,476,624,1572,624,476,624,476,616,480,624,476,628,472,616,1580,628,472,628,1568,624,1576,620,1576,628,1572,624,476,624,472,620,480,624,1576,628,468,624,476,624,476,628,472,620,1576,628,1572,620,5240,4548,4400,624,1576,620,476,624,1576,620,1576,628,472,620,480,620,1576,620,480,620,480,624,1572,624,476,624,476,628,1568,624,1576,620,476,624,1576,620,480,620,1576,628,472,620,1576,628,1572,624,1572,620,1580,624,1572,624,1576,628,472,620,1576,628,472,620,480,620,476,628,472,620,480,620,1576,620,480,620,1580,628,1568,624,1572,624,1576,628,472,620,476,624,476,628,1572,620,476,628,472,628,472,620,480,624,1572,620,1580,624}; //AnalysIR Batch Export - RAW

My_Sender.IRsendRaw::send(Signal_D_3, sizeof(Signal_D_3)/sizeof(int), khz); //AnalysIR Batch Export - RAW
// AnalysIR IR Protocol: RAW, Key:  D




Signals A & B seem to be the best and are 2 different codes. Signals B & C are more or less the same and seem to contain 2 signals (looks like you may have pressed the button twice instead of once ??)

So try first with signals A and then B (not together)

For reference please identify the signals ( ie On OFF) that you provided

Yeees yeeeeessssss! it's work!!
ON = Signal_A_0[]
OFF = Signal_D_3[]

Signal_A_0[] on my AC at 30°... if i want set 29° - 28 °?
i want set temperature...
can you help me please? Thank you Thank you Thank you Thank you Thank you Thank you

EDIT:

Raw: (199) 4492, -4432, 592, -1604, 592, -508, 596, -1604, 588, -1608, 596, -504, 588, -512, 592, -1604, 592, -508, 592, -508, 592, -1604, 592, -508, 596, -504, 596, -1600, 596, -1600, 592, -508, 596, -1604, 592, -504, 596, -1604, 592, -508, 592, -1604, 592, -1608, 596, -1600, 592, -1604, 592, -1608, 596, -1604, 592, -504, 596, -1604, 592, -504, 596, -504, 588, -512, 592, -508, 596, -500, 600, -1600, 596, -504, 596, -1600, 596, -504, 596, -1600, 596, -1604, 592, -504, 596, -504, 600, -500, 592, -1604, 600, -500, 592, -1608, 596, -504, 588, -508, 596, -1604, 588, -1608, 596, -5264, 4516, -4436, 588, -1608, 596, -504, 588, -1608, 596, -1604, 592, -504, 600, -500, 592, -1608, 596, -500, 592, -508, 592, -1608, 588, -512, 588, -508, 596, -1604, 592, -1604, 600, -500, 592, -1604, 600, -500, 592, -1604, 600, -500, 592, -1608, 596, -1600, 596, -1604, 588, -1608, 600, -1600, 592, -1604, 592, -508, 592, -1604, 592, -508, 592, -508, 596, -504, 588, -508, 596, -504, 596, -1604, 592, -504, 596, -1604, 592, -508, 592, -1604, 592, -1604, 592, -508, 592, -508, 596, -504, 596, -1600, 596, -504, 596, -1600, 596, -504, 600, -500, 592, -1604, 600, -1600, 592,

This is on my AC at 29°C
can i use sendRaw for this? and remove '-' ???
i have purchased analysIR... how to import this code?

I have purchased this software...
Yeaaa yeaaa! it's work! Thank u AnalysIR <3 :slight_smile:

Glad to be of help :slight_smile: