Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 20046

Re: Simulate 38kHz IR signal for remote on Galileo

$
0
0

Hi AllynH,

very good!!!

The program works good.

I will put some more things for the consolle....

As I wrote before, I checked the quality of the signals using the audio card of my mac.

I assumed that at low frequency (around 1000Hz) the relation "delayValue = max freq / expected freq"  (460 = 460.000 / 1000) is perfect.

But when i want to generate a higher frequency (around 15.000Hz) i got an output quite different with an error about 10-15%. More I go higher, and higher is the error (%).

As I told you I'm using the audio card of my macbook pro, so probably there is a mistake in computing etc...

Can you assure that the frequency you got (38.4KHz = 460KHz / 12) is really that?

I also supposed that probably we are using the same timer used to clock the uP.

One friend of mine suggested me to use one timer for the output (exactly as you did) and another timer to valuate the delay happened and correct it. I hope to have been clear  ;-)

 

Please let me know what do you think about.

 

Thank you again for your help and support.

 

Cris


Viewing all articles
Browse latest Browse all 20046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>