Martin's corner on the web

Re-vamping my Daikin Internet Air-conditioner controller

I’ve created a new shield for my micro Internet of Things gateway to allow driving an IR LED, added a micro SD card slot, FTDI pinout for easy programming and a visible status LED. I also added a TMP36 temperature sensor to sense the room temperature:

IR_shield

The idea is to plug it on-top the uIOT and re-vamp my Daikin Internet controller.

The final product now looks like this

IMG_2232 IMG_2233 IMG_2234

The Daikin Internet remote control unit emulates the ARC433** IR remote control that many modern Daikin split air conditioners use. It allows the user to remotely control the AC over the Internet, using the in-built web server, which you can access using your mobile phone, tablet or laptop from anywhere in the world.
The unit includes a microSD card slot for firmware updates. Should there be newer firmware version, the user can save it to a SD card and the unit will automatically be re-flashed with it. This is possible due to the 2boots project I worked on earlier.

Board dimensions are width 38mm depth 20mm and height 16mm i.e. a quarter of my original project.
For the advanced use, JSON status string is available if the unit is queried at the default IP address, http://192.168.1.55/json it will return:

{“state”:”0″,”mode”:”4″,”temp”:”21″,”fan”:”176″,”aux”:”0″,”roomt”:”22.9″}

State has values 0 or 1 meaning off/on
Mode has meaning
3 = Cool
4 = Heat
0 = AUTO
2 = DRY

Temp shows the set temperature

Fan shows the fan speed and has the following meanings:
176=Night mode
160=Auto
48=Speed 1
80=Speed 2
112=Speed 3

Aux shows the aux mode i.e.
0=Normal
1=Powerful
16=Silent

Roomt is the room temperature in degrees Celsius detected by the on-board TMP36 temperature sensor

JSON can be used for automation scripts, for example I use a PHP script to check outside temperature and decide on weather I need heating/cooling. Also, based on other criteria I may increase/decrease the set temperature during nights for better efficiency.

The unit can take remote commands using query string, for example

http://192.168.1.55/r?d=4&t=21&f=176&a=0&s=1

will set the AC in heat mode (see above for details), temperature 21, fan speed to ‘night mode’, normal mode and state ON.

Some pictures of the UI:

Complete user manual is available here

You can buy one in the shop

14 thoughts on “Re-vamping my Daikin Internet Air-conditioner controller

  1. Francis

    Hi,
    if I power this controller through a micro-usb cable plug into Apple usb power adaptor which provide DC 5V, 1A will it be too much? I’ve read that the uIoT board alone can take 3.3V.

    Thanks

  2. Dr. Zee

    Is it possible to make a version that works with the Winodes? and Nanode RF?

    I have 3 units that I would like to control remotely but dont have ethernet in all rooms. Also the Winodes are battery powered which will completely eliminate the need for any cabling.

    1. Martin Post author

      It is possible, given someone has the time and enthusiasm to do it 🙂
      Ethernet is not a problem since you can use access point (WIFI to Ethernet bridge)

      1. Dr. Zee

        Martin, is there a way we may be able to discuss this off this news group? Directly on mail?
        I may have the enthusiasm to do it – but since i know nothing about the Winodes or Nanodes RF I may need to get some pointers from you first.

  3. Peter

    Martin,
    Can I use the code on an Arduino Uno (or Mega, or any Arduino board)? I am not into programming and I will be glad if you give me a hint on what should be adjusted. Having difficulties compiling the code so far (EtherCard.h:25: error: expected class-name before ‘,’ token).
    Any help will be appreciated.

    1. Martin Post author

      The code was specifically designed to run on Nanode, the errors you are seeing are because it is looking for the Ethernet connectivity. You could adapt the code to run on Arduino without Ethernet connectivity and just control it from your computer; that should not be so hard to do.

      1. Peter

        Thanks for your prompt response. If I use Arduino Uno (or nano) which also uses atmega328 and the 28j60 ethernet module connected to it, may I achieve the full functionality by adjusting the code? At the end I want to control it over the Internet. What do you think?

  4. Tom

    Like most things that work well I hardly notice how incredibly handy this device is and how seamlessly it has become part of my house. Than you for the effort you put into its design.

  5. Pingback: Presence detection using phone’s WiFi and Node-RED | Martin's corner on the web