william57m / fujitsu-ac-arduino

6 stars 0 forks source link

Fujitsu AC Remote for Arduino

Allow to control a Fujitsu ASU12CQ with infrared.

Architecture

Here is the architecture for my setup.

I chose to use an Arduino Nano as it can fit directly into the AC, so nothing is visible from the outside. It is alimented directly from the power of the AC with a transformer and is reachable through RF433.

[RaspberryPi] ---> RF433 ---> [Arduino Nano] ---> IR ---> [AC]

Files

Usage

To control the AC over RF433, you need to send an integer code.

Here is the code for the simple operation

For the control of the master mode, fan mode, the temperature and to turn it on here is the template of the code to send.

RF Code template

{2}temperature{1}mastermode{1}fanmode{1}toggleon

Temperature:

Master mode

Fan mode

Toggle on

Example

To turn on the AC on 22 degree on auto mode and fan quiet here is the code to send: 22041 (22 for 22 degree, 0 for master on auto mode, 4 for fan on quiet mode and 1 to turn on the AC)

Analyze

The docs folder contains some documents I produced for the analyze of the IR sequence. The most interesting part is in the ir_analyze.numbers file which show the difference of the sequence for each mode/temperature.