How can I make Universal AC remote control with Arduino?

I am working on a project to design a universal AC remote control using arduino. I will have an IR receiver on device to receive codes at the start for my device to understand what kind of AC it has to control later. Can someone guide me on the following questions?

  1. How to read AC IR remote codes in arduino? I have seen many example codes but they all give me different codes.

  2. Once we receive few codes from the AC remote control, how will our device decide on which model of AC is it so that the device can download all the relevant codes and our device imitates ac remote correctly?

  3. How can I access the list of all available ac ir codes?

Thank you.

After reading your post several times, I guess you mean air conditioning when you write AC. I thought you were controlling Alternating Current.
Perhaps you also need to consider how you will begin testing your universal control. You will need a universe of AC systems. So you should begin connecting them right now and then you will have a list of all the possible AC remote control codes.

Yes I meant AC = air conditioning. In short I m trying to make something like this. https://www.aliexpress.com/item/4001108697168.html?spm=a2g0o.order_list.0.0.223718025tSFEU

What you want is not an easy task. AC control codes are much more complex than other appliances such as TVs and audio systems for example. Did you see what it says on your device link - 'Massive IR Code Database Support 4000+ brands, 50000+ IR Code on cloud, supported devices library is constantly being updated by the cloud'.

You won't achieve the level of product that you want, but you can make a simple learning remote.

You can add an SD card, that way you can store all the commands as read from the IR receiver. Then on a computer, you can name the file.

After you have built a collection of codes, you can copy the SD card files to other remotes. With a simple screen and menu, you can switch between files. Auto-selecting based on a received signal would be muuuuch more difficult.

You aren't likely to find this, if you do using it in Arduino is going to be difficult.

You will have to experiment. I made my uber basic one by recording and testing with a couple different examples until I got one to work. That's the fun part :slight_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.