Post Created date
[ATmega328P] Can I use the Capture function w/o interrupts?
Then why did you state the first, without looking at the datasheet?  Register fraud, eh? Not nice :(   I've read the datasheet many times.  I've printed...
Sunday, 13 December 2020 - 18:05
[ATmega328P] Can I use the Capture function w/o interrupts?
Apparently that is an incorrect assumption I made.  It wasn't done because I am a maverick coder but because I didn't understand.    As I said, I will have to step...
Saturday, 12 December 2020 - 17:29
[ATmega328P] Can I use the Capture function w/o interrupts?
Apparently I don't know.   I thought " TIFR = 1<<ICF1 " works.  I've been under the impression this command would If ICF1 = 5 then   1<<ICF1...
Saturday, 12 December 2020 - 05:41
[ATmega328P] Can I use the Capture function w/o interrupts?
Thanks,   I'll look at that,  perhaps my only issue is I assumed ICF1 worked in normal manner (i.e. set = 1 and clear = 0) however that appears not to be the case....
Saturday, 12 December 2020 - 05:08
[ATmega328P] Can I use the Capture function w/o interrupts?
The datasheet says Flag registers,  0 = clear the .   Interrupt Registers 1 to set (enable it).   However when your not getting the results you expect by a...
Saturday, 12 December 2020 - 04:25
[ATmega328P] Can I use the Capture function w/o interrupts?
@Kartman   Thank you for your response    " Interrupts are not required! Whatever gave you that idea? "   Only that I could not get them to work.  ...
Saturday, 12 December 2020 - 02:11
[ATmega328P] Can I use the Capture function w/o interrupts?
Thanks for all the suggestions.  Since your last post I researched resetting the TIFR1 flags and tried numerous variations.   My conclusion is the edge capture...
Saturday, 12 December 2020 - 00:37
[ATmega328P] Can I use the Capture function w/o interrupts?
I appreciate the input but I don't believe there is a rising edge on the echo input.  Even a glitch.  My last test was to:   Ground the ICP1 input. Remove the HC-...
Friday, 11 December 2020 - 21:09
[ATmega328P] Can I use the Capture function w/o interrupts?
@ki0bl   Thanks for the input.   Unfortunately the issue seems to not be related to the counter clock.   I tried both prescale = 1 and prescale = 1024 with...
Friday, 11 December 2020 - 20:24
protect input that might be driven when AVR is off? with FET?
Hi!   I read through all the posts and could not find if the input you are protecting is analog or digital.   If digital my thoughts are:   1) A series resistor...
Saturday, 26 August 2017 - 02:08
Measuring mains powered devices with usb scope, some questions.
Hi!   I see many good suggestions posted.   My small addition is how I personally handle instrument protection if I feel there are no ground differences between the...
Saturday, 26 August 2017 - 01:48
No Atmel AVR experience... what's the right device for this project?
HI,   I'm sure you get a lot of replies from folks more experienced that I, however here are my thoughts:   I am currently using an Arduino pro mini (Atmel 328P) and...
Wednesday, 9 August 2017 - 19:27

Pages