Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Best way to read a signal?

2006-03-16 by Filipe Pereira

My first idea is not to use a receiver with built-in demodulator, because i don't now how to reproduce the modulation, and if is a larger modulation start bit or wherever (I'm saying this because i've tried to see a little of the signal in a "Communication Analyzer" and the start and stop bits is different of the middle.
I'm thinking in reproduce the signal already modulated, since is only 1 and 0, i think its easier, or not?
Aren't you using the common 38Khz receiver that has a built-in
demodulator?  That will automatically produce the slow command
 data that can then be easily captured by the micro, by sampling or
edge interrupts.


  
Hi again,

My objective is to read a Infrared command signal (Airconditioner
remote command), that is modulated in 38Khz, to later reproduze the
commands, i've past the signal to TTL and the question is, what is the
best way to read that signal?

I'm using ATMega128 and a crystal of 15.3Mhz to be 100% with USART.

External Interrupts?
Timer/Counter? 8bit? 16bit? Counter1? Counter2?
I will need to read at least at 76Khz (2x38Khz), right?
My first idea is to use a internal interrupt that occurs at a rate
bigger 76Khz, and see if the signal is at 1 or 0, is this the best?







Yahoo! Groups Links







    



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AVR-Chat/

<*> To unsubscribe from this group, send an email to:
    AVR-Chat-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





  

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.