Hi Hans, What you could do is modify the NEC decoder library and change the bit times and the number of bits. Since you know which bit time is 1 and which is 0 this should be douable.
The NEC prototol also starts with a pulse more or less the same as the Daikin, followed by bytes of data and a stop bit. You find the info in the library. The protocol is as follows. -- Specification of NEC IR protocol: -- Logical '0': A 562.5 us pulse burst followed by a 562.5 us space, -- with a total transmit time of 1.125 ms -- Logical '1': A 562.5 us pulse burst followed by a 1.6875ms space, -- with a total transmit time of 2.25 ms -- *) Start with 9 ms leading pulse burst (16 times the pulse burst length used -- for a logical data bit) followed by a a 4.5 ms space. -- *) 8-bit address for the receiving device or 16 bit for the extended protocol -- *) 8-bit logical inverse of the address or high byte for the extended protocol. -- *) 8-bit command. -- *) 8-bit logical inverse of the command. -- *) Final 562.5 us pulse burst to signify the end of message transmission. -- *) The four bytes of data bits are each sent least significant bit first. -- *) After a command is tranmitted and the key on the remote control is still -- pressed only a repeat message is sent consisting of a start pulse of -- 9 ms, followed by a 2.25 ms space. Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens hans <[email protected]> Verzonden: donderdag 31 augustus 2023 12:00 Aan: jallib <[email protected]> Onderwerp: Re: [jallib] DAIKIN REMOTE The remote control read on a KY-022 is HIGH at rest. 1. 350 us low 2. 120 us high 3. Then always the 19 bytes burst = 450 us, 0 =350 and 1 =1190 4. Followed by 19 bytes of which the first 4 are always equal 17,218,39,0 I am now reading this out in an audio program and then puzzle the matter out. Is this a way for someone who handles pics ?? / Yes, for a klutz like me it is. Unless some Jal_scholar can help me with a program that just reads that array of values. Op dinsdag 29 augustus 2023 om 19:44:02 UTC+2 schreef hans: This info is not correct for my units but helped me to understand. https://github.com/blafois/Daikin-IR-Reverse Op dinsdag 29 augustus 2023 om 19:31:49 UTC+2 schreef hans: Hi Rob Thank you. NEC is therefore: -- Logical '0': A 562.5 us pulse burst followed by a 562.5 us space, -- with a total transmit time of 1,125 ms -- Logical '1': A 562.5 us pulse burst followed by a 1.6875ms space, -- with a total transmit time of 2.25 ms My system currently works with: -- Logical '0': usec_delay(450) pulse burst followed by a usec_delay(350) space, -- with a total transmit time of 800 -- Logical '1': usec_delay(450pulse burst followed by a usec_delay(1190) space, -- with a total transmit time of 1640 Some publications mention 500 followed by 440 or 1300 uS If I am able to read the different ranges of the remote control, I think I can get further. regards Hans Op dinsdag 29 augustus 2023 om 18:43:48 UTC+2 schreef Rob CJ: Hi Hans, What I see on Internet about the Daikin protocol is that the message length is not always the same and that is not the same as the NEC protocol which has a fixed length. But I may be wrong. I attached the two files to this discussion. Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens hans <[email protected]> Verzonden: dinsdag 29 augustus 2023 16:44 Aan: jallib <[email protected]> Onderwerp: Re: [jallib] DAIKIN REMOTE I think NEC is the same system and am therefore looking for the libs for this. I can't handle the Gitthub . Where can I find the libs 16F877a_nec_rc_decode.jalr and the nec_rc_decoder.jal Op maandag 28 augustus 2023 om 20:46:19 UTC+2 schreef hans: Hello Rob, Searching the internet is my basic approach. What I found doesn't work for me. I now know what a bit looks like and I know its structure. I would now like to have a program that can read those bits concatenated into bytes I have no idea how I would go about doing that. regards Hans Op maandag 28 augustus 2023 om 19:04:20 UTC+2 schreef Rob CJ: Hi Hans, Maybe look on the internet if people already figured this out. I saw there is some info there but not sure if that is the info you are looking for. BTW. A tip for your program. You are declaring an array with constant values as var. You can save RAM memory by defining the array as const. You have way more const memory than var memory. Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens hans <[email protected]> Verzonden: maandag 28 augustus 2023 13:33 Aan: jallib <[email protected]> Onderwerp: [jallib] DAIKIN REMOTE Daikin air conditioner remote control. I have two daikins that are operated with infrared. After hours of puzzling, I've come to the point where I can turn them both on and off in the heating position. I would also like to know the other functions, but I dread all that work. I read the remote control with a scope and then figure out the values. Is there anyone who has already done this? Otherwise I would like to have a system to read the signals from the remote control. regards Hans -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/2c2df2f5-f93b-403d-a414-a52cf4504571n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/2c2df2f5-f93b-403d-a414-a52cf4504571n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/7dda8812-a46c-49fe-b8f9-a3e42b86ad1an%40googlegroups.com<https://groups.google.com/d/msgid/jallib/7dda8812-a46c-49fe-b8f9-a3e42b86ad1an%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/3dc7f3e5-98dd-403f-a7bf-6347bec14ee8n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/3dc7f3e5-98dd-403f-a7bf-6347bec14ee8n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/GVXP195MB163745DBA84B8BC0190CB40EE6E5A%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.
