All Questions
4 questions
0
votes
1
answer
54
views
How to make a circuit which can give divided voltage to ADC and can send a trigger pulse to INT0 when I press a button?
I connected 4 buttons to the ADC module of AVR-ATMega328p with different resistor values,
To know which button is pressed this ...
0
votes
2
answers
221
views
Interrupts are firing when touching ground with metallic things
I'm making a circuit on a breadboard (before SMD design) for a battery-powered device.
When USB is connected to any wall-adapter, the device wakes up when touching any ground wire on the breadboard ...
1
vote
1
answer
392
views
Is it the right use of the RTC RV8523 to wake up an atmega328p?
I'm using the RV8523 to wake up every 2 minutes an arduino atmega328p. The rtc is wired like this :
Where INT1 is wired to Port D pin 3. The internal pull up resistor is activated and yet it's ...
0
votes
2
answers
950
views
Modifiying variable inside of Interrupt vector. AVR
My question is again about modifying variables inside the ISR. If the variable used only inside of ISR, I don't have to declare it as volatile, right? After some researching, I figured out that ...