How to clean IR signals on Arduino?

Everything related to protocols and IR codes
Post Reply
javiercuellar
Posts: 19
Joined: Wed Mar 30, 2016 9:15 pm

How to clean IR signals on Arduino?

Post by javiercuellar »

Hi.

Any suggestions on how to "clean" raw signals received on Esp8266? (Using Arduino IDE)

I have a working device that reads signals, stores, and retransmits. Signals are from AC, TV, DVD...

I basically use Arduino IRremote library, and examples from that lib.

Any suggestions very appreciate.

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

Re: How to clean IR signals on Arduino?

Post by AnalysIR »

Yes, If you have a copy of AnalysIR, you can record the signals, clean them & then export into IRremote format.

Without a copy, just manually edit the raw timings to the correct values.
javiercuellar
Posts: 19
Joined: Wed Mar 30, 2016 9:15 pm

Re: How to clean IR signals on Arduino?

Post by javiercuellar »

Hi.

Thanks for the reply. I have AnalysIR (great product!!), bought it 2 years ago.

Basically, I need to learn how timing works. Any source where to learn?

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

Re: How to clean IR signals on Arduino?

Post by AnalysIR »

https://www.sbprojects.net/knowledge/ir/index.php

This site covers many of he common Ir protocols & timings.

The timings for 100+ protocols are available in AnalysIR...rules tab, properties window & ini file

The clean function is available under the power tools menu & the export feature.
User avatar
AnalysIR
Site Admin
Posts: 776
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: How to clean IR signals on Arduino?

Post by AnalysIR »

https://www.sbprojects.net/knowledge/ir/index.php

This site covers many of he common IR protocols & timings.

The timings for 100+ protocols are available in AnalysIR...rules tab, properties window & ini file

The clean function is available under the power tools menu & the export feature.
javiercuellar
Posts: 19
Joined: Wed Mar 30, 2016 9:15 pm

Re: How to clean IR signals on Arduino?

Post by javiercuellar »

Hi.

I have this 2 signals that works with an AC.

Off
RAW(59):8500,-4200,600,-1550,600,-500,600,-500,600,-500,600,-1550,600,-500,600,-500,600,-500,600,-1550,600,-1550,600,-500,600,-500,600,-500,600,-500,600,-500,600,-500,600,-500,600,-500,600,-500,600,-500,600,-500,600,-1550,600,-500,600,-1550,600,-500,600,-500,600,-500,600,-1550,600


20°C
RAW(59):8496,-4014,562,-1484,562,-438,588,-406,562,-436,562,-436,558,-1488,562,-1482,588,-412,588,-408,562,-436,562,-458,536,-438,562,-1488,558,-438,586,-412,562,-432,588,-412,562,-1484,562,-438,588,-1458,562,-438,562,-432,562,-436,588,-432,536,-1488,562,-1484,562,-436,562,-1484,562


The OFF is recognize by AnalysIR as LG28AC
The 20°C is not recognize be AnalysIR

Both work when send from my device (20°C sometimes doesn't).
I know that this signal doesn't have the exact timing (thats why AnalysIR doesn't recognize it). I need to "clean" but don't know how. Basically I need an algorithm because need it into Arduino.

Ex. RAW(59):8496 should be RAW(59): 8500
but 438 should be 400? 450?

Ex. -4014 looks like it should be 4000, but compared with the "off" signal it should be 4200 :cry:

How to figure this out? :?

Maybe we can have a skype or whatsapp metting were you can sell me a couple of hours as a consultant. Could be?

Best regards

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

Re: How to clean IR signals on Arduino?

Post by AnalysIR »

To clean, use the option in the Power Tools menu!

If you import the 20degC signal into AnalysIR. Then turn the tolerance slider up full to 100% and click the analyse button.

It will then be recognised as LG28AC. Then you can clean it as above.

This worked for me, just now. :)
javiercuellar
Posts: 19
Joined: Wed Mar 30, 2016 9:15 pm

Re: How to clean IR signals on Arduino?

Post by javiercuellar »

Excellent!! Thanks.
Now I need to to the same in an arduino sketch. Could you teach me?
As stated before, I want to hire your services as a consultant. :) Could be?
User avatar
AnalysIR
Site Admin
Posts: 776
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: How to clean IR signals on Arduino?

Post by AnalysIR »

I have emailed you directly about your support request.
Post Reply