Tagged Questions
3
votes
2answers
67 views
Use PWM and ISR at same time on AVR
Is it possible to use AVR PWM outputs and ISR interrupts at the same time?
I've got a project I'm trying to do on an ATMega328P and I need 3 PWM outputs but ALSO need to be able to use ISR interrupts ...
3
votes
3answers
176 views
Arduino sampling accelerometer
I have an analog accelerometer I want to sample at 100HZ, I also want to plot the data with time of each sample so I have acceleration over time. To keep track of time I was going to use millis(). To ...
1
vote
1answer
218 views
Arduino with multiple LEDs and timers
I'm working on creating a wireless interval timer with an Arduino, is there a specific Arduino board required that can work with multiple LEDs and give me the programming capability for providing ...
6
votes
2answers
979 views
Need help understanding AVR ATMEGA / ATTINY timer mirrored output
I am trying to use Timer1 of Atmel AVR microcontroller, either AtMega328 as used in the Arduino, or the ATTiny85, to output two clock signals which are mirror images of each other. The frequency I am ...
1
vote
2answers
226 views
Method to determine least-error prescaler and top values for timer1 of Arduino?
If this question should be in StackExchange instead of here I can delete here and post there.
Using an Arduino Duemilanove (Atmega328) I am trying to generate a square wave (50% duty cycle) of ...
1
vote
2answers
1k views
DS1302 Real Time Clock Question
So I am attempting to tie a real time clock (DS1302) into an Arduino and then eventually a AVR chip directly. From all of the schematics I have seen, it appears a crystal is required. I read through ...
7
votes
5answers
922 views
6
votes
3answers
3k views
Monitor clock cycles for code on arduino/AVR?
Is it possible to monitor a block of code and determine the number of processor clock cycles that code took on an Arduino and/or AVR atmel processor? or, should I rather monitor microseconds passed ...
7
votes
3answers
5k views