Page 1 of 1

How to send two raw codes to control AC

Posted: Mon Sep 30, 2019 9:40 pm
by jonalama
Hello,

I want to control my AC using two raw codes (one for Power On an the other for Power OFF). I would like to know if it is possible to identify each of them to get recognized also from Bluetooth HC-05 in order to be able to control the AC via Android as below :

I am using IRsendRawcode example of IR remote library.

Could you please give me a hint?

Thank you in advance

Re: How to send two raw codes to control AC

Posted: Tue Oct 01, 2019 10:11 am
by AnalysIR
Unfortunately, you have not provided enough details/specifics for me to be of much help.

sendRAW will work fine (as long as you have enough RAM).

Also...check out
- our blog post on recording long AC signals (works better than IRremote & is more accurate with timings)
- our blog post on sending long signals with Arduino from flash, which may of itself solve you issue. (Doesnt use up scarce SRAM)

Re: How to send two raw codes to control AC

Posted: Tue Oct 01, 2019 8:29 pm
by jonalama
Hello,

Thank you for your help, it really worked with the code from blog post on sending long signals with Arduino from flash.
But what I really want, is not to send several signals with a command.
I want to put a condition for each signal in order to send them. For ex. if i send "on" turn on the ac, if i send "off" turn off the ac...

I dont know if I did explained well..

Re: How to send two raw codes to control AC

Posted: Wed Oct 02, 2019 2:18 pm
by AnalysIR
search for 'Arduino serial command parse' on google

Re: How to send two raw codes to control AC

Posted: Mon Feb 10, 2020 5:16 pm
by TateStiroh
Hi...I wanted to build an air conditioner IR controller, and wanted help if figuring out if I can use the Wio Link and Grove components to make this work?
The first phase would be to control the A/C to switch between COOL and FAN based on temperature. Future phases will include using my phone when away from the house to turn on A/C, and other ideas.

seo toronto

Re: How to send two raw codes to control AC

Posted: Mon Feb 10, 2020 5:31 pm
by AnalysIR
I guess it is possible with that equipment. However I have not verified this platform or the components used.

Of course, I would always recommend out own modules, available via our online shop (link above).

Specifically, our range of A.IR shield modules:
A.IR Shield ESP8266 TRx (and TX only)
A.IR Shield ESP32 TRx (and TX only)
..we also have a range of other solutions that are designed with only high quality IR components.

We also have a number of posts on our blog that help with AC infrared signals and our AnalysIR application is by far the best tool available for IR.