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 LinksYahoo! 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/