I am a bit confused as to which category my question belongs to.
I have a universal AC remote. I want to extract the codes out of it and feed some of them selectively into my arduino to allow it to perfrom specific functions, like I want it to become a remote for all ACs of a particular company. I also want to have a look at the codes and understand how the communication between AC and remote is taking place.
How can I go about extracting the codes from a universal remote?
AC remote codes tend to be way more complicated than for example TV remote codes.
A TV remote just sends a code for the button you just pressed.
Most AC remotes send a complete parameter set every time you press a key.
When you press ON it sends a code that tells your unit many things like that it's supposed to be powered on, at 22 degrees, heating mode, with alternating air diffusers etc.
The codes you need to capture are often hundreds of bits.
I recommend the sketch from this page for recording codes:
There are several discussions on this subject in the Home Automation section of this forum.