Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Conquest is easy. Control is not. -- Kirk, "Mirror, Mirror", stardate unknown


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
Re: Low Power High Voltage Flip Flop

<793eb371-51a0-414e-860f-a15cff89c03dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ad4:5509:0:b0:537:702d:4db8 with SMTP id pz9-20020ad45509000000b00537702d4db8mr477517qvb.47.1675356301235;
Thu, 02 Feb 2023 08:45:01 -0800 (PST)
X-Received: by 2002:ac8:5a83:0:b0:3b9:b785:bdeb with SMTP id
c3-20020ac85a83000000b003b9b785bdebmr778891qtc.259.1675356300922; Thu, 02 Feb
2023 08:45:00 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!feeder1.cambriumusenet.nl!feed.tweak.nl!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: Thu, 2 Feb 2023 08:45:00 -0800 (PST)
In-Reply-To: <d80a6eba-cd78-41df-bde9-db0f7652ca17n@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> <b2dfe930-78e3-499b-bcf9-283712b4dd3cn@googlegroups.com>
<d80a6eba-cd78-41df-bde9-db0f7652ca17n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <793eb371-51a0-414e-860f-a15cff89c03dn@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: gnuarm.d...@gmail.com (Ricky)
Injection-Date: Thu, 02 Feb 2023 16:45:01 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Ricky - Thu, 2 Feb 2023 16:45 UTC

On Thursday, February 2, 2023 at 3:40:23 AM UTC-5, rhor...@gmail.com wrote:
> 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.

You never said the Arduino is powered by this power source. If so, the Arduino doesn't need isolation. A simple transistor can ground the gate of X2, turning it, and the entire power unit off. Optoisolators are more expensive than transistors, buy a good margin... not to mention smaller.

--

Rick C.

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

Re: Low Power High Voltage Flip Flop

<8b4c4739-bd98-480b-9dba-a44547a94724n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:620a:6209:b0:71f:fa55:dc3d with SMTP id ou9-20020a05620a620900b0071ffa55dc3dmr839407qkn.258.1675412208751;
Fri, 03 Feb 2023 00:16:48 -0800 (PST)
X-Received: by 2002:ac8:5fd2:0:b0:3b9:b148:b734 with SMTP id
k18-20020ac85fd2000000b003b9b148b734mr1166222qta.65.1675412208542; Fri, 03
Feb 2023 00:16:48 -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: Fri, 3 Feb 2023 00:16:48 -0800 (PST)
In-Reply-To: <793eb371-51a0-414e-860f-a15cff89c03dn@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>
<d80a6eba-cd78-41df-bde9-db0f7652ca17n@googlegroups.com> <793eb371-51a0-414e-860f-a15cff89c03dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8b4c4739-bd98-480b-9dba-a44547a94724n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Fri, 03 Feb 2023 08:16:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7652
 by: rhor...@gmail.com - Fri, 3 Feb 2023 08:16 UTC

On Thursday, February 2, 2023 at 10:45:05 AM UTC-6, Ricky wrote:
> On Thursday, February 2, 2023 at 3:40:23 AM UTC-5, rhor... wrote:
> > 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.
> You never said the Arduino is powered by this power source. If so, the Arduino doesn't need isolation. A simple transistor can ground the gate of X2, turning it, and the entire power unit off. Optoisolators are more expensive than transistors, buy a good margin... not to mention smaller.
>
> --
>
> Rick C.
>
> --+ Get 1,000 miles of free Supercharging
> --+ Tesla referral code - https://ts.la/richard11209
Well, the issue is the potential on both sides of switch 1 is much higher than the Arduino can handle if exposed directly, and even with the base or drain isolated by a resistor, a transistor is either always going to be on or else can never be turned on. Two complementary transistors could do it, but the opto-isolator is a bit more elegant. An H11F1M should do nicely, and I just happen to have a ton of them on hand.

Re: Low Power High Voltage Flip Flop

<f02a2285-1c4f-4b7f-9a3c-5462e5eeac38n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:108:b0:3a9:7ff3:3239 with SMTP id u8-20020a05622a010800b003a97ff33239mr914997qtw.351.1675414055912;
Fri, 03 Feb 2023 00:47:35 -0800 (PST)
X-Received: by 2002:ae9:eb0b:0:b0:706:96dd:8d4a with SMTP id
b11-20020ae9eb0b000000b0070696dd8d4amr718933qkg.336.1675414055748; Fri, 03
Feb 2023 00:47:35 -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: Fri, 3 Feb 2023 00:47:35 -0800 (PST)
In-Reply-To: <793eb371-51a0-414e-860f-a15cff89c03dn@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>
<d80a6eba-cd78-41df-bde9-db0f7652ca17n@googlegroups.com> <793eb371-51a0-414e-860f-a15cff89c03dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f02a2285-1c4f-4b7f-9a3c-5462e5eeac38n@googlegroups.com>
Subject: Re: Low Power High Voltage Flip Flop
From: rhorer...@gmail.com (rhor...@gmail.com)
Injection-Date: Fri, 03 Feb 2023 08:47:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7577
 by: rhor...@gmail.com - Fri, 3 Feb 2023 08:47 UTC

On Thursday, February 2, 2023 at 10:45:05 AM UTC-6, Ricky wrote:
> On Thursday, February 2, 2023 at 3:40:23 AM UTC-5, rhor... wrote:
> > 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.
> You never said the Arduino is powered by this power source. If so, the Arduino doesn't need isolation. A simple transistor can ground the gate of X2, turning it, and the entire power unit off. Optoisolators are more expensive than transistors, buy a good margin... not to mention smaller.
>
> --
>
> Rick C.
>
> --+ Get 1,000 miles of free Supercharging
> --+ Tesla referral code - https://ts.la/richard11209
Yeah, I guess that's right. I'm not sure why I didn't think of it. I suppose I was stuck on the idea of shorting the switch, but of course that is only required for turning the power both on and off. So there is a better solution. I already sent the design out for printing, but I will update V2 with a BCX70K. I can get them for less than $0.02.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor