Post Created date
Timer3 PWM and SPI on Atmega1284P
But if you have a free USART why not run SPI with that ("USART in SPI Mode") and PWM with timer3? I'm not an expert and i not know this functionality! I will read the datasheet...
Sunday, 13 September 2015 - 15:21
Timer3 PWM and SPI on Atmega1284P
I think you have to try it but I have to say I find it hard to believe that you need interrupts with that frequency. You think rigth!   In reality i use this timer with...
Saturday, 12 September 2015 - 18:01
Timer3 PWM and SPI on Atmega1284P
Thank you so much Lars!    Now i study your code and i try to implement it in my project!  But i have a question about software PWM: the jitter it's a problem if i...
Saturday, 12 September 2015 - 12:26
HC SR04 and ATMega 1284P problem.
..the formula a pg 99 of the ATMega1284P datasheet the code gives me an interrupt every 58[us] instead of 29[us]. Is the formula that is wrong or am i wrong? The formula is...
Thursday, 15 January 2015 - 16:21
HC SR04 and ATMega 1284P problem.
Hi Kraal! Thanks you so much for your interest! :) I have read some datasheet of the sensor sonar. The most reliable and clear I think it is this http://www.cypress.com...
Thursday, 15 January 2015 - 11:31
HC SR04 and ATMega 1284P problem.
Excuse me if you disorder still, but following the Lars advice i have reduced the error between the expected value and the measured value. But using this value, according...
Thursday, 15 January 2015 - 10:22
HC SR04 and ATMega 1284P problem.
Lajon wrote: For 29us from a 2MHz clock (16MHz/8 prescaler) you need OCR0A = (29*2)-1; // set timer0 resolution @ 29[us] /Lars   Hi Lars! I have tryed this...
Tuesday, 13 January 2015 - 21:41
HC SR04 and ATMega 1284P problem.
It isn't?!?  It looks linear to me... It's linear because this is an approximation. In reality in this experiment the returned value jumps between two value. In the first...
Tuesday, 13 January 2015 - 21:12
HC SR04 and ATMega 1284P problem.
I have done some experiment using the test program about the returned value. This value it's like linear, but really it isn't. I have done a graph.. The voltage on the pin is...
Tuesday, 13 January 2015 - 17:13
HC SR04 and ATMega 1284P problem.
I'm sorry, but now i'm bit tired, so i can't answer to your question 3, I not checked this fact. Tomorrow i do some work about your questions in these two post and i give you some...
Monday, 12 January 2015 - 23:11
HC SR04 and ATMega 1284P problem.
Hi teusch, thank you so much for the reply! I'm using the AtmelStudio 6 (ver. 6.2.1153) and the optimization level is "O1".   Are you sure that the STK500 is >>really...
Monday, 12 January 2015 - 21:17
Doubts on I2C in Master mode
I think that the usefulness of a forum is to help those in need without feeling like a god. Evidently for someone the forum is something different , maybe they are the stars that...
Saturday, 2 November 2013 - 19:56

Pages