Hello Rob, I know these sources and used this info at the time. Unfortunately didn't work. I then used my graphical trick and discovered minimal differences which apparently are crucial and depend on the type of device and type of remote control. The values I found my way worked perfectly and so did the unit I made. But only to switch the heating on and off in time. Because my sight is getting less and less, I was dreading working this way again. Unfortunately, I didn't manage to get the series of zeros and ones right on my screen. regards Hans
Op zondag 3 september 2023 om 19:23:27 UTC+2 schreef Rob CJ: > Hi Hans, > > Your plan is to send Daikin commands to your airconditioning and you need > some software to get the commands that you need? > > I think the commands you need can be found on the internet (you will nog > be the first person who wants to do that). > > If you have the commands from the internet, then the only thing remaining > is sending out the data according to the protocol, correct? > > I found this by Googlw: https://github.com/blafois/Daikin-IR-Reverse or > https://www.instructables.com/Reverse-engineering-of-an-Air-Conditioning-control/ > > <https://www.instructables.com/Reverse-engineering-of-an-Air-Conditioning-control/> > Reverse Engineering Air Conditioner IR Remote Control Protocol > <https://www.instructables.com/Reverse-engineering-of-an-Air-Conditioning-control/> > Reverse Engineering Air Conditioner IR Remote Control Protocol: Hi, this > is my first instructable, hope you like it. To get into electronics I chose > a home automation project: a system allowing me to control and program both > air conditioner units in my flat. In this instructable I show how I got to > understa… > www.instructables.com > > So when you have the commands you can use the software you already created > to send the data out. > > Is my assumption correct or is it something else you want to achieve? > > Thanks. > > Kind regards, > > Rob > > > ------------------------------ > *Van:* jal...@googlegroups.com <jal...@googlegroups.com> namens hans < > hanz...@zeelandnet.nl> > *Verzonden:* zondag 3 september 2023 16:05 > > *Aan:* jallib <jal...@googlegroups.com> > *Onderwerp:* Re: [jallib] DAIKIN REMOTE > Okay Rob. > After 4 days of struggling and a mess of results, I followed my wife's > advice. I'm going to start with the old graphics approach. > Make an audio recording, greatly enlarge and print it and then write down > the series of zeros and ones > . For example, I made my circuit earlier and last winter it switched the > air conditioners on and off according to the program as heating. > Remains with me the respect for the programs you all can make. > regards > Hans > > Op donderdag 31 augustus 2023 om 18:48:01 UTC+2 schreef Rob CJ: > > 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:* jal...@googlegroups.com <jal...@googlegroups.com> namens hans < > hanz...@zeelandnet.nl> > *Verzonden:* donderdag 31 augustus 2023 12:00 > > *Aan:* jallib <jal...@googlegroups.com> > *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:* jal...@googlegroups.com <jal...@googlegroups.com> namens hans < > hanz...@zeelandnet.nl> > *Verzonden:* dinsdag 29 augustus 2023 16:44 > *Aan:* jallib <jal...@googlegroups.com> > *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:* jal...@googlegroups.com <jal...@googlegroups.com> namens hans < > hanz...@zeelandnet.nl> > *Verzonden:* maandag 28 augustus 2023 13:33 > *Aan:* jallib <jal...@googlegroups.com> > *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 jallib+un...@googlegroups.com. > 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 jallib+un...@googlegroups.com. > 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 jallib+un...@googlegroups.com. > 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 jallib+un...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jallib/c8bba366-6700-4962-b8e9-3b20a6573be0n%40googlegroups.com > > <https://groups.google.com/d/msgid/jallib/c8bba366-6700-4962-b8e9-3b20a6573be0n%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 jallib+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/5b73ae45-1435-4e92-9ef6-5aa089661241n%40googlegroups.com.