Page 1 of 1

Problem sending recieved codes for Daikin AC remote

Posted: Tue Feb 27, 2018 7:24 am
by Ankurd477
Hello, I am preparing a IR project and read a blog where i found AnalysIR code for recording the remote codes, i recorded the power on button code from Daikin AC remote and then removed the negaitive signs and put them in transmitter code but no action is there on AC. before this i tried to send the recieved codes from IRrecievedumpV2 code in example of IRemote library, and then putting those codes in transmitter code i was able to switch on and off my Ceiling Fan. Please help me with this. I am attaching the codes i am using to record AC data and also the codes which i recieve on pressing on button of the remote.


Code: Select all

Press the button on the remote now  once only

[b]Raw: (97) 40, 20204, 144, 48136, 364, 128, 172, 39728, 128, 15108, 36, 35764, 216, 25508, 36, 9108, 40, 7648, 232, 936, 36, 29768, 140, 41792, 188, 13892, 124, 32540, 192, 57080, 44, 4400, 40, 60304, 120, 7180, 36, 12, 40, 56984, 40, 19272, 32, 7716, 40, 12036, 40, 50588, 32, 8, 364, 21836, 28, 12, 220, 4844, 236, 59840, 200, 19676, 40, 39812, 32, 12, 344, 18544, 40, 14940, 260, 8928, 40, 48256, 40, 20952, 240, 14128, 32, 54840, 40, 17972, 116, 20676, 140, 9848, 88, 61988, 120, 48628, 36, 26840, 80, 23488, 280, 26036, 36, 6784, 276, 

Press the button on the remote now  once only

Raw: (159) 36, 50408, 932, 20684, 208, 35620, 288, 9076, 40, 46960, 164, 47068, 40, 14416, 200, 8272, 164, 1548, 236, 23736, 100, 124, 268, 64120, 312, 13408, 108, 41772, 140, 36900, 40, 50044, 96, 39776, 164, 22788, 160, 37156, 132, 18548, 44, 12896, 364, 41432, 32, 12, 304, 20864, 28, 1460, 32, 22100, 148, 5172, 164, 54196, 188, 28456, 144, 53464, 100, 23224, 152, 24048, 72, 25696, 196, 29148, 40, 23780, 44, 912, 184, 50152, 388, 11904, 96, 11412, 216, 20460, 32, 13800, 136, 10128, 208, 21784, 136, 36784, 292, 9800, 384, 16884, 408, 31492, 64, 776, 176, 24048, 36, 42368, 120, 7908, 32, 12, 304, 29632, 120, 41764, 40, 7908, 440, 18968, 92, 46900, 40, 21724, 188, 9952, 28, 16, 240, 10196, 36, 59528, 236, 59884, 36, 10744, 284, 13176, 124, 51740, 36, 6328, 328, 54792, 284, 39696, 28, 8984, 152, 5536, 112, 18624, 352, 55052, 408, 22616, 120, 10040, 36, 19748, 36, 96, 144, 16144, 248, 48296, 136, 

Press the button on the remote now  once only

Raw: (741) 36, 31464, 172, 30608, 100, 17108, 32, 44112, 36, 1300, 216, 52356, 32, 12, 296, 17764, 208, 54752, 172, 41664, 204, 120, 220, 42536, 92, 27516, 36, 48976, 64, 708, 32, 27616, 196, 176, 432, 46052, 200, 3080, 32, 17160, 44, 9048, 196, 47480, 432, 31592, 72, 42084, 40, 42592, 40, 34596, 136, 10068, 132, 19104, 300, 24072, 176, 29908, 36, 59644, 36, 62984, 36, 96, 32, 12, 224, 60744, 36, 3336, 124, 1844, 152, 60760, 344, 60056, 36, 27320, 76, 60100, 152, 21660, 40, 27240, 68, 24568, 188, 18620, 168, 49588, 232, 144, 184, 23020, 36, 37796, 40, 8732, 148, 38984, 32, 4508, 36, 11516, 40, 3912, 184, 49828, 32, 8, 448, 32176, 460, 44960, 396, 21120, 392, 1496, 120, 62708, 36, 8844, 204, 1764, 32, 44380, 488, 34540, 144, 29220, 180, 12592, 40, 4620, 288, 29580, 156, 1040, 216, 10272, 32, 19792, 88, 284, 92, 304, 192, 39360, 180, 18328, 140, 15888, 36, 12700, 240, 2428, 716, 176, 684, 184, 644, 224, 636, 232, 592, 280, 592, 25020, 3596, 1612, 536, 1204, 524, 344, 524, 344, 520, 348, 520, 1216, 520, 348, 516, 352, 508, 360, 504, 364, 504, 1236, 496, 372, 496, 1240, 496, 1240, 512, 356, 524, 1212, 548, 1192, 552, 1184, 544, 1192, 520, 1216, 520, 348, 520, 348, 524, 1212, 564, 304, 548, 324, 544, 324, 520, 348, 516, 352, 516, 352, 516, 352, 548, 320, 508, 360, 508, 360, 504, 1256, 480, 388, 480, 1260, 472, 392, 476, 396, 472, 396, 472, 1264, 472, 1264, 472, 396, 472, 376, 488, 404, 464, 404, 464, 404, 464, 404, 464, 408, 460, 408, 460, 408, 460, 408, 464, 404, 460, 408, 460, 408, 460, 408, 460, 408, 460, 408, 456, 1280, 460, 1276, 460, 1280, 456, 412, 456, 1280, 456, 412, 456, 1280, 456, 1280, 456, 34680, 3540, 1692, 476, 1240, 496, 400, 468, 400, 468, 400, 468, 1264, 472, 400, 468, 400, 468, 400, 468, 400, 464, 1272, 468, 400, 468, 1272, 464, 1272, 464, 404, 464, 1272, 464, 1268, 468, 1272, 464, 1272, 464, 1272, 464, 404, 464, 408, 460, 1272, 468, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 408, 456, 408, 460, 412, 456, 1280, 456, 412, 456, 412, 456, 412, 456, 412, 456, 1280, 456, 412, 456, 412, 456, 412, 452, 416, 452, 420, 448, 420, 448, 440, 428, 448, 420, 444, 424, 444, 424, 444, 424, 444, 424, 444, 420, 448, 420, 448, 420, 448, 420, 428, 440, 428, 440, 428, 440, 1296, 444, 424, 444, 1292, 444, 424, 444, 1292, 444, 424, 444, 34692, 3532, 1700, 472, 1268, 468, 396, 472, 400, 468, 400, 468, 1268, 468, 400, 468, 400, 468, 400, 468, 404, 464, 1272, 464, 404, 464, 1272, 464, 1272, 464, 404, 464, 1272, 468, 1268, 468, 1272, 464, 1272, 464, 1272, 464, 404, 464, 404, 464, 1272, 464, 404, 464, 404, 468, 400, 464, 408, 464, 400, 468, 400, 468, 400, 468, 400, 468, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 460, 408, 460, 412, 456, 412, 456, 1280, 460, 408, 460, 412, 456, 1276, 460, 1276, 460, 1276, 464, 404, 464, 404, 464, 408, 460, 404, 464, 404, 464, 408, 460, 408, 460, 408, 460, 1276, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 408, 456, 412, 456, 408, 460, 408, 460, 412, 456, 412, 456, 412, 456, 412, 456, 412, 456, 1280, 460, 408, 460, 1276, 460, 412, 456, 412, 456, 412, 456, 412, 456, 412, 456, 412, 456, 412, 456, 412, 452, 416, 452, 416, 452, 420, 448, 416, 452, 416, 452, 420, 448, 420, 444, 424, 444, 424, 444, 1292, 448, 1288, 448, 420, 448, 420, 448, 420, 448, 420, 448, 420, 448, 420, 448, 420, 448, 424, 444, 424, 444, 424, 444, 1292, 444, 1292, 448, 420, 448, 420, 448, 420, 448, 420, 448, 420, 448, 420, 452, 416, 452, 416, 452, 420, 452, 416, 452, 416, 456, 412, 480, 388, 476, 392, 464, 404, 464, 404, 488, 380, 492, 1244, 492, 376, 492, 376, 492, 380, 488, 380, 476, 392, 464, 1272, 464, 1272, 464, 404, 464, 404, 464, 404, 464, 404, 468, 400, 468, 400, 468, 400, 468, 1268, 468, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 1272, 468, 400, 468, 400, 468, 1268, 468, 404, 464, 1272, 464, 1272, 464, 

Press the button on the remote now  once only

Raw: (726) 58280, 96, 10588, 136, 10224, 68, 39136, 208, 53868, 204, 38656, 136, 36216, 188, 5228, 172, 4228, 40, 8960, 36, 59492, 160, 60484, 112, 13776, 40, 26988, 36, 33364, 140, 40056, 268, 19760, 36, 40556, 44, 19336, 240, 38792, 116, 44092, 108, 72, 404, 34056, 160, 50572, 148, 49248, 36, 30032, 28, 38624, 228, 25612, 216, 30960, 36, 6228, 44, 25968, 192, 19752, 44, 14568, 212, 25796, 36, 39612, 180, 57840, 32, 12, 344, 50572, 36, 22052, 716, 156, 692, 176, 672, 220, 624, 244, 608, 260, 584, 25028, 3616, 1596, 560, 1176, 552, 316, 552, 316, 548, 320, 552, 1184, 548, 320, 548, 324, 540, 328, 536, 332, 536, 1200, 540, 328, 528, 1208, 528, 1212, 524, 344, 524, 1212, 520, 1216, 524, 1212, 524, 1212, 524, 1212, 524, 344, 524, 344, 520, 1220, 516, 352, 520, 348, 516, 376, 496, 372, 496, 348, 520, 372, 496, 372, 496, 376, 492, 376, 492, 376, 492, 1244, 488, 380, 492, 1244, 492, 376, 492, 380, 488, 376, 488, 1248, 488, 1248, 488, 384, 484, 384, 480, 388, 480, 388, 480, 388, 476, 396, 472, 396, 472, 396, 476, 392, 476, 392, 468, 400, 468, 400, 476, 392, 468, 400, 468, 400, 472, 396, 468, 1268, 472, 1268, 468, 1268, 472, 396, 468, 1268, 468, 400, 468, 1268, 468, 1268, 468, 34668, 3536, 1700, 468, 1268, 468, 400, 468, 400, 468, 380, 492, 1240, 496, 376, 492, 372, 496, 396, 472, 400, 468, 1268, 468, 400, 468, 1268, 468, 1268, 468, 404, 464, 1268, 468, 1272, 464, 1272, 464, 1268, 472, 1268, 468, 400, 468, 400, 468, 1268, 468, 400, 468, 376, 492, 376, 492, 400, 468, 400, 468, 400, 468, 404, 464, 404, 464, 404, 464, 404, 468, 400, 468, 1272, 464, 400, 468, 400, 468, 400, 468, 404, 464, 1268, 468, 404, 464, 400, 468, 404, 464, 380, 488, 404, 464, 404, 468, 400, 468, 400, 468, 400, 468, 400, 468, 404, 464, 400, 468, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 1272, 468, 404, 464, 1272, 464, 404, 464, 1272, 468, 400, 468, 34668, 3556, 1652, 520, 1240, 496, 376, 492, 372, 496, 376, 492, 1220, 520, 372, 496, 348, 516, 376, 496, 372, 488, 1248, 488, 380, 484, 1256, 484, 1252, 480, 388, 488, 1248, 484, 1252, 484, 1256, 484, 1252, 488, 1248, 484, 384, 484, 380, 484, 1256, 480, 392, 476, 388, 480, 388, 480, 392, 476, 392, 472, 396, 472, 396, 476, 392, 468, 400, 472, 396, 472, 396, 472, 396, 472, 396, 468, 400, 472, 400, 468, 400, 468, 400, 468, 400, 464, 404, 464, 404, 464, 404, 464, 1272, 468, 1268, 472, 1264, 468, 400, 468, 400, 468, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 1272, 464, 404, 468, 400, 464, 404, 468, 400, 464, 404, 468, 400, 464, 408, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 404, 464, 1272, 464, 404, 464, 1272, 464, 404, 464, 404, 464, 404, 464, 408, 460, 408, 464, 404, 464, 404, 464, 404, 464, 428, 440, 404, 464, 428, 440, 428, 440, 428, 440, 428, 440, 428, 444, 428, 436, 432, 436, 1300, 436, 1300, 436, 432, 440, 428, 436, 432, 436, 432, 440, 428, 440, 428, 440, 428, 440, 432, 436, 432, 436, 432, 436, 1300, 436, 1300, 436, 436, 432, 432, 436, 436, 432, 436, 432, 436, 436, 432, 428, 464, 408, 436, 428, 464, 404, 440, 424, 468, 404, 468, 392, 448, 428, 440, 420, 448, 424, 448, 424, 468, 400, 1312, 424, 468, 404, 464, 404, 464, 400, 472, 400, 468, 400, 1336, 400, 1336, 404, 464, 392, 476, 400, 468, 396, 472, 396, 472, 400, 468, 396, 472, 396, 1340, 400, 468, 396, 472, 400, 472, 392, 476, 396, 472, 392, 476, 396, 472, 392, 504, 368, 1368, 372, 472, 392, 500, 364, 504, 364, 1344, 404, 468, 392, 1344, 396, 1336, 404, 12636, 36, 280, 36, 24312, 188, 12732, 28, 12, 340, 31244, 140, 14540, 176, 62428, 112, 46804, 28, 12, 272, 33544, 160, 10080, 36, 4428, 36, 120, 40, 9372, 32, 12, 336, 14316, 288, 12852, 148, 15876, 44, 30244, 32, 12, 348, 100, 444, 33976, 252, 25672, 36, 35108, 372, 14408, 392, 27948, 484, 16736, 44, 12964, 216, 7296, 120, 33664, 296, 56076, 36, 17096, 40, 

Press the button on the remote now  once only

Re: Problem sending recieved codes for Daikin AC remote

Posted: Tue Feb 27, 2018 12:27 pm
by AnalysIR
It seems pretty obvious that your IR receiver is not coping well with this AC signal.

Why: Because you are getting results with vlaues <100 uSecs (a lot of them).

Causes: Most likely the IR receiver ou are using. Altenatively, battery level on remote, sunlight or other interferences.

Soloution: try another IR receiver (somethng like TSOP3448 or other 38kHz TSOPxxx38 IR reeiver from Vishay. Make sure you are pointing the remote at the IR receiver @ about 1->2m range.

Either way, please post the model of IR receiver (or link) you are using.

Re: Problem sending recieved codes for Daikin AC remote

Posted: Tue Feb 27, 2018 1:09 pm
by Ankurd477
But if my receiver is faulty then i would have not recieved correct codes for my remote controlled ceiling fan as mentioned below-

Code: Select all

Encoding  : NEC
Code      : FB19E6 (32 bits)
Timing[67]: 
     +8950, -4400     + 650, - 450     + 700, - 450     + 650, - 500
     + 600, - 450     + 650, - 500     + 600, - 550     + 600, - 450
     + 650, - 500     + 600, -1650     + 600, -1650     + 600, -1650
     + 600, -1600     + 650, -1600     + 600, - 500     + 650, -1650
     + 600, -1600     + 600, - 550     + 600, - 450     + 650, - 550
     + 550, -1600     + 650, -1650     + 600, - 500     + 600, - 550
     + 550, -1650     + 650, -1600     + 600, -1650     + 600, -1650
     + 600, - 550     + 550, - 550     + 550, -1650     + 600, -1650
     + 600, - 550     + 550
unsigned int  rawData[67] = {8950,4400, 650,450, 700,450, 650,500, 600,450, 650,500, 600,550, 600,450, 650,500, 600,1650, 600,1650, 600,1650, 600,1600, 650,1600, 600,500, 650,1650, 600,1600, 600,550, 600,450, 650,550, 550,1600, 650,1650, 600,500, 600,550, 550,1650, 650,1600, 600,1650, 600,1650, 600,550, 550,550, 550,1650, 600,1650, 600,550, 550};  // NEC FB19E6
unsigned int  data = 0xFB19E6;

Encoding  : NEC
Code      : FB29D6 (32 bits)
Timing[67]: 
     +8900, -4400     + 650, - 450     + 700, - 450     + 650, - 450
     + 650, - 450     + 650, - 500     + 600, - 500     + 650, - 450
     + 650, - 500     + 600, -1650     + 600, -1650     + 600, -1600
     + 650, -1600     + 650, -1600     + 600, - 500     + 650, -1600
     + 600, -1650     + 600, - 550     + 600, - 450     + 650, -1650
     + 600, - 500     + 600, -1600     + 650, - 450     + 650, - 500
     + 600, -1650     + 600, -1650     + 600, -1650     + 600, - 500
     + 600, -1650     + 600, - 500     + 600, -1650     + 600, -1650
     + 600, - 500     + 600
unsigned int  rawData[67] = {8900,4400, 650,450, 700,450, 650,450, 650,450, 650,500, 600,500, 650,450, 650,500, 600,1650, 600,1650, 600,1600, 650,1600, 650,1600, 600,500, 650,1600, 600,1650, 600,550, 600,450, 650,1650, 600,500, 600,1600, 650,450, 650,500, 600,1650, 600,1650, 600,1650, 600,500, 600,1650, 600,500, 600,1650, 600,1650, 600,500, 600};  // NEC FB29D6
unsigned int  data = 0xFB29D6;
[/size]

This is the code i recieved from the example IRrecvDumpV2 and was not able to get AC codes with the same example, it was asking me to increase buffer size, i increased it from 100 to 500 in library but then too the max no. of codes which i was getting was of 131 only. Then i went for this AnalysIR code. 
Below is the codes which i am receiving in IRrecvDumpV.

Encoding  : UNKNOWN
Code      : 2440C25D (32 bits)
Timing[131]: 
     +3600, -1550     + 500, -1150     + 500, - 350     + 550, - 300
     + 550, - 350     + 500, -1150     + 500, - 400     + 450, - 400
     + 450, - 400     + 500, - 350     + 500, -1150     + 500, - 400
     + 500, -1150     + 500, -1150     + 450, - 400     + 500, -1150
     + 500, -1150     + 500, -1150     + 500, -1150     + 450, -1200
     + 450, - 400     + 500, - 400     + 450, -1150     + 500, - 400
     + 450, - 400     + 500, - 400     + 450, - 400     + 450, - 450
     + 450, - 400     + 450, -1200     + 450, -1200     + 450, -1200
     + 450, -1200     + 450, - 400     + 450, - 450     + 450, - 400
     + 450, - 400     + 450, - 450     + 450, - 400     + 450, - 450
     + 450, - 400     + 450, - 400     + 500, - 400     + 450, - 400
     + 450, - 450     + 450, - 400     + 450, - 450     + 400, - 450
     + 450, - 400     + 450, - 450     + 450, - 400     + 450, - 450
     + 400, - 450     + 450, - 400     + 450, - 450     + 450, - 400
     + 450, - 450     + 450, - 450     + 400, -1200     + 450, - 400
     + 450, - 450     + 450, - 400     + 450, - 450     + 400, - 450
     + 450, - 400     + 450
unsigned int  rawData[131] = {3600,1550, 500,1150, 500,350, 550,300, 550,350, 500,1150, 500,400, 450,400, 450,400, 500,350, 500,1150, 500,400, 500,1150, 500,1150, 450,400, 500,1150, 500,1150, 500,1150, 500,1150, 450,1200, 450,400, 500,400, 450,1150, 500,400, 450,400, 500,400, 450,400, 450,450, 450,400, 450,1200, 450,1200, 450,1200, 450,1200, 450,400, 450,450, 450,400, 450,400, 450,450, 450,400, 450,450, 450,400, 450,400, 500,400, 450,400, 450,450, 450,400, 450,450, 400,450, 450,400, 450,450, 450,400, 450,450, 400,450, 450,400, 450,450, 450,400, 450,450, 450,450, 400,1200, 450,400, 450,450, 450,400, 450,450, 400,450, 450,400, 450};  // UNKNOWN 2440C25D

Encoding  : UNKNOWN
Code      : 2440C25D (32 bits)
Timing[131]: 
     +3650, -1450     + 550, -1100     + 550, - 350     + 550, - 350
     + 500, - 350     + 550, -1100     + 500, - 350     + 550, - 350
     + 500, - 350     + 500, - 350     + 500, -1150     + 500, - 400
     + 500, -1150     + 500, -1150     + 500, - 350     + 500, -1150
     + 500, -1150     + 450, -1200     + 500, -1100     + 500, -1150
     + 500, - 400     + 450, - 400     + 500, -1150     + 500, - 350
     + 500, - 400     + 450, - 400     + 500, - 400     + 450, - 400
     + 450, - 400     + 500, -1150     + 500, -1150     + 500, -1150
     + 500, -1150     + 450, - 400     + 500, - 400     + 450, - 400
     + 500, - 400     + 450, - 400     + 450, - 400     + 500, - 400
     + 450, - 400     + 450, - 450     + 450, - 400     + 450, - 400
     + 500, - 400     + 450, - 400     + 450, - 450     + 450, - 400
     + 450, - 400     + 450, - 450     + 450, - 400     + 450, - 450
     + 450, - 400     + 450, - 400     + 450, - 450     + 450, - 400
     + 450, - 450     + 400, - 450     + 450, -1200     + 450, - 400
     + 450, - 450     + 450, - 450     + 400, - 450     + 400, - 450
     + 450, - 450     + 400
unsigned int  rawData[131] = {3650,1450, 550,1100, 550,350, 550,350, 500,350, 550,1100, 500,350, 550,350, 500,350, 500,350, 500,1150, 500,400, 500,1150, 500,1150, 500,350, 500,1150, 500,1150, 450,1200, 500,1100, 500,1150, 500,400, 450,400, 500,1150, 500,350, 500,400, 450,400, 500,400, 450,400, 450,400, 500,1150, 500,1150, 500,1150, 500,1150, 450,400, 500,400, 450,400, 500,400, 450,400, 450,400, 500,400, 450,400, 450,450, 450,400, 450,400, 500,400, 450,400, 450,450, 450,400, 450,400, 450,450, 450,400, 450,450, 450,400, 450,400, 450,450, 450,400, 450,450, 400,450, 450,1200, 450,400, 450,450, 450,450, 400,450, 400,450, 450,450, 400};  // UNKNOWN 2440C25D
Can You please tell me that how is it is instructed while using AnalysIR that reciever pin is 2; from where it can be changed.


Thank You

Re: Problem sending recieved codes for Daikin AC remote

Posted: Tue Feb 27, 2018 3:58 pm
by AnalysIR
But if my receiver is faulty then i would have not recieved correct codes for my remote controlled ceiling fan as mentioned below-
...not always true...please post the information requested previously.


However, the last signal you posted seems to be a complete 64-bit signal & the only issue you should have with that would be the timing accuracy. I would be surprised if sending this last signal would not work with the sendRAW() function. Remember to put the IR emitter LED very close to the AC unit for initiial testing. (also provide details about your emitter circuit/wiring)

I cannot explain why you get different results as posted (the sketch from our website generates more accurate timings than IRrermote...so you must have some error in your approach.

Finally, when posting large amounts of data ( like code or signals....please make use of the code tags provided in the menu. => "</>". I have already edited your first post and will do the second on shortly.

Re: Problem sending recieved codes for Daikin AC remote

Posted: Wed Feb 28, 2018 7:23 am
by Ankurd477
model number of reciever is TSOP1738

Circuit we are using for transmitter is attached.
Can u please suggest that how to isolate IR receiver as sometimes it is receiving some random readings too.

-I was transmitting the last codes in previous post of size of 131 but it has none effect on the AC. I even pointed the receiver to very close of display of air conditioner but still no action.
-Can u please provide any test code for daikin AC if it is possible so that i can validate whether my transmitter is working fine or not.
-is there any service available on internet from where i could get or purchase the codes of Air Conditioners. Or any ready device which could show me the codes when i point out my remote to it and then i can write that particular code in my transmitter circuit and perform my task.
As my main motive of project is beyond this recording the data.

Thanks for the support, in need of that very much.

The arduino sketch which i am using to send ir commands is-

Code: Select all

#include <IRremote.h>

IRsend irsend;

void setup()
{

}

void loop() {
  int khz = 38; // 38kHz carrier frequency for the NEC protocol
  unsigned int irSignal[] = {3700,1450, 550,1100, 550,350, 550,300, 550,300, 550,1100, 550,350, 500,350, 550,300, 550,350, 500,1150, 500,350, 550,1100, 550,1100, 500,350,550,1100,550,1100,500,1150,500,1150,500,1150,500,350,500,400,500,1100,550,350,500,350,500,400,500,350,500,400,450,400,500,1150,500,1150,500,1150,500,1150,500,350,500,350,500,400,500,350, 500,400,500,350,500,400,450,400,500,350,500,400,450,400,500,400,450,400,500,350,500,400,450,400,500,350,500,400,450,450,450,400,450,400,500,400,450,400,450,450,450,400,450,1200,450,450,450,400,450,400,450,450,450,400,450,450,450}; //AnalysIR Batch Export (IRremote) - RAW
  
  irsend.sendRaw(irSignal, sizeof(irSignal) / sizeof(irSignal[0]), khz); //Note the approach used to automatically calculate the size of the array.

  delay(5000); //In this example, the signal will be repeated every 5 seconds, approximately.
}

Re: Problem sending recieved codes for Daikin AC remote

Posted: Wed Feb 28, 2018 1:11 pm
by AnalysIR
Circuit we are using for transmitter is attached.
Can u please suggest that how to isolate IR receiver as sometimes it is receiving some random readings too.
Circuit is fine. If you are using a standard Arduino, like a UNO or Nano (5V), then it is better to connect the IR Led to the 5V rail...as the 3V rail typically has much less current available vs 5V.
To Isolate the receiver, just use any physical barrier to shield it from other light sources, or any RF/wifi. Some times TVs can mess things up.
The receiver you are using is 20 year old technology & is probably why you are having issues. get a newer one from Vishay...avoid the really cheap ones.
If you cant see a data sheet or with a date within the last 5 years, avoid it.
-Can u please provide any test code for daikin AC if it is possible so that i can validate whether my transmitter is working fine or not.
Based on your other tests, it seems like your circuit does work. Unfortunately, I dont have a similar/sample signal readily available, without a lot of effort.
-is there any service available on internet from where i could get or purchase the codes of Air Conditioners. Or any ready device which could show me the codes when i point out my remote
Not that I am aware of at present. That is something we want to do, in the future...but it would need to be fully funded. Most of our users use AnalysIR along with one or more of our MakeIR modules (LearnIR, A.IR Shield Nano or any other A.IR Shield/module available via our web shop via https://www.analysir.com/blog/shop/.)
The arduino sketch which i am using to send ir commands is-
Looks fine. again, it would be better if you could get 'our' sketch working for better accuracy or get a more modern IR receiver.

Re: Problem sending recieved codes for Daikin AC remote

Posted: Thu Mar 01, 2018 8:02 am
by Ankurd477
Looks fine. again, it would be better if you could get 'our' sketch working for better accuracy or get a more modern IR receiver.
how can i get your sketch, can you please mail me the details on {email address removed by admin}.
Also please tell that on you shop section of you website it is mentioned that if we go and buy pro version of AnalysIR there is 10 packs written, what does this 10 pack mean.
The receiver you are using is 20 year old technology & is probably why you are having issues. get a newer one from Vishay...avoid the really cheap ones.
If you cant see a data sheet or with a date within the last 5 years, avoid it.
I have planned to buy a new receiver and test it again with the sketch if you provide and would again post it here;

Can LearnIR be used to decode AC remote signals.
I am thinking of ordering
Thanks for your support.

Re: Problem sending recieved codes for Daikin AC remote

Posted: Thu Mar 01, 2018 12:18 pm
by AnalysIR
how can i get your sketch,
https://www.analysir.com/blog/2014/03/1 ... s-arduino/

We have discontinued the 10-pack (That was an erlier option to purchase 10 copies of our AnalysIR application at a discount). However, there is currently a disount code available for AnalysIR, which you should see when you visit the blog.
Use coupon code 10offanalysir during checkout to get 10% off purchases of AnalysIR software (Maker & Pro Editions only), for a limited time only.
I have planned to buy a new receiver and test it again with the sketch if you provide and would again post it here;
We don't sell individual receivers, but we do have a range of starter kits available: https://www.analysir.com/blog/product/i ... rter-kits/
Can LearnIR be used to decode AC remote signals.
Both LearnIR and our A.IR Shield Nano will also work fine. You can also write custom sketches on the Nano.There are also options for other platforms too.

When reverse engineering AC signals, our AnalysIR application has lots of feature which help this task. If your signal is not recognised by AnalysIR we will usually add in a couple on request (does not need a code change).

Although, LearnIR also comes with a windows application (for recording the signals), we always recommend our AnalysIR application for every situation.