Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:51 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Electronics : MOSFET question....

     Page 2 of 2    
Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 01:31am 13 Jan 2023
Copy link to clipboard 
Print this post

The 10k between Q1 G and Q2 C doesn't have a number, but it probably isn't needed anyway.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 01:47am 13 Jan 2023
Copy link to clipboard 
Print this post

  Grogster said  Okey dokey, so how does this look:





Does that look like it will satisfy all requirements?
I plan to make C1 an MLC SMD cap, as I have plenty of those in stock, but I CAN change that for an SMD tantalum if the members think that would be better.  I don't really care about EXACT timing, I only care that the MOSFET stays on long enough for the PicoMite to take over and hold the circuit on, so perhaps a tant is overkill?


I am not sure what your Vin is but you are putting close to that across gate-source when you press the on button...

I hope it's not 12V

Jim
Edited 2023-01-13 11:48 by TassyJim
VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 02:30am 13 Jan 2023
Copy link to clipboard 
Print this post

MY solution with more detail



Add resistor to 5V the same value as R4 - 4k7 looks good choice.
Add small capacitor across transistor.
No other hardware changes needed.

On the picomite, the pin powers up as input = high impedance so transistor switches on almost immediately. Voltage on input pin is under 3V so no problems there.

To shut down, change pin to output and set low.
It will stay low until picomite runs out of puff.

Jim
VK7JH
MMedit   MMBasic Help
 
wiseguy

Guru

Joined: 21/06/2018
Location: Australia
Posts: 1156
Posted: 02:34am 13 Jan 2023
Copy link to clipboard 
Print this post

Tassy Jim is right for the first part, the VGS for that FET is the lowest I have encountered on an enhancement FET @ +/-8V. the ones I use are usually a minimumn of +/- 20 to 30V.

So add yet another part a 7.5V zener across R2 with the anode connected to D3's anode.


For his second solution I dont know enough about the picomite or its operation external to the circuit to offer an opinion.

Or you could always leave the circuit as it originally was and tell the user to hold their finger on the button for a few seconds  
Edited 2023-01-13 12:43 by wiseguy
If at first you dont succeed, I suggest you avoid sky diving....
Cheers Mike
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 05:04am 13 Jan 2023
Copy link to clipboard 
Print this post

Red face here too, never considered the possibility of Vgs.MAX being that low.

Jim's solution is perfect.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9306
Posted: 05:38am 13 Jan 2023
Copy link to clipboard 
Print this post

Excellent posts, thanks very much chums.

Yeah, now that I think about it some more, that was the purpose of R2 and R3 on the original circuit, which Jim has posted above with his additions.

The two 10k, act as a voltage-divider to ensure that the gate of the MOSFET never sees more then about -6v with the 12v plug-pack(YES - 12v DC in), or roughly -4.5v when running on the 9v rechargeable battery and you press the button.

I have a funny feeling that had that not been pointed out again by Jim, the magic smoke would have got out of the MOSFET on the first attempt!  

Using Jim's arrangement, when first powered on, Q2 will switch on producing roughly 2.5v on the PicoMite pin.  Once you make the pin an output and pull it low, would not the red 4k7 try to pull-up the PM pin to 5v, thus exceeding it's 3v3 maximum?
It'd be fine while Q2 is on, but as soon as you switch it off....

Should I add a 3v3 zener across the PM pin and ground do you think?

EDIT: Or could I feed Q2 from the 3v3 output on the PM module rather then the 5v, then it should not matter.
Edited 2023-01-13 15:44 by Grogster
Smoke makes things work. When the smoke gets out, it stops!
 
wiseguy

Guru

Joined: 21/06/2018
Location: Australia
Posts: 1156
Posted: 05:59am 13 Jan 2023
Copy link to clipboard 
Print this post

What about just pulling it up to the 3.3v supply instead of 5 V ?  I dont see problems I see solutions.....I wish they all worked..........
Edited 2023-01-13 16:00 by wiseguy
If at first you dont succeed, I suggest you avoid sky diving....
Cheers Mike
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 06:03am 13 Jan 2023
Copy link to clipboard 
Print this post

  Grogster said  
Using Jim's arrangement, when first powered on, Q2 will switch on producing roughly 2.5v on the PicoMite pin.  Once you make the pin an output and pull it low, would not the red 4k7 try to pull-up the PM pin to 5v, thus exceeding it's 3v3 maximum?
It'd be fine while Q2 is on, but as soon as you switch it off....

My reasoning is, when the pico pin is driving low, the 4.7k to 5V will be overridden by the 0V output so no worries. I would set the pico pin LOW before making it an output but if you didn't , it should only see the divided 5V or between 2.5 and 3 volts. It will be higher than 1/2 5V due to the 0.6V drop through the transistor base.

Using 3.3V instead of 5V would make it 'safer' but I reasoned that the 5V rail will go low before the 3.3 and the pico will stay running until the 3.3 is reduced.
Using the 5V gives us a head start on the shutdown process and the pico pin held low for longer.

Jim
VK7JH
MMedit   MMBasic Help
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9306
Posted: 08:32am 13 Jan 2023
Copy link to clipboard 
Print this post

Excellent, thanks for that clarification Jim.
Smoke makes things work. When the smoke gets out, it stops!
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024