Post Created date
Input problem (prob newbie prob :)
I suspect that the code is not waiting for the ADC conversion to be completed. The statement: while (ADCSRA & 0x40) {} should have a semi-colon after it: while (ADCSRA...
Thursday, 16 October 2008 - 14:17
Troubleshooting the Dragon
Thank you for your comments. I am not trying to be harsh on the AVR; I'm trying to be harsh on the designers of the Dragon. No professional tool or semi-professional tool should...
Saturday, 11 October 2008 - 00:45
Troubleshooting the Dragon
The AVR Dragon is a kluge that has serious power-supply problems that causes it to self-destruct. But since Atmel made tens of thousands of them before fully testing the design,...
Friday, 10 October 2008 - 15:57
[Atmega] Hardware flow control
I suggest using an output buffer for your data. Set it up in queue form with a Head and Tail pointer. Put each byte to be transmitted into the buffer and use a UDRE interrupt to...
Friday, 10 October 2008 - 15:30
Best ATMEL microprocessor to use from AVR / AT family?
I must respectfully disagree with the others who have replied above. The application is rather small and should have the cheapest device of the AVR line that fits. There is a...
Thursday, 25 September 2008 - 15:16
convert c to assembly for atmega 16
The AVR code that handles a PS2 keyboard has three parts. The first part receives the actual bit data from the keyboard and reassembles these bits into the single byte sent from...
Tuesday, 23 September 2008 - 14:57
Why assembler language?
The big advantage of assembler language is that you can tell what all the pins are going to be at every clock cycle. A microcontroller does nothing more than change the...
Monday, 15 September 2008 - 22:56
Tiny44 Pin Change interrupt problem
I noticed this characteristic of the PinChange interrupt also. A work around is to check the state of the pin logic at the beginning of the PC interrupt: sbic PCPort,...
Wednesday, 10 September 2008 - 18:20
Reading ADC using the ADLAR
ADLAR is very useful when you only need a 8-bit result from the ADC. If you are using an older AVR like the 90S4433 or 90S8535 that doesn't have ADLAR, then the two high bits...
Saturday, 30 August 2008 - 06:05
Help with plan for Audio Processing
Hello, With all respect in regards to your desire to build an audio processor, this may be a good time to step back a bit and ask if there might be some easier way to get the...
Saturday, 30 August 2008 - 05:27
ATTiny461 TWI communication
Dear fellow AVRfreaks, I would like to gently and discretely request that the writers here check their English grammar before posting on this international website. For...
Thursday, 28 August 2008 - 19:06
ATTiny461 TWI communication
What is "PSoC" and what kind of computer interfaces does it have? What is the difference in the code between the ATtiny461 and the ATMega8535 implementations?
Thursday, 28 August 2008 - 16:28