Skip to content

william57m/fujitsu-ac-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • fujitsu-ac-arduino.ino is the main file containaing the main loop for the Arduino. It listens RF433 code and generate IR sequence to be sent to the AC.
  • commands.h contains the simple IR commands (Turn off, toggle swing, toggle airclean, set the wing position)
  • command-generator.ino provides a function generateCommand which allow to generate complex IR sequence containing all the settings for the AC (Master mode, fan mode, temperature)

Usage

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

Here is the code for the simple operation

  • 15001: Turn off
  • 15002: Toogle airclean
  • 15003: Toogle swing
  • 15004: Set wing position

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:

  • 18 to 30 (degree celsius)

Master mode

  • 0: auto
  • 1: cool
  • 2: dry
  • 3: fan

Fan mode

  • 0: auto
  • 1: high
  • 2: med
  • 3: low
  • 4: quiet

Toggle on

  • 0: send command when AC is already on
  • 1: send command when AC is off

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published