Post Created date
Atmega324P FFT LED Spectrum Analyzer
andreilica wrote: But by doing this, I can't put the MCU in sleep mode just before the sampling starts for a better precision. Is that necessary? Because it would be easier to set...
Monday, 27 May 2019 - 22:07
Atmega324P FFT LED Spectrum Analyzer
Thanks avr-mike.  I gave the short answer, you gave the longer answer. And for the complete picture, read the data sheet.
Monday, 27 May 2019 - 05:01
Atmega324P FFT LED Spectrum Analyzer
avrcandies wrote:Note that this is not 100.0000% jitter-proof, since if you have other IRQs, they may be tying things up (blocking) at the moment the timer wants to get in &...
Sunday, 26 May 2019 - 23:38
Atmega324P FFT LED Spectrum Analyzer
I don't think anyone answered this: andreilica wrote: 2. I've seen many examples and they substract 32768 from the input of the ADC. Why? I have DC biased the input around 2.5V...
Sunday, 26 May 2019 - 23:18
Assembly IF Statement
avrcandies wrote: if i want to read analog pin at a given frequency and make it to be the Defaults to compare with the cpi number? Why are you completely changing your...
Sunday, 26 May 2019 - 22:23
Assembly IF Statement
SHIHAO LI wrote: if i want to read analog pin at a given frequency and make it to be the Defaults to compare with the cpi number? In general, AVR data instructions - ADD SUB...
Sunday, 26 May 2019 - 09:39
Syncronization of two or more separate atmega32
If you can't get GPS units then how about 433MHz transmitter/receivers. There's articles online how to use them - here's one For simplicity, have 5 modules - one to keep time and...
Tuesday, 21 May 2019 - 22:29
Debugging problems loaded code not matching .lss file
One listing has addresses in bytes and the other is in words (2 bytes). It may also be that the word listing got relocated so doubling the word value doesn't get you the byte...
Tuesday, 21 May 2019 - 13:14
Syncronization of two or more separate atmega32
I think we need more information. What are the clocks used for? What else does the processor do apart from show time? How far apart are the clocks? Does it matter if all the...
Tuesday, 21 May 2019 - 12:36
Generating Square Wave
holawaleh wrote: you are such a lifesaver, please for future reference where did i err because i seem to follow the datasheet many times with different result but not the result i...
Thursday, 21 February 2019 - 22:20
Generating Square Wave
I think this will work: #include <avr/io.h> int main(void) { DDRB |= (1 << DDB1)|(1 << DDB2); // PB1 and PB2 is now an output ICR1 = 1250; //...
Thursday, 21 February 2019 - 10:22
Generating Square Wave
theusch wrote: holawaleh wrote: What i actually expected is to have a signal at portB1 and PortB1 at every 200ms.   ???  With the code you show ed earlier?  That...
Thursday, 21 February 2019 - 03:00

Pages