Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

There is no royal road to geometry. -- Euclid


tech / sci.electronics.design / Re: Low Power High Voltage Flip Flop

SubjectAuthor
* Low Power High Voltage Flip Floprhor...@gmail.com
+- Re: Low Power High Voltage Flip FlopTauno Voipio
+* Re: Low Power High Voltage Flip FlopFred Bloggs
|`- Re: Low Power High Voltage Flip Floprhor...@gmail.com
+* Re: Low Power High Voltage Flip FlopRicky
|`- Re: Low Power High Voltage Flip Floprhor...@gmail.com
+* Re: Low Power High Voltage Flip Flopbitrex
|`- Re: Low Power High Voltage Flip Floprhor...@gmail.com
+- Re: Low Power High Voltage Flip FlopJohn Larkin
+* Re: Low Power High Voltage Flip Floprhor...@gmail.com
|`* Re: Low Power High Voltage Flip FlopRicky
| `* Re: Low Power High Voltage Flip Floprhor...@gmail.com
|  +* Re: Low Power High Voltage Flip FlopJohn Walliker
|  |+* Re: Low Power High Voltage Flip FlopRicky
|  ||`* Re: Low Power High Voltage Flip Floprhor...@gmail.com
|  || `* Re: Low Power High Voltage Flip FlopRicky
|  ||  `* Re: Low Power High Voltage Flip Floprhor...@gmail.com
|  ||   `* Re: Low Power High Voltage Flip FlopRicky
|  ||    +- Re: Low Power High Voltage Flip Floprhor...@gmail.com
|  ||    `- Re: Low Power High Voltage Flip Floprhor...@gmail.com
|  |`* Re: Low Power High Voltage Flip Flopwhit3rd
|  | `* Re: Low Power High Voltage Flip FlopRicky
|  |  `* Re: Low Power High Voltage Flip Flopwhit3rd
|  |   `* Re: Low Power High Voltage Flip FlopRicky
|  |    `- Re: Low Power High Voltage Flip Flopwhit3rd
|  `* Re: Low Power High Voltage Flip FlopPiglet
|   `- Re: Low Power High Voltage Flip Floprhor...@gmail.com
`- Re: Low Power High Voltage Flip FlopClive Arthur

Pages:12
Low Power High Voltage Flip Flop

<6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115409&group=sci.electronics.design#115409

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:6214:5703:b0:538:800e:95f8 with SMTP id lt3-20020a056214570300b00538800e95f8mr850416qvb.99.1675070157977;
Mon, 30 Jan 2023 01:15:57 -0800 (PST)
X-Received: by 2002:a05:620a:15af:b0:705:ea6c:d7c with SMTP id
f15-20020a05620a15af00b00705ea6c0d7cmr2884866qkk.22.1675070157803; Mon, 30
Jan 2023 01:15:57 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 30 Jan 2023 01:15:57 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
Subject: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Mon, 30 Jan 2023 09:15:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1488
 by: rhor...@gmail.com - Mon, 30 Jan 2023 09:15 UTC

I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.

Re: Low Power High Voltage Flip Flop

<tr88qo$38s8r$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115412&group=sci.electronics.design#115412

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tauno.vo...@notused.fi.invalid (Tauno Voipio)
Newsgroups: sci.electronics.design
Subject: Re: Low Power High Voltage Flip Flop
Date: Mon, 30 Jan 2023 13:14:30 +0200
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <tr88qo$38s8r$1@dont-email.me>
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 30 Jan 2023 11:14:32 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="cf562e7196132609f3d7573152a8d26c";
logging-data="3436827"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199fUCqbYm/CrTQOh2NgAv7UytKw7aPQVk="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.6.1
Cancel-Lock: sha1:3QfdXlvG2tkrG0+vViTqGRCCVP0=
Content-Language: en-US
In-Reply-To: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
 by: Tauno Voipio - Mon, 30 Jan 2023 11:14 UTC

On 30.1.2023 11.15, rhor...@gmail.com wrote:
> I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.

You may need to build a debounce circuit for the switch, else
the response may be erratic, as the F/F will count the parity
of the contact bounces.

--

-TV

Re: Low Power High Voltage Flip Flop

<1f2734d0-628b-4abe-9556-b06ea111bb5en@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115418&group=sci.electronics.design#115418

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:620a:166f:b0:71f:88a0:d912 with SMTP id d15-20020a05620a166f00b0071f88a0d912mr242923qko.337.1675079463707;
Mon, 30 Jan 2023 03:51:03 -0800 (PST)
X-Received: by 2002:a05:620a:a91:b0:704:a7ec:fa4 with SMTP id
v17-20020a05620a0a9100b00704a7ec0fa4mr3164166qkg.264.1675079463435; Mon, 30
Jan 2023 03:51:03 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 30 Jan 2023 03:51:03 -0800 (PST)
In-Reply-To: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:5cc:4701:5250:c4aa:5460:4544:b459;
posting-account=iGtwSwoAAABNNwPORfvAs6OM4AR9GRHt
NNTP-Posting-Host: 2601:5cc:4701:5250:c4aa:5460:4544:b459
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1f2734d0-628b-4abe-9556-b06ea111bb5en@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: bloggs.f...@gmail.com (Fred Bloggs)
Injection-Date: Mon, 30 Jan 2023 11:51:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1994
 by: Fred Bloggs - Mon, 30 Jan 2023 11:51 UTC

On Monday, January 30, 2023 at 4:16:01 AM UTC-5, rhor...@gmail.com wrote:
> I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.

You may think you need that, but actually you don't. You can most likely replace your existing switch with one of the exact same form factor that serves the on/off function. It will be called a "latching" on/ off switch.

Re: Low Power High Voltage Flip Flop

<f57001ed-fcb8-4fc4-9e58-7cf9e172ff99n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115420&group=sci.electronics.design#115420

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ae9:eb09:0:b0:722:71a6:ecbc with SMTP id b9-20020ae9eb09000000b0072271a6ecbcmr79506qkg.315.1675084500531;
Mon, 30 Jan 2023 05:15:00 -0800 (PST)
X-Received: by 2002:a05:622a:1bab:b0:3b6:3a71:e932 with SMTP id
bp43-20020a05622a1bab00b003b63a71e932mr2376945qtb.15.1675084500211; Mon, 30
Jan 2023 05:15:00 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 30 Jan 2023 05:14:59 -0800 (PST)
In-Reply-To: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=192.254.97.42; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 192.254.97.42
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f57001ed-fcb8-4fc4-9e58-7cf9e172ff99n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: gnuarm.d...@gmail.com (Ricky)
Injection-Date: Mon, 30 Jan 2023 13:15:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2893
 by: Ricky - Mon, 30 Jan 2023 13:14 UTC

On Monday, January 30, 2023 at 5:16:01 AM UTC-4, rhor...@gmail.com wrote:
> I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.

There are a number of simple circuits using a pair of transistors, which will do what you need. They take advantage of charge being stored on a capacitor to change the state of the circuit with the same push button. A Google search turned up a number of possibilities. The FET based designs can be very low power when off, however, you will need to find FETs with gate to source voltage ratings to match your power source. I would look for at least 30V.

https://www.google.com/search?client=firefox-b-1-d&q=push+button+on/off+circuit

Here's a page with FET devices. The link is long, so you may need to patch it up from this post.

http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/electronic-circuits/push-button-switch-turn-on/latching-toggle-power-switch

Figure 3 has the basic circuit. Other variations add different features. Figure 9 works with higher power source voltages. If you don't have a low voltage regulator, you can use resistors to step down the output voltage.

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209

Re: Low Power High Voltage Flip Flop

<M3RBL.319031$gGD7.277007@fx11.iad>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115423&group=sci.electronics.design#115423

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Subject: Re: Low Power High Voltage Flip Flop
Content-Language: en-US
Newsgroups: sci.electronics.design
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
From: use...@example.net (bitrex)
In-Reply-To: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 7
Message-ID: <M3RBL.319031$gGD7.277007@fx11.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Mon, 30 Jan 2023 15:08:28 UTC
Organization: frugalusenet - www.frugalusenet.com
Date: Mon, 30 Jan 2023 10:08:28 -0500
X-Received-Bytes: 1541
 by: bitrex - Mon, 30 Jan 2023 15:08 UTC

On 1/30/2023 4:15 AM, rhor...@gmail.com wrote:
> I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.

Is a latching relay too simple a solution:

<https://www.electronicdesign.com/technologies/analog/article/21806385/relaybased-onoff-flipflop-remembers-state-during-power-failure>

Re: Low Power High Voltage Flip Flop

<1bofthdbmm30kmt4pe3i4id700tss8cfj0@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115426&group=sci.electronics.design#115426

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 30 Jan 2023 15:27:28 +0000
From: jlar...@highlandSNIPMEtechnology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Low Power High Voltage Flip Flop
Date: Mon, 30 Jan 2023 07:27:26 -0800
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <1bofthdbmm30kmt4pe3i4id700tss8cfj0@4ax.com>
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 14
X-Trace: sv3-CgM3m9OX/YZYI4XBG6t1Ks76O7UuB6LJMi0rirOZ7VK8bzTOW1p3qNfXi4rQ3akuom+QlQ6xLdLuE2R!dL/P7JJHf/rWopIIe85TG1cYDsMGTsH6UsYnO5AqGyGuwjF9j9s+VcONTYtgMyEo6FPffOuSj+ps!hcJYjA==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: John Larkin - Mon, 30 Jan 2023 15:27 UTC

On Mon, 30 Jan 2023 01:15:57 -0800 (PST), "rhor...@gmail.com"
<rhorerles@gmail.com> wrote:

>I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.

You may not want to use this

https://www.dropbox.com/s/okjq1x7q0ftbfig/Momentary_Nfet.jpg?raw=1

but it's a fun circuit.

A version with two fets would stay on/off forever.

Re: Low Power High Voltage Flip Flop

<c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115468&group=sci.electronics.design#115468

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ae9:e002:0:b0:71c:6bfd:621b with SMTP id m2-20020ae9e002000000b0071c6bfd621bmr380206qkk.279.1675140235465;
Mon, 30 Jan 2023 20:43:55 -0800 (PST)
X-Received: by 2002:a05:622a:cb:b0:3b8:2615:8b84 with SMTP id
p11-20020a05622a00cb00b003b826158b84mr1060633qtw.443.1675140235273; Mon, 30
Jan 2023 20:43:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 30 Jan 2023 20:43:54 -0800 (PST)
In-Reply-To: <82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com> <82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Tue, 31 Jan 2023 04:43:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2382
 by: rhor...@gmail.com - Tue, 31 Jan 2023 04:43 UTC

On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage..
>
> The gate-oxide isn't that robust, so you might need level shifters to make the logic work. It won't have to be that fast, so the level shifters won't need a lot of current.
>
> Classic CMOS is good for logic rails up to about 18V, but if there a 25V version I haven't heard of it.
>
> --
> Bill Sloman, Sydney
Yeah, that is my notion. I need some details.

Re: Low Power High Voltage Flip Flop

<85cfc53b-6618-4902-ba24-856954ce21d5n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115469&group=sci.electronics.design#115469

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a0c:f7cc:0:b0:53a:e4de:3b3 with SMTP id f12-20020a0cf7cc000000b0053ae4de03b3mr477413qvo.76.1675140747972;
Mon, 30 Jan 2023 20:52:27 -0800 (PST)
X-Received: by 2002:a37:bbc2:0:b0:71c:43a2:ab52 with SMTP id
l185-20020a37bbc2000000b0071c43a2ab52mr649325qkf.29.1675140747802; Mon, 30
Jan 2023 20:52:27 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 30 Jan 2023 20:52:27 -0800 (PST)
In-Reply-To: <1f2734d0-628b-4abe-9556-b06ea111bb5en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com> <1f2734d0-628b-4abe-9556-b06ea111bb5en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <85cfc53b-6618-4902-ba24-856954ce21d5n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Tue, 31 Jan 2023 04:52:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2377
 by: rhor...@gmail.com - Tue, 31 Jan 2023 04:52 UTC

On Monday, January 30, 2023 at 5:51:07 AM UTC-6, Fred Bloggs wrote:
> On Monday, January 30, 2023 at 4:16:01 AM UTC-5, rhor... wrote:
> > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> You may think you need that, but actually you don't. You can most likely replace your existing switch with one of the exact same form factor that serves the on/off function. It will be called a "latching" on/ off switch.
I guess I failed to mention it is not a simple switch. It is a rotary encoder with a momentary push button. If there is a rotary encoder of roughly the same size (~ 25mm with a ~6mm shaft) with an on/off switch rather than a momentary switch, I would love to use it. The design uses an EC11 rotary encoder.

Re: Low Power High Voltage Flip Flop

<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115470&group=sci.electronics.design#115470

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:138a:b0:3b8:6cc5:9d7 with SMTP id o10-20020a05622a138a00b003b86cc509d7mr338870qtk.154.1675141193207;
Mon, 30 Jan 2023 20:59:53 -0800 (PST)
X-Received: by 2002:ad4:4341:0:b0:537:7cbd:4a9c with SMTP id
q1-20020ad44341000000b005377cbd4a9cmr1396910qvs.26.1675141192983; Mon, 30 Jan
2023 20:59:52 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 30 Jan 2023 20:59:52 -0800 (PST)
In-Reply-To: <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.50.50.210; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 66.50.50.210
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: gnuarm.d...@gmail.com (Ricky)
Injection-Date: Tue, 31 Jan 2023 04:59:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3196
 by: Ricky - Tue, 31 Jan 2023 04:59 UTC

On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor...@gmail.com wrote:
> On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> >
> > The gate-oxide isn't that robust, so you might need level shifters to make the logic work. It won't have to be that fast, so the level shifters won't need a lot of current.
> >
> > Classic CMOS is good for logic rails up to about 18V, but if there a 25V version I haven't heard of it.
> >
> > --
> > Bill Sloman, Sydney
> Yeah, that is my notion. I need some details.

What is your notion? 4000 series CMOS won't handle the battery voltages you are talking about. You would need to add two transistors and a voltage regulator to make a 4000 series part compatible with high side switching your 25V power rail. You can do the same job with just the two transistors, no regulator and no 4000 series CMOS. I provided links to some sample circuits.

Maybe you could provide a bit more feedback of what you see here that you like and don't like, and why? Feedback would help a lot.

--

Rick C.

+ Get 1,000 miles of free Supercharging
+ Tesla referral code - https://ts.la/richard11209

Re: Low Power High Voltage Flip Flop

<3ec0ccca-ae41-4461-aed7-08449fc7be8bn@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115476&group=sci.electronics.design#115476

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:5d94:b0:3a5:7c31:2e3e with SMTP id fu20-20020a05622a5d9400b003a57c312e3emr1582132qtb.111.1675149378668;
Mon, 30 Jan 2023 23:16:18 -0800 (PST)
X-Received: by 2002:a37:bbc2:0:b0:71c:43a2:ab52 with SMTP id
l185-20020a37bbc2000000b0071c43a2ab52mr675867qkf.29.1675149378426; Mon, 30
Jan 2023 23:16:18 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 30 Jan 2023 23:16:18 -0800 (PST)
In-Reply-To: <f57001ed-fcb8-4fc4-9e58-7cf9e172ff99n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com> <f57001ed-fcb8-4fc4-9e58-7cf9e172ff99n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3ec0ccca-ae41-4461-aed7-08449fc7be8bn@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Tue, 31 Jan 2023 07:16:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3495
 by: rhor...@gmail.com - Tue, 31 Jan 2023 07:16 UTC

On Monday, January 30, 2023 at 7:15:05 AM UTC-6, Ricky wrote:
> On Monday, January 30, 2023 at 5:16:01 AM UTC-4, rhor. wrote:
> > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> There are a number of simple circuits using a pair of transistors, which will do what you need. They take advantage of charge being stored on a capacitor to change the state of the circuit with the same push button. A Google search turned up a number of possibilities. The FET based designs can be very low power when off, however, you will need to find FETs with gate to source voltage ratings to match your power source. I would look for at least 30V.
>
> https://www.google.com/search?client=firefox-b-1-d&q=push+button+on/off+circuit
>
> Here's a page with FET devices. The link is long, so you may need to patch it up from this post.
>
> http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/electronic-circuits/push-button-switch-turn-on/latching-toggle-power-switch
>
> Figure 3 has the basic circuit. Other variations add different features. Figure 9 works with higher power source voltages. If you don't have a low voltage regulator, you can use resistors to step down the output voltage.
>
> --
>
> Rick C.
>
> - Get 1,000 miles of free Supercharging
> - Tesla referral code - https://ts.la/richard11209
That is EXACTLY what I need. Thanks! My circuit already uses a FQP47P06 MOSFET to switch the power. All I need to do is add one resistor, one FET, one resistor, and one capacitor. Perfect. Indeed, it is better than perfect. The device is controlled by an Arduino. With this I can monitor the battery voltage and shut down the system when the batter gets dangerously low. I knew there had to be a simple answer.

Re: Low Power High Voltage Flip Flop

<ff624f26-211c-4eda-bd94-df2b9064c4e9n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115478&group=sci.electronics.design#115478

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ac8:41cc:0:b0:3b6:5d23:873f with SMTP id o12-20020ac841cc000000b003b65d23873fmr2538244qtm.176.1675150300773;
Mon, 30 Jan 2023 23:31:40 -0800 (PST)
X-Received: by 2002:a05:622a:447:b0:3b8:6d62:435f with SMTP id
o7-20020a05622a044700b003b86d62435fmr208460qtx.114.1675150300457; Mon, 30 Jan
2023 23:31:40 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 30 Jan 2023 23:31:40 -0800 (PST)
In-Reply-To: <M3RBL.319031$gGD7.277007@fx11.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com> <M3RBL.319031$gGD7.277007@fx11.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ff624f26-211c-4eda-bd94-df2b9064c4e9n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Tue, 31 Jan 2023 07:31:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2531
 by: rhor...@gmail.com - Tue, 31 Jan 2023 07:31 UTC

On Monday, January 30, 2023 at 9:08:37 AM UTC-6, bitrex wrote:
> On 1/30/2023 4:15 AM, rhor... wrote:
> > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> Is a latching relay too simple a solution:
>
> <https://www.electronicdesign.com/technologies/analog/article/21806385/relaybased-onoff-flipflop-remembers-state-during-power-failure>
No, but my dislike for mechanical relays aside, the current carrying capacity of any mechanical relays small enough to fit in the space I have is probably too small. This needs to handle several amperes peak. They are also rather expensive. I would much rather have a solid state solution. Ricky's solution is simple, elegant, and very inexpensive. It only requires the addition of three 3mm long elements costing less than $0.30, total, to my existing design. The fact they are surface mount doesn't hurt, either. This is about as elegant as it gets.

Re: Low Power High Voltage Flip Flop

<0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115479&group=sci.electronics.design#115479

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:6214:70e:b0:53a:bf35:63eb with SMTP id c14-20020a056214070e00b0053abf3563ebmr525663qvz.55.1675155387032;
Tue, 31 Jan 2023 00:56:27 -0800 (PST)
X-Received: by 2002:a05:6214:c88:b0:53a:5290:e3d9 with SMTP id
r8-20020a0562140c8800b0053a5290e3d9mr520487qvr.85.1675155386845; Tue, 31 Jan
2023 00:56:26 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Tue, 31 Jan 2023 00:56:26 -0800 (PST)
In-Reply-To: <42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Tue, 31 Jan 2023 08:56:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3684
 by: rhor...@gmail.com - Tue, 31 Jan 2023 08:56 UTC

On Monday, January 30, 2023 at 10:59:57 PM UTC-6, Ricky wrote:
> On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor... wrote:
> > On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> > >
> > > The gate-oxide isn't that robust, so you might need level shifters to make the logic work. It won't have to be that fast, so the level shifters won't need a lot of current.
> > >
> > > Classic CMOS is good for logic rails up to about 18V, but if there a 25V version I haven't heard of it.
> > >
> > > --
> > > Bill Sloman, Sydney
> > Yeah, that is my notion. I need some details.
> What is your notion? 4000 series CMOS won't handle the battery voltages you are talking about. You would need to add two transistors and a voltage regulator to make a 4000 series part compatible with high side switching your 25V power rail. You can do the same job with just the two transistors, no regulator and no 4000 series CMOS. I provided links to some sample circuits.
>
> Maybe you could provide a bit more feedback of what you see here that you like and don't like, and why? Feedback would help a lot.
>
> --
>
> Rick C.
>
> + Get 1,000 miles of free Supercharging
> + Tesla referral code - https://ts.la/richard11209
No, your idea (figure 3) is perfect. Adding in control from the (existing) Arduino gives me:

http://siliconventures.net/images/Flashlight%20Switch.PNG

I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.

Re: Low Power High Voltage Flip Flop

<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115480&group=sci.electronics.design#115480

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:620a:ec6:b0:6ff:812e:9b55 with SMTP id x6-20020a05620a0ec600b006ff812e9b55mr2701876qkm.4.1675161985000;
Tue, 31 Jan 2023 02:46:25 -0800 (PST)
X-Received: by 2002:a05:622a:134a:b0:3b9:a573:aee3 with SMTP id
w10-20020a05622a134a00b003b9a573aee3mr187613qtk.97.1675161984803; Tue, 31 Jan
2023 02:46:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Tue, 31 Jan 2023 02:46:24 -0800 (PST)
In-Reply-To: <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:8b0:fb4e:0:8614:4dff:fee6:8a48;
posting-account=de11ZAoAAACBQRb2jWnaIkHYK2q9mRvs
NNTP-Posting-Host: 2001:8b0:fb4e:0:8614:4dff:fee6:8a48
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: jrwalli...@gmail.com (John Walliker)
Injection-Date: Tue, 31 Jan 2023 10:46:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4113
 by: John Walliker - Tue, 31 Jan 2023 10:46 UTC

On Tuesday, 31 January 2023 at 08:56:30 UTC, rhor...@gmail.com wrote:
> On Monday, January 30, 2023 at 10:59:57 PM UTC-6, Ricky wrote:
> > On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor... wrote:
> > > On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > > > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > > > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> > > >
> > > > The gate-oxide isn't that robust, so you might need level shifters to make the logic work. It won't have to be that fast, so the level shifters won't need a lot of current.
> > > >
> > > > Classic CMOS is good for logic rails up to about 18V, but if there a 25V version I haven't heard of it.
> > > >
> > > > --
> > > > Bill Sloman, Sydney
> > > Yeah, that is my notion. I need some details.
> > What is your notion? 4000 series CMOS won't handle the battery voltages you are talking about. You would need to add two transistors and a voltage regulator to make a 4000 series part compatible with high side switching your 25V power rail. You can do the same job with just the two transistors, no regulator and no 4000 series CMOS. I provided links to some sample circuits.
> >
> > Maybe you could provide a bit more feedback of what you see here that you like and don't like, and why? Feedback would help a lot.
> >
> > --
> >
> > Rick C.
> >
> > + Get 1,000 miles of free Supercharging
> > + Tesla referral code - https://ts.la/richard11209
> No, your idea (figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
>
> http://siliconventures.net/images/Flashlight%20Switch.PNG
>
> I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.

Won't the phototransistor get unhappy with reverse bias? A better optocoupler would
use a symmetric photofet. Something like the H11F1 would work, but there are others.

John

Re: Low Power High Voltage Flip Flop

<bc1a3cc8-7c0b-4773-a854-051a0dff44b9n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115509&group=sci.electronics.design#115509

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:620a:4614:b0:71a:6635:b135 with SMTP id br20-20020a05620a461400b0071a6635b135mr13351qkb.96.1675193727424;
Tue, 31 Jan 2023 11:35:27 -0800 (PST)
X-Received: by 2002:ac8:4e8a:0:b0:3b8:6392:1004 with SMTP id
10-20020ac84e8a000000b003b863921004mr723646qtp.336.1675193727129; Tue, 31 Jan
2023 11:35:27 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Tue, 31 Jan 2023 11:35:26 -0800 (PST)
In-Reply-To: <e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.50.50.210; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 66.50.50.210
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bc1a3cc8-7c0b-4773-a854-051a0dff44b9n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: gnuarm.d...@gmail.com (Ricky)
Injection-Date: Tue, 31 Jan 2023 19:35:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4601
 by: Ricky - Tue, 31 Jan 2023 19:35 UTC

On Tuesday, January 31, 2023 at 6:46:30 AM UTC-4, John Walliker wrote:
> On Tuesday, 31 January 2023 at 08:56:30 UTC, rhor...@gmail.com wrote:
> > On Monday, January 30, 2023 at 10:59:57 PM UTC-6, Ricky wrote:
> > > On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor... wrote:
> > > > On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > > > > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > > > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > > > > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> > > > >
> > > > > The gate-oxide isn't that robust, so you might need level shifters to make the logic work. It won't have to be that fast, so the level shifters won't need a lot of current.
> > > > >
> > > > > Classic CMOS is good for logic rails up to about 18V, but if there a 25V version I haven't heard of it.
> > > > >
> > > > > --
> > > > > Bill Sloman, Sydney
> > > > Yeah, that is my notion. I need some details.
> > > What is your notion? 4000 series CMOS won't handle the battery voltages you are talking about. You would need to add two transistors and a voltage regulator to make a 4000 series part compatible with high side switching your 25V power rail. You can do the same job with just the two transistors, no regulator and no 4000 series CMOS. I provided links to some sample circuits.
> > >
> > > Maybe you could provide a bit more feedback of what you see here that you like and don't like, and why? Feedback would help a lot.
> > >
> > > --
> > >
> > > Rick C.
> > >
> > > + Get 1,000 miles of free Supercharging
> > > + Tesla referral code - https://ts.la/richard11209
> > No, your idea (figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
> >
> > http://siliconventures.net/images/Flashlight%20Switch.PNG
> >
> > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.
> Won't the phototransistor get unhappy with reverse bias? A better optocoupler would
> use a symmetric photofet. Something like the H11F1 would work, but there are others.

If isolation is not required, and a common ground is used, there are analog switches which should handle 25V. But I would not say an opto is overkill.. At least a transistor short won't fry the Arduino.

--

Rick C.

-+ Get 1,000 miles of free Supercharging
-+ Tesla referral code - https://ts.la/richard11209

Re: Low Power High Voltage Flip Flop

<f4ba45b5-27e1-49ca-b4e9-6096dc46b5d3n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115526&group=sci.electronics.design#115526

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:620a:2e7:b0:720:1f8a:8b7b with SMTP id a7-20020a05620a02e700b007201f8a8b7bmr106031qko.235.1675228745454;
Tue, 31 Jan 2023 21:19:05 -0800 (PST)
X-Received: by 2002:a0c:e6ab:0:b0:539:cee8:19a0 with SMTP id
j11-20020a0ce6ab000000b00539cee819a0mr99731qvn.48.1675228745279; Tue, 31 Jan
2023 21:19:05 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Tue, 31 Jan 2023 21:19:05 -0800 (PST)
In-Reply-To: <e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=209.221.140.126; posting-account=vKQm_QoAAADOaDCYsqOFDAW8NJ8sFHoE
NNTP-Posting-Host: 209.221.140.126
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f4ba45b5-27e1-49ca-b4e9-6096dc46b5d3n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: whit...@gmail.com (whit3rd)
Injection-Date: Wed, 01 Feb 2023 05:19:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3083
 by: whit3rd - Wed, 1 Feb 2023 05:19 UTC

On Tuesday, January 31, 2023 at 2:46:30 AM UTC-8, John Walliker wrote:
> On Tuesday, 31 January 2023 at 08:56:30 UTC, rhor...@gmail.com wrote:
> > On Monday, January 30, 2023 at 10:59:57 PM UTC-6, Ricky wrote:
> > > On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor... wrote:
> > > > On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > > > > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > > > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > > > > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> > > > >

> > ...(figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
> >
> > http://siliconventures.net/images/Flashlight%20Switch.PNG
> >
> > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.

> Won't the phototransistor get unhappy with reverse bias?

I'm not seeing any way C1 can pull down the phototransistor emitter; the DC bias doesn't work with
the connections as shown.

Re: Low Power High Voltage Flip Flop

<bf05b502-fffb-4398-997d-5c1e552c28f9n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115532&group=sci.electronics.design#115532

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ac8:5a41:0:b0:3b9:b7f6:7cb0 with SMTP id o1-20020ac85a41000000b003b9b7f67cb0mr120255qta.277.1675236564518;
Tue, 31 Jan 2023 23:29:24 -0800 (PST)
X-Received: by 2002:a05:620a:29d5:b0:71c:a0a8:908 with SMTP id
s21-20020a05620a29d500b0071ca0a80908mr162010qkp.259.1675236564276; Tue, 31
Jan 2023 23:29:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Tue, 31 Jan 2023 23:29:24 -0800 (PST)
In-Reply-To: <f4ba45b5-27e1-49ca-b4e9-6096dc46b5d3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.50.50.210; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 66.50.50.210
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com> <f4ba45b5-27e1-49ca-b4e9-6096dc46b5d3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bf05b502-fffb-4398-997d-5c1e552c28f9n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: gnuarm.d...@gmail.com (Ricky)
Injection-Date: Wed, 01 Feb 2023 07:29:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3853
 by: Ricky - Wed, 1 Feb 2023 07:29 UTC

On Wednesday, February 1, 2023 at 1:19:09 AM UTC-4, whit3rd wrote:
> On Tuesday, January 31, 2023 at 2:46:30 AM UTC-8, John Walliker wrote:
> > On Tuesday, 31 January 2023 at 08:56:30 UTC, rhor...@gmail.com wrote:
> > > On Monday, January 30, 2023 at 10:59:57 PM UTC-6, Ricky wrote:
> > > > On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor... wrote:
> > > > > On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > > > > > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > > > > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > > > > > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> > > > > >
> > > ...(figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
> > >
> > > http://siliconventures.net/images/Flashlight%20Switch.PNG
> > >
> > > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.
>
> > Won't the phototransistor get unhappy with reverse bias?
> I'm not seeing any way C1 can pull down the phototransistor emitter; the DC bias doesn't work with
> the connections as shown.

I don't follow. The only thing the phototransistor can do is pull down the gate of X2 when activated. That will let the Arduino turn off the power source. Because the phototransistor is bipolar, it won't be able to pull up on the X2 gate to turn on the power source. I'm not sure how C1 limits anything. It provides the current to drive the X2 gate (over driving R3 for a moment) until the circuit can switch. It also debounces the push button.

--

Rick C.

+- Get 1,000 miles of free Supercharging
+- Tesla referral code - https://ts.la/richard11209

Re: Low Power High Voltage Flip Flop

<e5b71bfc-db5f-4819-b77f-73a04768157dn@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115534&group=sci.electronics.design#115534

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ac8:57c5:0:b0:3b6:42ce:86e6 with SMTP id w5-20020ac857c5000000b003b642ce86e6mr195923qta.83.1675241109920;
Wed, 01 Feb 2023 00:45:09 -0800 (PST)
X-Received: by 2002:ac8:58d1:0:b0:3b8:685c:9d3 with SMTP id
u17-20020ac858d1000000b003b8685c09d3mr161302qta.3.1675241109669; Wed, 01 Feb
2023 00:45:09 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Wed, 1 Feb 2023 00:45:09 -0800 (PST)
In-Reply-To: <bf05b502-fffb-4398-997d-5c1e552c28f9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=209.221.140.126; posting-account=vKQm_QoAAADOaDCYsqOFDAW8NJ8sFHoE
NNTP-Posting-Host: 209.221.140.126
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com> <f4ba45b5-27e1-49ca-b4e9-6096dc46b5d3n@googlegroups.com>
<bf05b502-fffb-4398-997d-5c1e552c28f9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e5b71bfc-db5f-4819-b77f-73a04768157dn@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: whit...@gmail.com (whit3rd)
Injection-Date: Wed, 01 Feb 2023 08:45:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2957
 by: whit3rd - Wed, 1 Feb 2023 08:45 UTC

On Tuesday, January 31, 2023 at 11:29:28 PM UTC-8, Ricky wrote:
> On Wednesday, February 1, 2023 at 1:19:09 AM UTC-4, whit3rd wrote:
> > On Tuesday, January 31, 2023 at 2:46:30 AM UTC-8, John Walliker wrote:

> > > > http://siliconventures.net/images/Flashlight%20Switch.PNG
> > > >
> > > > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino..
> >
> > > Won't the phototransistor get unhappy with reverse bias?
> > I'm not seeing any way C1 can pull down the phototransistor emitter; the DC bias doesn't work with
> > the connections as shown.
> I don't follow. The only thing the phototransistor can do is pull down the gate of X2 when activated. That will let the Arduino turn off the power source. Because the phototransistor is bipolar, it won't be able to pull up on the X2 gate to turn on the power source. I'm not sure how C1 limits anything. It provides the current to drive the X2 gate (over driving R3 for a moment) until the circuit can switch. It also debounces the push button.

If the C1 capacitor starts at 25V bias, when does it ever drop to lower voltage? How much
lower? Do you expect to pull down that emitter on the optoisolator through the load, with reverse-breakdown
of the base-emitter?

Re: Low Power High Voltage Flip Flop

<96a6b149-ae8b-4ad4-934b-dbee60fb5e11n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115539&group=sci.electronics.design#115539

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ac8:5bce:0:b0:3b9:b43c:5db0 with SMTP id b14-20020ac85bce000000b003b9b43c5db0mr257595qtb.132.1675260333359;
Wed, 01 Feb 2023 06:05:33 -0800 (PST)
X-Received: by 2002:a05:622a:90:b0:3b6:3a71:e932 with SMTP id
o16-20020a05622a009000b003b63a71e932mr270764qtw.15.1675260333080; Wed, 01 Feb
2023 06:05:33 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Wed, 1 Feb 2023 06:05:32 -0800 (PST)
In-Reply-To: <e5b71bfc-db5f-4819-b77f-73a04768157dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.50.50.210; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 66.50.50.210
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com> <f4ba45b5-27e1-49ca-b4e9-6096dc46b5d3n@googlegroups.com>
<bf05b502-fffb-4398-997d-5c1e552c28f9n@googlegroups.com> <e5b71bfc-db5f-4819-b77f-73a04768157dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <96a6b149-ae8b-4ad4-934b-dbee60fb5e11n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: gnuarm.d...@gmail.com (Ricky)
Injection-Date: Wed, 01 Feb 2023 14:05:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Ricky - Wed, 1 Feb 2023 14:05 UTC

On Wednesday, February 1, 2023 at 4:45:13 AM UTC-4, whit3rd wrote:
> On Tuesday, January 31, 2023 at 11:29:28 PM UTC-8, Ricky wrote:
> > On Wednesday, February 1, 2023 at 1:19:09 AM UTC-4, whit3rd wrote:
> > > On Tuesday, January 31, 2023 at 2:46:30 AM UTC-8, John Walliker wrote:
>
> > > > > http://siliconventures.net/images/Flashlight%20Switch.PNG
> > > > >
> > > > > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.
> > >
> > > > Won't the phototransistor get unhappy with reverse bias?
> > > I'm not seeing any way C1 can pull down the phototransistor emitter; the DC bias doesn't work with
> > > the connections as shown.
> > I don't follow. The only thing the phototransistor can do is pull down the gate of X2 when activated. That will let the Arduino turn off the power source. Because the phototransistor is bipolar, it won't be able to pull up on the X2 gate to turn on the power source. I'm not sure how C1 limits anything. It provides the current to drive the X2 gate (over driving R3 for a moment) until the circuit can switch. It also debounces the push button.
> If the C1 capacitor starts at 25V bias, when does it ever drop to lower voltage? How much
> lower? Do you expect to pull down that emitter on the optoisolator through the load, with reverse-breakdown
> of the base-emitter?

When the power controller is off, the cap is charged to the incoming voltage. When the controller is on, the gate of X1 is pulled low by X2 and the cap is discharged to ground through X2.

This is essentially the same circuit as one made with a pair of inverters in a loop, forming a bistable device. One inverter charges a cap, and the switch loops that back to that inverter's input, forcing the inverter to change state. Then the circuit is stable in the other state. No matter which state the circuit is in, the switch forces it to the opposite state, because it "transports" the state from the output of one inverter to the input of the same inverter.

I think you are looking at R1 as if it controls the voltage on the battery. X2 controls that voltage. Keep in mind that X1, X2 and R3 form a bistable element.

--

Rick C.

++ Get 1,000 miles of free Supercharging
++ Tesla referral code - https://ts.la/richard11209

Re: Low Power High Voltage Flip Flop

<trdtq0$clbu$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115540&group=sci.electronics.design#115540

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: erichpwa...@hotmail.com (Piglet)
Newsgroups: sci.electronics.design
Subject: Re: Low Power High Voltage Flip Flop
Date: Wed, 1 Feb 2023 14:43:08 +0000
Organization: A noisesome patent Spinner
Lines: 19
Message-ID: <trdtq0$clbu$1@dont-email.me>
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com>
<c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com>
<0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 1 Feb 2023 14:43:12 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="68c9e7275706adb1fe3b819ce11302bc";
logging-data="415102"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qegDuiYHu8VDVhO9TOe1x"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101
Thunderbird/91.13.1
Cancel-Lock: sha1:hw7s8OICM18kPHpxcIFRGkM++14=
In-Reply-To: <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
 by: Piglet - Wed, 1 Feb 2023 14:43 UTC

On 31/01/2023 08:56, rhor...@gmail.com wrote:
> No, your idea (figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
>
> http://siliconventures.net/images/Flashlight%20Switch.PNG
>
> I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.

Those polarities look wrong?

The opto coupler transistor will reverse zener so circuit will always
switch on when supply is above circa 8-9V. One solution might be to add
a diode in series with either emitter or collector. If the intention is
for arduino to only switch off and only manual switch on allowed then
you could return the opto coupler emitter to ground instead. If so and
the arduino 0V is same as switch ground then you could even substitute
the opto with an NPN or Nch mosfet.

piglet

Re: Low Power High Voltage Flip Flop

<d3ff3909-a180-4c4f-8b1f-f4b351ca6a44n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115543&group=sci.electronics.design#115543

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a0c:ef01:0:b0:537:635a:a3d5 with SMTP id t1-20020a0cef01000000b00537635aa3d5mr206302qvr.48.1675264712592;
Wed, 01 Feb 2023 07:18:32 -0800 (PST)
X-Received: by 2002:a05:622a:1789:b0:3b9:474b:5d94 with SMTP id
s9-20020a05622a178900b003b9474b5d94mr300355qtk.22.1675264712404; Wed, 01 Feb
2023 07:18:32 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Wed, 1 Feb 2023 07:18:32 -0800 (PST)
In-Reply-To: <96a6b149-ae8b-4ad4-934b-dbee60fb5e11n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=209.221.140.126; posting-account=vKQm_QoAAADOaDCYsqOFDAW8NJ8sFHoE
NNTP-Posting-Host: 209.221.140.126
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com> <f4ba45b5-27e1-49ca-b4e9-6096dc46b5d3n@googlegroups.com>
<bf05b502-fffb-4398-997d-5c1e552c28f9n@googlegroups.com> <e5b71bfc-db5f-4819-b77f-73a04768157dn@googlegroups.com>
<96a6b149-ae8b-4ad4-934b-dbee60fb5e11n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d3ff3909-a180-4c4f-8b1f-f4b351ca6a44n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: whit...@gmail.com (whit3rd)
Injection-Date: Wed, 01 Feb 2023 15:18:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3774
 by: whit3rd - Wed, 1 Feb 2023 15:18 UTC

On Wednesday, February 1, 2023 at 6:05:38 AM UTC-8, Ricky wrote:
> On Wednesday, February 1, 2023 at 4:45:13 AM UTC-4, whit3rd wrote:
> > On Tuesday, January 31, 2023 at 11:29:28 PM UTC-8, Ricky wrote:
> > > On Wednesday, February 1, 2023 at 1:19:09 AM UTC-4, whit3rd wrote:
> > > > On Tuesday, January 31, 2023 at 2:46:30 AM UTC-8, John Walliker wrote:
> >
> > > > > > http://siliconventures.net/images/Flashlight%20Switch.PNG
> > > > > >
> > > > > > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.
> > > >
> > > > > Won't the phototransistor get unhappy with reverse bias?
> > > > I'm not seeing any way C1 can pull down the phototransistor emitter; the DC bias doesn't work with
> > > > the connections as shown.
> > > I don't follow. The only thing the phototransistor can do is pull down the gate of X2 when activated. That will let the Arduino turn off the power source. Because the phototransistor is bipolar, it won't be able to pull up on the X2 gate to turn on the power source. I'm not sure how C1 limits anything. It provides the current to drive the X2 gate (over driving R3 for a moment) until the circuit can switch. It also debounces the push button.
> > If the C1 capacitor starts at 25V bias, when does it ever drop to lower voltage? How much
> > lower? Do you expect to pull down that emitter on the optoisolator through the load, with reverse-breakdown
> > of the base-emitter?
> When the power controller is off, the cap is charged to the incoming voltage. When the controller is on, the gate of X1 is pulled low by X2 and the cap is discharged to ground through X2.
>
> This is essentially the same circuit as one made with a pair of inverters in a loop, forming a bistable device.

AHA, I see it now. I was thinking this was a flip-flop of the usual type, two PMOS or two NMOS,
rather than one of each. I didn't see all the arrows.

Re: Low Power High Voltage Flip Flop

<tre2k5$ddc2$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115546&group=sci.electronics.design#115546

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: cli...@nowaytoday.co.uk (Clive Arthur)
Newsgroups: sci.electronics.design
Subject: Re: Low Power High Voltage Flip Flop
Date: Wed, 1 Feb 2023 16:05:23 +0000
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <tre2k5$ddc2$1@dont-email.me>
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
Reply-To: clive@nowaytoday.co.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 1 Feb 2023 16:05:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="71b39bed09eaf6820052b07b13405ff9";
logging-data="439682"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xnYOW9302TNhsoSNaqgg4wmOLHSfBf/g="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:XFkdW7j+J1xNmxr4RWlYBLr5pmw=
In-Reply-To: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
Content-Language: en-GB
 by: Clive Arthur - Wed, 1 Feb 2023 16:05 UTC

On 30/01/2023 09:15, rhor...@gmail.com wrote:
> I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.

Maybe you can change your requirement. For example, instead of a
toggle, use a momentary push for on and a long push for off. That might
be easier and might lend itself more readily to an op-amp circuit.

--
Cheers
Clive

Re: Low Power High Voltage Flip Flop

<f552bda7-6309-4017-acb1-85f1cf18cb8cn@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115564&group=sci.electronics.design#115564

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a0c:e08b:0:b0:55f:975b:247 with SMTP id l11-20020a0ce08b000000b0055f975b0247mr112174qvk.57.1675324723475;
Wed, 01 Feb 2023 23:58:43 -0800 (PST)
X-Received: by 2002:ac8:5b06:0:b0:3b8:6392:1004 with SMTP id
m6-20020ac85b06000000b003b863921004mr647632qtw.336.1675324722489; Wed, 01 Feb
2023 23:58:42 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Wed, 1 Feb 2023 23:58:42 -0800 (PST)
In-Reply-To: <bc1a3cc8-7c0b-4773-a854-051a0dff44b9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com> <bc1a3cc8-7c0b-4773-a854-051a0dff44b9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f552bda7-6309-4017-acb1-85f1cf18cb8cn@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Thu, 02 Feb 2023 07:58:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5199
 by: rhor...@gmail.com - Thu, 2 Feb 2023 07:58 UTC

On Tuesday, January 31, 2023 at 1:35:31 PM UTC-6, Ricky wrote:
> On Tuesday, January 31, 2023 at 6:46:30 AM UTC-4, John Walliker wrote:
> > On Tuesday, 31 January 2023 at 08:56:30 UTC, rhor... wrote:
> > > On Monday, January 30, 2023 at 10:59:57 PM UTC-6, Ricky wrote:
> > > > On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor... wrote:
> > > > > On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > > > > > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > > > > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > > > > > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> > > > > >
> > > > > > The gate-oxide isn't that robust, so you might need level shifters to make the logic work. It won't have to be that fast, so the level shifters won't need a lot of current.
> > > > > >
> > > > > > Classic CMOS is good for logic rails up to about 18V, but if there a 25V version I haven't heard of it.
> > > > > >
> > > > > > --
> > > > > > Bill Sloman, Sydney
> > > > > Yeah, that is my notion. I need some details.
> > > > What is your notion? 4000 series CMOS won't handle the battery voltages you are talking about. You would need to add two transistors and a voltage regulator to make a 4000 series part compatible with high side switching your 25V power rail. You can do the same job with just the two transistors, no regulator and no 4000 series CMOS. I provided links to some sample circuits.
> > > >
> > > > Maybe you could provide a bit more feedback of what you see here that you like and don't like, and why? Feedback would help a lot.
> > > >
> > > > --
> > > >
> > > > Rick C.
> > > >
> > > > + Get 1,000 miles of free Supercharging
> > > > + Tesla referral code - https://ts.la/richard11209
> > > No, your idea (figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
> > >
> > > http://siliconventures.net/images/Flashlight%20Switch.PNG
> > >
> > > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.
> > Won't the phototransistor get unhappy with reverse bias? A better optocoupler would
> > use a symmetric photofet. Something like the H11F1 would work, but there are others.
> If isolation is not required, and a common ground is used, there are analog switches which should handle 25V. But I would not say an opto is overkill. At least a transistor short won't fry the Arduino.
>
> --
>
> Rick C.
>
> -+ Get 1,000 miles of free Supercharging
> -+ Tesla referral code - https://ts.la/richard11209
Yeah, exactly. "Not that the Arduino is exactly expensive, but the relay is cheap insurance. The ground is common, but the supply rail is not, of course. The opto-coupler also insures no part of the circuit draws any current when the switch is off. According to circuit analysis, the current leakage should be under 2uA. That way exceeds the design parms. I love it!

Re: Low Power High Voltage Flip Flop

<b2dfe930-78e3-499b-bcf9-283712b4dd3cn@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115566&group=sci.electronics.design#115566

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:d4:b0:3b9:c212:c49a with SMTP id p20-20020a05622a00d400b003b9c212c49amr297281qtw.258.1675326069297;
Thu, 02 Feb 2023 00:21:09 -0800 (PST)
X-Received: by 2002:a05:620a:30f:b0:71d:8202:bc8 with SMTP id
s15-20020a05620a030f00b0071d82020bc8mr276911qkm.192.1675326069003; Thu, 02
Feb 2023 00:21:09 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Thu, 2 Feb 2023 00:21:08 -0800 (PST)
In-Reply-To: <f552bda7-6309-4017-acb1-85f1cf18cb8cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=63.114.57.174; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 63.114.57.174
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com> <bc1a3cc8-7c0b-4773-a854-051a0dff44b9n@googlegroups.com>
<f552bda7-6309-4017-acb1-85f1cf18cb8cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b2dfe930-78e3-499b-bcf9-283712b4dd3cn@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: gnuarm.d...@gmail.com (Ricky)
Injection-Date: Thu, 02 Feb 2023 08:21:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5661
 by: Ricky - Thu, 2 Feb 2023 08:21 UTC

On Thursday, February 2, 2023 at 2:58:47 AM UTC-5, rhor...@gmail.com wrote:
> On Tuesday, January 31, 2023 at 1:35:31 PM UTC-6, Ricky wrote:
> > On Tuesday, January 31, 2023 at 6:46:30 AM UTC-4, John Walliker wrote:
> > > On Tuesday, 31 January 2023 at 08:56:30 UTC, rhor... wrote:
> > > > On Monday, January 30, 2023 at 10:59:57 PM UTC-6, Ricky wrote:
> > > > > On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor... wrote:
> > > > > > On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > > > > > > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > > > > > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > > > > > > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> > > > > > >
> > > > > > > The gate-oxide isn't that robust, so you might need level shifters to make the logic work. It won't have to be that fast, so the level shifters won't need a lot of current.
> > > > > > >
> > > > > > > Classic CMOS is good for logic rails up to about 18V, but if there a 25V version I haven't heard of it.
> > > > > > >
> > > > > > > --
> > > > > > > Bill Sloman, Sydney
> > > > > > Yeah, that is my notion. I need some details.
> > > > > What is your notion? 4000 series CMOS won't handle the battery voltages you are talking about. You would need to add two transistors and a voltage regulator to make a 4000 series part compatible with high side switching your 25V power rail. You can do the same job with just the two transistors, no regulator and no 4000 series CMOS. I provided links to some sample circuits.
> > > > >
> > > > > Maybe you could provide a bit more feedback of what you see here that you like and don't like, and why? Feedback would help a lot.
> > > > >
> > > > > --
> > > > >
> > > > > Rick C.
> > > > >
> > > > > + Get 1,000 miles of free Supercharging
> > > > > + Tesla referral code - https://ts.la/richard11209
> > > > No, your idea (figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
> > > >
> > > > http://siliconventures.net/images/Flashlight%20Switch.PNG
> > > >
> > > > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino..
> > > Won't the phototransistor get unhappy with reverse bias? A better optocoupler would
> > > use a symmetric photofet. Something like the H11F1 would work, but there are others.
> > If isolation is not required, and a common ground is used, there are analog switches which should handle 25V. But I would not say an opto is overkill. At least a transistor short won't fry the Arduino.
> >
> > --
> >
> > Rick C.
> >
> > -+ Get 1,000 miles of free Supercharging
> > -+ Tesla referral code - https://ts.la/richard11209
> Yeah, exactly. "Not that the Arduino is exactly expensive, but the relay is cheap insurance. The ground is common, but the supply rail is not, of course. The opto-coupler also insures no part of the circuit draws any current when the switch is off. According to circuit analysis, the current leakage should be under 2uA. That way exceeds the design parms. I love it!

So your intent is that the Arduino only turns the circuit off? I don't think the opto as drawn can turn it on.

--

Rick C.

--- Get 1,000 miles of free Supercharging
--- Tesla referral code - https://ts.la/richard11209

Re: Low Power High Voltage Flip Flop

<7ef62f31-b8f4-4f84-98d8-594fb79e112en@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115568&group=sci.electronics.design#115568

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:620a:6209:b0:71f:fa55:dc3d with SMTP id ou9-20020a05620a620900b0071ffa55dc3dmr511445qkn.258.1675326831868;
Thu, 02 Feb 2023 00:33:51 -0800 (PST)
X-Received: by 2002:a05:622a:1186:b0:3b8:6d62:435f with SMTP id
m6-20020a05622a118600b003b86d62435fmr484348qtk.114.1675326831665; Thu, 02 Feb
2023 00:33:51 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Thu, 2 Feb 2023 00:33:51 -0800 (PST)
In-Reply-To: <trdtq0$clbu$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<trdtq0$clbu$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7ef62f31-b8f4-4f84-98d8-594fb79e112en@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Thu, 02 Feb 2023 08:33:51 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2510
 by: rhor...@gmail.com - Thu, 2 Feb 2023 08:33 UTC

On Wednesday, February 1, 2023 at 8:43:19 AM UTC-6, erichp... wrote:
> On 31/01/2023 08:56, rhor... wrote:
> > No, your idea (figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
> >
> > http://siliconventures.net/images/Flashlight%20Switch.PNG
> >
> > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.
> Those polarities look wrong?
>
> The opto coupler transistor will reverse zener so circuit will always
> switch on when supply is above circa 8-9V. One solution might be to add
> a diode in series with either emitter or collector. If the intention is
> for arduino to only switch off and only manual switch on allowed then
> you could return the opto coupler emitter to ground instead. If so and
> the arduino 0V is same as switch ground then you could even substitute
> the opto with an NPN or Nch mosfet.
>
> piglet
That is a good point. Of course by design intent the Arduino won't be able to turn the circuit on; it won't be active. Maybe an FET output opto-isolator?

Re: Low Power High Voltage Flip Flop

<d80a6eba-cd78-41df-bde9-db0f7652ca17n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=115570&group=sci.electronics.design#115570

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:3c9:b0:3b8:4906:c44b with SMTP id k9-20020a05622a03c900b003b84906c44bmr606853qtx.415.1675327219699;
Thu, 02 Feb 2023 00:40:19 -0800 (PST)
X-Received: by 2002:ac8:5a83:0:b0:3b9:b785:bdeb with SMTP id
c3-20020ac85a83000000b003b9b785bdebmr619330qtc.259.1675327219450; Thu, 02 Feb
2023 00:40:19 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Thu, 2 Feb 2023 00:40:19 -0800 (PST)
In-Reply-To: <b2dfe930-78e3-499b-bcf9-283712b4dd3cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.15.243.201; posting-account=cinlnAoAAABWWFgc_siC56jRtRTjUix2
NNTP-Posting-Host: 75.15.243.201
References: <6c5da242-8541-401f-990f-d9fe5575c21bn@googlegroups.com>
<82f173e3-cc52-4cb2-b313-d74baaeccb5bn@googlegroups.com> <c5026fe2-d1a2-4da2-8f44-116a010d7624n@googlegroups.com>
<42e36796-0e10-496e-be75-40e340d784a7n@googlegroups.com> <0d1a060f-3627-4e1d-b9ec-9a066005d8b1n@googlegroups.com>
<e422f29f-1742-45c1-864a-faf271d395d7n@googlegroups.com> <bc1a3cc8-7c0b-4773-a854-051a0dff44b9n@googlegroups.com>
<f552bda7-6309-4017-acb1-85f1cf18cb8cn@googlegroups.com> <b2dfe930-78e3-499b-bcf9-283712b4dd3cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d80a6eba-cd78-41df-bde9-db0f7652ca17n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Thu, 02 Feb 2023 08:40:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6279
 by: rhor...@gmail.com - Thu, 2 Feb 2023 08:40 UTC

On Thursday, February 2, 2023 at 2:21:13 AM UTC-6, Ricky wrote:
> On Thursday, February 2, 2023 at 2:58:47 AM UTC-5, rhor... wrote:
> > On Tuesday, January 31, 2023 at 1:35:31 PM UTC-6, Ricky wrote:
> > > On Tuesday, January 31, 2023 at 6:46:30 AM UTC-4, John Walliker wrote:
> > > > On Tuesday, 31 January 2023 at 08:56:30 UTC, rhor... wrote:
> > > > > On Monday, January 30, 2023 at 10:59:57 PM UTC-6, Ricky wrote:
> > > > > > On Tuesday, January 31, 2023 at 12:43:59 AM UTC-4, rhor... wrote:
> > > > > > > On Monday, January 30, 2023 at 3:43:30 AM UTC-6, bill.... wrote:
> > > > > > > > On Monday, January 30, 2023 at 8:16:01 PM UTC+11, rhor.. wrote:
> > > > > > > > > I have a situation where I need to change a momentary switch to an on / off switch. This is ordinarily very easy using a JK Flip Flop, but there is a twist. The device runs on a 6S Lithium battery, so the voltage will vary from about 18V to 25V or so. In addition, I need the power control circuit to use very little current - on the order of 100 uA - when off. It can use much more power when on - 20 mA or so is no problem.
> > > > > > > > You should be able to build a J/K flip-flop with discrete transistors - there are N-channel and P-channel MOSFETs that can take that kind of voltage.
> > > > > > > >
> > > > > > > > The gate-oxide isn't that robust, so you might need level shifters to make the logic work. It won't have to be that fast, so the level shifters won't need a lot of current.
> > > > > > > >
> > > > > > > > Classic CMOS is good for logic rails up to about 18V, but if there a 25V version I haven't heard of it.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Bill Sloman, Sydney
> > > > > > > Yeah, that is my notion. I need some details.
> > > > > > What is your notion? 4000 series CMOS won't handle the battery voltages you are talking about. You would need to add two transistors and a voltage regulator to make a 4000 series part compatible with high side switching your 25V power rail. You can do the same job with just the two transistors, no regulator and no 4000 series CMOS. I provided links to some sample circuits.
> > > > > >
> > > > > > Maybe you could provide a bit more feedback of what you see here that you like and don't like, and why? Feedback would help a lot.
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Rick C.
> > > > > >
> > > > > > + Get 1,000 miles of free Supercharging
> > > > > > + Tesla referral code - https://ts.la/richard11209
> > > > > No, your idea (figure 3) is perfect. Adding in control from the (existing) Arduino gives me:
> > > > >
> > > > > http://siliconventures.net/images/Flashlight%20Switch.PNG
> > > > >
> > > > > I don't know if there is a better solution than the opto-coupler, but it is definitely a quick and easy solution to interface with the Arduino.
> > > > Won't the phototransistor get unhappy with reverse bias? A better optocoupler would
> > > > use a symmetric photofet. Something like the H11F1 would work, but there are others.
> > > If isolation is not required, and a common ground is used, there are analog switches which should handle 25V. But I would not say an opto is overkill. At least a transistor short won't fry the Arduino.
> > >
> > > --
> > >
> > > Rick C.
> > >
> > > -+ Get 1,000 miles of free Supercharging
> > > -+ Tesla referral code - https://ts.la/richard11209
> > Yeah, exactly. "Not that the Arduino is exactly expensive, but the relay is cheap insurance. The ground is common, but the supply rail is not, of course. The opto-coupler also insures no part of the circuit draws any current when the switch is off. According to circuit analysis, the current leakage should be under 2uA. That way exceeds the design parms. I love it!
> So your intent is that the Arduino only turns the circuit off? I don't think the opto as drawn can turn it on.
>
> --
>
> Rick C.
>
> --- Get 1,000 miles of free Supercharging
> --- Tesla referral code - https://ts.la/richard11209
Correct. No matter how the circuit gets drawn, the Arduino will be dead when power is off, so it can't turn on the device in any case. It doesn't matter, however. The only control I want the Arduino to have is the ability to shut down to protect the battery from over-discharge. The person holding the unit will turn it on and off, except when the battery is low.


tech / sci.electronics.design / Re: Low Power High Voltage Flip Flop

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor