Timeline for Hardware Interrupt Triggered Randomly
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 2, 2020 at 10:52 | comment | added | Shams M.Monem | I think if you only want to flip a value of a Boolean try using this only in the ISR "flashConvergence = !flashConvergence;" it will save a ton of space and is less complicated. | |
Jan 30, 2020 at 3:32 | vote | accept | Alex | ||
Jan 30, 2020 at 3:31 | answer | added | Alex | timeline score: 1 | |
Jan 30, 2020 at 0:01 | comment | added | Fahad | Buck-Boost converters are pretty noisy. If the interrupt is triggered randomly without you even touching the switch, that means some noise is definitely causing the issue. If you have an oscilloscope you can hook it up to D2 to see what is happening. Try adding a 100uF and a 0.1uF cap on the 5V before it connects to the Arduino circuit. | |
Jan 29, 2020 at 23:01 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 1, 2019 at 22:02 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 1, 2019 at 21:23 | answer | added | Glenn | timeline score: 0 | |
Dec 29, 2015 at 14:27 | comment | added | Gerben | I'm not sure if it would, but might be worth a try. | |
S Dec 29, 2015 at 4:29 | history | suggested | user3704293 | CC BY-SA 3.0 |
add code highlighting
|
Dec 28, 2015 at 17:25 | review | Suggested edits | |||
S Dec 29, 2015 at 4:29 | |||||
Dec 27, 2015 at 22:38 | comment | added | Alex | Why would a pull-down system have more noise immunity than a pull-up system? | |
Dec 27, 2015 at 13:58 | comment | added | Gerben | You could try; lowering the pull-up resistor. Moving the button away from the boost converter and it's wires. Move the pull-up nearer to pin 2. Use a pull-down system (by swapping R1 and SW1), instead of pull-up. PS the capacitor isn't used for decoupling here, but as a low-pass-filter. | |
Dec 27, 2015 at 11:03 | answer | added | Mikael Patel | timeline score: -1 | |
Dec 27, 2015 at 7:30 | history | asked | Alex | CC BY-SA 3.0 |