AC signal troubleshooting - Carrier brand unit

Everything related to protocols and IR codes
Aldagoni
Posts: 10
Joined: Thu Apr 03, 2014 2:48 pm

AC signal troubleshooting - Carrier brand unit

Post by Aldagoni »

Hi guys, I 'm trying to use the IRremote library to create an IR universal remote for air conditioners, until now, I can control most of Air conditioners that i have, but I'm having problem with one of the brand CARRIER, i am using the IRrecord example, an ARDUINO UNO, the data stored by the code is as follows:

Received unknown code, saving as raw
m4500 s1150 m100 s800 m200 s2050 m650 s1500 m650 s450 m650 s1500 m650 s1500 m650 s450 m700 s400 m700 s1450 m650 s450 m650 s450 m550 s1300 m900 s500 m700 s450 m650 s1150 m950 s1550 m650 s450 m550 s1600 m650 s450 m650 s1500 m700 s400 m550 s1600 m650 s1500 m650 s1500 m650 s1500 m700 s1450 m700 s1450 m600 s500 m650 s1500 m700 s400 m650 s500 m650 s400 m700 s400 m700 s400 m700 s450 m600 s500 m650 s1100 m950 s1050 m50 s500 m550 s550 m650 s450 m650 s450 m650 s450 m650 s1500 m650 s1500 m700 s400 m650 s450 m700 s1450 m700 s1450 m700 s1450 m700 s1450 m600 s4650 m4550 s4300 m600 s1500 m650 s450 m700 s1500 m550 s1600 m650 s450 m650 s450 m650 s1450 m700 s450 m650 s400 m600 s1550 m700 s450 m650 s400 m700 s1500 m650 s1550 m600 s450 m600 s1550 m650 s450 m650 s1550 m600 s450 m650 s1550 m600 s1550 m650 s1500 m650 s1500 m650 s1500 m650 s1500 m650 s400 m700 s1450 m650 s450 m650 s500 m650 s450 m650 s450 m650 s450 m650 s450 m650 s450 m600 s1550 m650 s1500 m550 s550 m650 s450 m650 s450 m650 s450 m600 s1600 m650 s1500 m650 s450 m650 s450 m650 s1500 m650 s1550 m600 s1550 m500 s1650 m600

I set the RAWBUF in 200 - 350 and checked with my camera that the ir led blinks.

however the CARRIER one does not respond, any ideas about what could be the problem??

thing is, that i get my IR receiver from an old dvd player, could that be the problem?

thanks a lot!
You do not have the required permissions to view the files attached to this post.
Ale Gonzalez Nicolicchia
User avatar
AnalysIR
Site Admin
Posts: 776
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: AC signal troubleshooting - Carrier brand AirCon unit

Post by AnalysIR »

Hi
Please post the output of the IRrecvDump sketch.

It looks like Raw(nn): 3500 -1750 560 -560 etc.

Its much easier for me to import.

Alternatively, if you have a copy of AnalysIR, you could just post the Session History file (Menu->File->Save Session then Menu->File->Explore)


I will have a look at it once you post the info.

Also please post the exact model number of both the AC unit & the remote control.

Finally, is the model number of the IR receiver 2236 or 2238?


tnx
User avatar
AnalysIR
Site Admin
Posts: 776
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: AC signal troubleshooting - Carrier brand unit

Post by AnalysIR »

OK

I was able to import your data easy enough.

Unfortunately, it looks like it may be your IR receiver isnt up to the job of Air conditioner Infrared signals. It was probably designed to reject signals not matching the original DVD characteristics. The TK may refer to telefunken, which is now Vishay and this woul suggest AGC 2, which wouldnt be the best for longer signals.

See the screeenshot below. We also have a list of IR receivers that have been reported to work with long signals.
http://www.analysir.com/joomla/IRforum/ ... p?f=5&t=16

Alternatively, if you have a copy of AnalysIR you can avail of our IR starter kits offer, for a selection of the best IR components.
You do not have the required permissions to view the files attached to this post.
Aldagoni
Posts: 10
Joined: Thu Apr 03, 2014 2:48 pm

Re: AC signal troubleshooting - Carrier brand unit

Post by Aldagoni »

thanks for answer me! right now I am in work, but as soon as I get home I will look at the model number of the remote, the model number of the A/C unit is 38MPQ2405, the receiver`s model number is TK 2236, yesterday I tried to control a GOODWEATHER unit, and something funny happened, the unit only responds if I send the signal in an angle of 90 degrees, unfortunately I do not have the model of that A/C, may that be because of the incorrect type of IR Receiver that I am using?
the thing is, I am running out of time to finish this proyect, it is my final university proyect, the idea is to create a device that control most of air conditioners as posible, using a web interface, the device must be interoperable with a domotic system, but that is an history for another time.

I am really interested in buying the AnalysIR, will you recommend it for people with very limited programming knowledge?, I want to buy some of the kits to, but we do not have paypal system in my country, is there another way to purchase it? another thing, I am from Paraguay, so I wonder how much time it is going to take for the components to arrive. (because of my running out of time issue).

thanks again for the help, and sorry for the many questions and my poor english.
regards

Ale Gonzalez Nicolicchia
Ale Gonzalez Nicolicchia
User avatar
AnalysIR
Site Admin
Posts: 776
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: AC signal troubleshooting - Carrier brand unit

Post by AnalysIR »

Normally, international delivery is 5-10 working days for component kits, but South America may be longer.

If you are OK with Arduino, AnalysIR will be OK.

Unfortunately, paypal is the only method available. You may be able to use a credit card to pay via PayPal.
Aldagoni
Posts: 10
Joined: Thu Apr 03, 2014 2:48 pm

Re: AC signal troubleshooting - Carrier brand unit

Post by Aldagoni »

Hello, this is the signal I recieve with the IRrecvDump example:

25ABB3E8
Unknown encoding: 25ABB3E8 (32 bits)
Raw (208): 17064 4600 -1050 200 -550 200 -450 150 -1600 750 -1400 750 -350 750 -1400 850 -1400 650 -450 700 -400 750 -1400 750 -350 800 -300 800 -1400 750 -350 750 -350 750 -1400 750 -1400 750 -350 700 -1450 800 -350 750 -1400 750 -1400 750 -1400 750 -1400 700 -400 750 -1400 800 -1400 750 -1400 750 -350 750 -350 750 -350 750 -350 800 -1050 1050 -400 700 -400 700 -1450 800 -1400 650 -1500 750 -350 750 -350 750 -350 750 -350 800 -300 800 -350 750 -350 750 -350 750 -1250 900 -1400 800 -1350 700 -1450 850 -1350 700 -4600 4600 -1300 150 -2750 750 -1450 700 -350 800 -1400 750 -1400 750 -350 750 -350 750 -1400 800 -300 800 -350 750 -1400 750 -350 750 -350 750 -1400 600 -1550 750 -350 800 -1400 750 -350 600 -1550 750 -1400 750 -1400 800 -1400 800 -300 650 -1550 750 -1400 750 -1400 750 -350 800 -300 800 -350 750 -300 800 -1400 600 -500 700 -400 700 -1450 800 -1350 750 -1400 800 -350 700 -400 800 -350 750 -350 750 -350 750 -350 750 -350 800 -350 750 -1350 750 -1450 700 -1450 750 -1400 750 -1400 750
(with RAWBUF set at 300)

F6947AD3
Unknown encoding: F6947AD3 (32 bits)
Raw (206): -23778 4650 -1300 250 -300 450 -1900 750 -1400 750 -350 750 -1400 700 -1450 750 -350 750 -350 750 -1400 750 -350 750 -350 750 -1050 150 -200 750 -350 750 -350 750 -1400 700 -1450 750 -350 750 -1400 750 -350 750 -1400 750 -1400 750 -1400 800 -1350 750 -350 750 -1400 750 -1400 750 -1400 750 -350 750 -350 800 -300 800 -300 700 -1100 1150 -300 800 -300 750 -1400 800 -1400 750 -1350 800 -300 800 -350 750 -300 800 -300 800 -300 800 -350 700 -350 800 -300 800 -1100 1000 -1250 950 -1400 750 -1400 750 -1400 750 -4450 4600 -4200 600 -1550 750 -350 800 -1350 700 -1450 750 -350 800 -300 750 -1400 750 -400 750 -300 650 -1500 750 -400 750 -350 750 -1400 800 -1350 750 -350 750 -1400 650 -450 650 -1500 750 -1400 750 -1450 750 -1350 750 -350 750 -1400 800 -1350 750 -1400 650 -450 750 -350 750 -400 750 -300 650 -1550 700 -400 700 -400 750 -1400 600 -1550 750 -1400 750 -350 750 -350 750 -350 750 -350 750 -350 750 -350 750 -350 750 -350 600 -1550 750 -1400 750 -1400 750 -1400 750 -1400 750
(with RAWBUF set at 255)turn off the unit

F83F46D5
Unknown encoding: F83F46D5 (32 bits)
Raw (206): -12952 4650 -1050 150 -600 250 -2150 750 -1400 750 -350 750 -1400 800 -1350 750 -350 800 -300 650 -1500 800 -300 800 -300 650 -1100 150 -250 800 -300 800 -350 750 -1350 800 -1350 650 -450 650 -1500 800 -350 750 -1350 800 -300 800 -1400 750 -1400 750 -1400 750 -1400 750 -1350 650 -1550 750 -350 750 -1400 750 -350 750 -350 750 -350 750 -300 800 -350 750 -350 750 -300 800 -1150 1050 -1400 750 -350 750 -350 750 -300 650 -500 750 -1400 750 -1400 750 -350 750 -350 750 -1400 750 -1400 750 -1400 750 -1400 750 -4500 4600 -4200 650 -1500 800 -300 800 -1350 800 -1350 800 -350 750 -350 750 -1400 750 -350 750 -350 750 -1400 750 -350 750 -350 750 -1400 750 -1400 750 -350 750 -1400 800 -300 800 -1350 800 -300 800 -1400 750 -1350 650 -1550 750 -1400 750 -1400 750 -1350 800 -300 800 -1400 750 -350 750 -350 750 -350 750 -300 800 -300 800 -350 750 -350 750 -1400 750 -1400 750 -350 750 -350 750 -350 750 -300 800 -1350 800 -1400 800 -300 600 -500 750 -1400 800 -1350 650 -1500 800 -1350 650
(with RAWBUF set at 255) turn on the unit


I am sending pictures of the remote control
You do not have the required permissions to view the files attached to this post.
Ale Gonzalez Nicolicchia
Aldagoni
Posts: 10
Joined: Thu Apr 03, 2014 2:48 pm

Re: AC signal troubleshooting - Carrier brand unit

Post by Aldagoni »

I would like to know if is possible to record infrared signals in the EEPROM, I understand that each address of EEPROM can store up to 1kb, in that case one direction would be sufficient to record each pulse of the signal sent? or does it going to take two direction to store each pulse?? could you point me some link if you know one, where I can read about infrared signals stored in EEPROM? or where I could find an examples that does that??
for what I see in the code, it splits marks and spaces in ticks of 50 us, and that value is what I have to save in the EEPROM right? so if that value does not exceed 255, I would just need to use one address of the EEPROM right?

thanks a lot for your help!!
Ale Gonzalez Nicolicchia
User avatar
AnalysIR
Site Admin
Posts: 776
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: AC signal troubleshooting - Carrier brand unit

Post by AnalysIR »

Hi

I looked at the latest signals you posted and they are also corrupted. So your IR receiver does not seem to be able to accurately read the signal from your Carrier remote.
You need to get a better IR receiver.

The Arduino has 512 bytes of eeprom. and it looks like your signal has circa 100 bits of data. You are right you could just divide by 50 for signals captured with IRremote and just save each value as one byte in eeprom. This gives you a max mark/space length of 12750 uSecs, which looks OK for your signal.

However, a better idea would be to calculate the limited number of mark/space lengths and just save the bits in binary and then send from the bit storage.

Even better would be to fully decode the fields of the signal and you would then be able to generate them directly from code.


Finally, once you get your signal captured, we can also show you how to send the signal from flash memory, which is much bigger ;)

Post back when you get a better IR Receiver.
Aldagoni
Posts: 10
Joined: Thu Apr 03, 2014 2:48 pm

Re: AC signal troubleshooting - Carrier brand unit

Post by Aldagoni »

Hi there,

thanks for the quick support, I finally got AnalysIR, I have no idea how it works but I am going to check it out this weekend, the algorithm of my IR remote is working quite well, now I can store data in the EEPROM and can reproduce those signals through commands given via serial communication, what I need now is to save a series of commands in the EEPROM and play them in the order they are requested, via serial communication, I still do not get to do that, but I will continue trying. with the new IR sensor (TSOP38238)I am perfectly able to control the air conditioner brand CARRIER, that is not an issue anymore. but now, when I try to decode and store signals from any air conditioner remote some times my device (IR remote prototype) does not receive all the pulses of the signal sent by the air conditioner remote, sorry for my english, I do not know if I made my self clear.

I am very interested in being able to save data in flash memory, if you could show me how to do that, it would be great.

thanks
Ale Gonzalez Nicolicchia
User avatar
AnalysIR
Site Admin
Posts: 776
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: AC signal troubleshooting - Carrier brand unit

Post by AnalysIR »

What firmware (or library) are you using to capture the AC signals that you are having a problem with.

What MCU are you using?

You can store the Aircon IR signals using PROGMEM in Flash. If you don't know how to use it, I can email you an example sketch.
Post Reply