| squadra |
I am building a remote controlled pre amp.
Functionality is limited to selecting one of the four inputs and selecting the required attenuation.
Selecting the correct input is done via relais, and volume selection via relais (TVC) or PGA2311 (will test both).
The relais will be controlled via serial/parallel converters.
Because of it's low price I have ordered the AVR ISP and downloaded the AVR studio software; it will be an AVR microcontroller :)
The AVR attiny 26 is cheap, which makes it a good candidate :)
It has been very long since I have worked with microcontrollers and assembly and I am wondering how to determine the clock speed for the RC5 receiver.
The AVR has an internal clock of 1MHz, this is probably fast enough for decoding RC5?
Memory size is not important, I only need a few bytes for the actual channel & volume settings.
Also I have no idea what flash size is necessary, are there guidelines for this? |
|
|
| Wynand |
| Did you get the low voltage version ATTiny26 or ATTiny26L |
|
|
| Wynand |
It doesn't really matter, but why not use a crytal, we made a remote control for a pc, using a atmega32 and a 6Mhz crystal.
It adds frexibility to the design (and accuracy).
You can alway use the prescaler to get a slower freq. |
|
|
| squadra |
| quote: | Originally posted by Wynand
Did you get the low voltage version ATTiny26 or ATTiny26L |
It is the ATTiny26, max. 16MHz version.
On a webpage I found the speed of RC5 is only about 560Hz (1.8ms per bit).
I thought it was 36kHz, but that is just the carrier. |
|
|
|