Categories

IR decoding using ATtiny2313

Posted on Wednesday, June 22nd, 2011 in code, infrared by the machinegeek

This article from Radosław Kwiecień’s website shows how to decode RC5 IR signals from a remote control using the 16-bit Timer1 and INT0 external interrupt input in the ATtiny2313 Atmel AVR device.

All code in assembly in available in a compressed file.

This entry was posted on Wednesday, June 22nd, 2011 at 3:00 pm and is filed under code, infrared. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Daniel: Do I comment here or on FB?
  • Craig B: Shouldn't the default be 00xxx010? Note that bit 0 appears out of order in the documentation. In that case I think the initial value is...
  • JJM: From the datasheet extract you are showing, the power up status should be 00xxx010, not 000xxx01. Bit numbering is misleading since 'measurement resolution' is apparently...
  • Jan Ciger (@janoc200): Hmm, that could actually explain why the three sensor IMU breakout I have bought a few years ago had all sorts of issues - I...
  • Travis: Is it preset to the windows 3 fingered salute?