Using LED touch switch to turn on/off arduino pro mini (3V3)

I want to use the LED touch switch to turn on/off arduino pro mini. I want to power it from 9V battery. however the touch switch is 2,7v-6V so connecting it to 9v is probably not the best idea.
I created a voltage divider where I am having output voltage which I connect to RAW pin of Arduino por mini (3v3) microcontroller.
would 6V be of to power that board through RAW pin.

Is this concept ok ?

No, not OK on a few levels. I.e. 9V battery as a power source is not a good idea, and using resistirs to step down the voltage won't work because the current draw can't be assumed to be constant. If that's how I'm supposed to read the schematic, that is, because it doesn't make much sense to me.

But can you start by posting more info/specs on that led switch, please?

I got the part from aliexpress

I thought that with RAW pin being regualted I would be able to provide 6v that comes out of voltage divider and that would be regulated to 3v needed to power arduino pro mini:(

150+330=480 Ohm
9V / 480 Ohm = 0,01875A = 18,75mA continuous discharging current.
600mAh / 0,01875 = 32h this mean every 8 hours set new battery. bc it useles when voltage drops to 7V.
6,2V / 330 Ohm = 18,7mA for RAW. not enough even for power LED on the board.

But I could power Arduino from 9V battery connecting 9V to RAW.
I have done that before. WIth Arduino nano but I am sure pro mini would work as well. So is it possible to somhow use this touch switch or not possible at all? I am sorry for asking so many questions. I suck at electronics :slight_smile:

yes it possible. take step down converter 3,3v. power both Mini and Touch sensor from it. put mini to power down mode and awake it with Touch sensor.

What do you men by "put mini to power down mode "?

Thank you. Some more stuff for me to learn:)

No doubt you have.

But it is a really bad idea for a multitude of reasons.

The Pro Mini is good, Just power it from a battery of three alkaline "AA" cells in a holder. Then you can avoid the ridiculously wasteful and ineffective regulator. :+1:

I powered Arduino Nano from 9v battery. Not pro mini. But according to pro min datasheet
Board Power Supply is 3.35 -12 V (3.3V model) or 5 - 12 V (5V model)
so this should work as well, right?

May I add one more thing. I need it for playing with LORA module. So I need mobile solution for my breadboard prototype. So this is not for a permament solution. Just to move my prototype around to check the LORA range.
I understand that as a permament solution it is not the best solution ever

One more reason a 9V battery is not a good choice. 9V batteries are intended for very low current applications that draw like 1mA or less. E.g. smoke alarms.
3x1.5AA battery is also perfectly portable to check lora range.

This is not good news. I already 3d printed the case 9v battery and mini breadboard that would allow me to move around with this:) I have cases for AA batteries I will see if I can use them instead.
So what is the difference in terms of current you can draw between 9v and AA battery.

In the past I had the POV display project in which I was displaying messages and time on the old FAN. Then 9v battery powered

Would that be better how can I check how much current can it draw.?

Oh, 2 orders of magnitude or so.

Sure. For how long?
And no LORA on there. LORA when TX-ing will draw something like 30mA.

Might work. Output voltage won't be exactly 9V but that shouldn't be a big problem in your case.

So next time first establish the design specs and then start implementing it, not the other way around :wink:

So you say that this 9v lithium batter is a better solution then your standard 9v battery, right? Again I need this to power my prototype breadboard while go on the 30min long field trip:)

Probably, yes. I never tried one, so can't say for sure.

Ok, likely an alkaline 9V battery will survive that long, with a bit of luck. Give it a try. Carry some spares into the field in case it runs out.

Actually, that is terribly misleading. :roll_eyes:

Powering via "Vin" or "Raw" is simply a bad idea. The Pro Mini (either model) will work perfectly well at 4.5 V from three alkaline cells as I explained. There will be no concerns about how much current the circuit draws up to at least half an Amp. It will operate with new cells (1.6 V) and likely down to about 1.2 V per cell. The 3.3 V version - whose only difference is the regulator - which should be regarded as useless anyway and should be removed if operating from batteries to prevent it drawing idle current particularly if you want to use sleep mode - and the 8 MHz crystal which allows operation down to less than 3 V.

The Nano simply has an additional USB interface compared to the Pro Mini, which interface just wastes power if running from a battery.

4.5 V from three alkaline cells connected to RAW , right?