K
K
keldish2016-11-06 19:44:32
Arduino
keldish, 2016-11-06 19:44:32

How to make an on/off button for arduino?

How to make a power button like in modern phones with turning the device on and off with a time delay and use it to block the device from unlocking.
While it comes to mind - a generator and a counter for organizing a delay, a couple of triggers and a field worker.
Use a button with two contact groups and use the second one to go to and exit sleep mode.
But somehow too much, it seems. maybe there are better options.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
evgeniy_lm, 2016-11-07
@evgeniy_lm

Of course there is .
In principle, this is how it is implemented in mobile phones.
One problem with some Arduinos is that there is a bug in the bootloader that can be fixed by replacing the bootloader with a custom one.

V
vanyamba-electronics, 2016-11-12
@vanyamba-electronics

The microcontroller has a sleep mode function. You can wake up the Arduino by pressing a button.
I recommend reading the article Waking Arduino from sleep mode by pressing a button .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question