Timeline for How to reset an arduino while being able to know which button has been pressed?
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 31, 2017 at 22:13 | vote | accept | Remi | ||
| Oct 30, 2017 at 1:03 | comment | added | Remi | @dandavis oh got it! you suggest to use/route a pin that is HIGH at boot time as a source to my button pin. Seems like a good idea, but how to wire that up in a way that is temporary and that will be compatible with multiple buttons? Each button needs to trigger the reset and keep it's pin high at least for the boot delay. | |
| Oct 30, 2017 at 0:28 | history | edited | Remi | CC BY-SA 3.0 |
comment regarding EDIT section removed as not relevant anymore
|
| Oct 30, 2017 at 0:18 | comment | added | dandavis | feed a pin that's high during reset (0,2,3,16) to the input that needs to be high during reset . | |
| Oct 30, 2017 at 0:15 | comment | added | Remi | @dandavis can you please be more explicit? Use it in which way? | |
| Oct 29, 2017 at 23:40 | comment | added | dandavis | just use a pin that's high during reset, then you don't need to switch anything. | |
| Oct 29, 2017 at 15:49 | history | edited | Remi | CC BY-SA 3.0 |
removed the "edit" part that was converted into an answer as suggested
|
| Oct 29, 2017 at 15:48 | answer | added | Remi | timeline score: 0 | |
| Oct 29, 2017 at 15:28 | comment | added | user31481 | Please, post your solution as an answer and then accept it to close the question. That way it will be clear to others what was the problem and what is the solution. Or delete your question if you thing your case is too particular. | |
| Oct 29, 2017 at 14:46 | history | edited | Remi | CC BY-SA 3.0 |
found a partial solution and added details for new issue
|
| Oct 29, 2017 at 2:11 | comment | added | Chris Stratton | Things would be simpler if your used a "shallower" sleep mode permitting wake on a pin change interrupt. If you want to actually reset the processor, you may need to find a way to activate the reset and the input pin from the same button, apparently in a way that supports multiple buttons, and perhaps also locks out generating additional resets once the chip is awake.. | |
| Oct 29, 2017 at 1:21 | history | edited | Remi | CC BY-SA 3.0 |
fixed schematic. SW-R was connected to the wrong pin
|
| Oct 28, 2017 at 23:53 | review | First posts | |||
| Oct 29, 2017 at 0:09 | |||||
| Oct 28, 2017 at 23:53 | history | asked | Remi | CC BY-SA 3.0 |