Delayed power-on

I have a project that I want to encase in a handheld case, with LCD display.

Because it is likely going to kick around in a bag or toolbox, I want to make it delay to power on - so you have to hold down the power button for two seconds or such to get the unit to power on.

But I haven’t got a clue where to begin to do this.

My box contains a wifi board, a charging circuit, a Pro Mini, an LCD display, an SD card storage board, a battery, some buttons.

The application is a remote data acquisition app that contacts a sensor and downloads the data. Everything for the project works, but having an instant-on switch has flattened more than one battery :frowning:

Ideally I would like to have to press two buttons to power it on - but one would be fine.

If anyone can point me to a solution, I would appreciate it. My budget has upwards of $15-20 left in it, so if I needed another MCU, that is doable.

Why not use a recessed sliding switch that’s near impossible to switch on accidentally ?

http://www.filshu.com.img.800cdn.com/Up … 8751_S.jpg

Do you have a car? Is it a nice car? Does it have AC and a radio? Why not drive a horse and cart? Why not drive an old junker? Why not pedal a bicycle?

And, how am I to recess such a switch in a mass-produced ABS housing?

Or… do what I wanted to do in the first place and have delayed switch-on - which is obviously possible - says every cellphone ever.

If you’re going to ask for help, it pays to not be rude to the people trying to help you. Just sayin’…

Options:

  1. Recess or otherwise protect the existing switch from accidental actuation, like Mac said

  2. A [locking lever toggle switch: pull up to unlock. Cheap and easy

  3. Incorporate the feature you are asking for into your existing ProMicro code and use it to control any extra hardware that’s connected

  4. A completely separate switch module with a “hold down for X seconds” feature to turn output on. I’ll sell you one for $50 that’s rated to switch 100mA.](http://www.futureelectronics.com/en/technologies/electromechanical/switches/toggle/Pages/8133480-7201K12CQE.aspx?IM=0)

Here AND on the EEVBLOG…and the other post says he’s already using an ATMega.

With “ALL” of that programming knowledge, you’d think a low power mode, a button, a simple 2 second delay loop, and viola…done…

I doubt any answer given will satisfy the O/P.

LEDAero:
Do you have a car? Is it a nice car? Does it have AC and a radio? Why not drive a horse and cart? Why not drive an old junker? Why not pedal a bicycle?

And, how am I to recess such a switch in a mass-produced ABS housing?

Or… do what I wanted to do in the first place and have delayed switch-on - which is obviously possible - says every cellphone ever.

Do you often ask rhetorical questions when you don't get exactly what you want ?

Have you ever heard of the KISS principle ?

Do you realize they make coffee w/o caffeine these days ?

Do you want to press one button or two (unlike every cellphone ever) to turn it on ?

LEDAero:
Ideally I would like to have to press two buttons to power it on - but one would be fine.

You need another MCU to have a delayed start.

codlink:
You need another MCU to have a delayed start.

Well, I dunno about that...a big ol' cap, a big ol' resistor, a 555, bam.

Although I agree a 10F200 would do the trick in about 5 minutes of work…

Yeah a one shot (built with 555 or LS123) feeding a latch would work. But if he’s concerned about accidental activation in a bag then he’s better off with a turn-on sequence that can best be done with an MCU. The thing I said I’d give him for $50 was built to do exactly that: only turn on if it’s clicked twice within a second at the right speed.

skimask:

codlink:
You need another MCU to have a delayed start.

Well, I dunno about that...a big ol' cap, a big ol' resistor, a 555, bam.

Although I agree a 10F200 would do the trick in about 5 minutes of work…

Was being sarcastic.

codlink:

skimask:

codlink:
You need another MCU to have a delayed start.

Well, I dunno about that...a big ol' cap, a big ol' resistor, a 555, bam.

Although I agree a 10F200 would do the trick in about 5 minutes of work…

Was being sarcastic.
Good ! Now don't let me interrupt you.

codlink:

skimask:

codlink:
You need another MCU to have a delayed start.

Well, I dunno about that...a big ol' cap, a big ol' resistor, a 555, bam.

Although I agree a 10F200 would do the trick in about 5 minutes of work…

Was being sarcastic.

Wow...me thinks my sarcasm detector needs an MCU. May as well make it an ARM.

An ARM and a leg ? (cue ZZ Top)

http://andys-backing-tracks.webs.com/zz_top.jpg

I note that the OP has yet to tell the good EEVBLOG folks that there’s more to his system than just an ATMega. So sleeping, an interrupt and a (high side) FET switch are needed.

OR, maybe he has yet to mention here that the board actually ONLY contains an ATMega.