2N7002 Questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dodadew
    Member
    • Apr 2014
    • 37
    • USA

    #1

    2N7002 Questions

    I have a dilemma. I am building a circuit to switch 2 separate "loads"...one with a switched ground and one with a switched positive. I am using an ATTINY to switch a pair of 2n7002 Mosfets. I have attached a schematic. I am using a resistor to step down the voltage from +12 to ~ 4v to run the ATTINY. The question I have is if Q2 would run consistently in this setup or if you have a better idea of what to run? I am using the 2n7002 to sink < 1 amp in both directions. Ultimately I have another circuit monitoring the output of these pins checking for -12 on one and +12 on the other. The circuit works but I had to swap the Source and Drain of Q2 to get the functionality that I want. I am hoping this is proper use, and not an undocumented feature that will soon fail. Does anyone have any insight?

    EDIT : I think I have a bug in my schematic I will follow up in a moment.
    EDIT2: Lol. Lets make this easy. I need to switch +12v from a +4ish v signal (the attiny going HIGH). Any ideas on what I could do this with?
    Attached Files
    Last edited by dodadew; 02-19-2015, 11:42 PM.
  • eccerr0r
    Solder Sloth
    • Nov 2012
    • 8694
    • USA

    #2
    Re: 2N7002 Questions

    Q2 won't work the way you expect it to work. As you found, reversing D and S works because now you're using the body diode as the conduction device, and you might well just short out D and S and save a little power this way...

    I'm not sure how you're using a resistor to 'step down' 12V to 4V but surely that's also questionable use of resistors to produce a constant voltage needed for digital electronics. You're best off using a cheap linear dissipative regulator like a 78L05 or something to power the attiny.

    Comment

    • dodadew
      Member
      • Apr 2014
      • 37
      • USA

      #3
      Re: 2N7002 Questions

      This circuit basically sends a few pulses quick (~ 5 seconds of off and on) then shuts down (~10 microamps). I was going to use some sort of 5v regulator, but to keep cost down and mainly size (final product is less than .5in x .5in) but with the tiny current pull, the resistor kept the ATTINY within operating voltage. The q1 side works perfect. Right after I posted I noticed q2 was not doing what I wanted. I don't know where my brain was. I think what I need to use is a P channel instead to get the functionality that I want. Does that sound like English, because I am sorta following what I am saying.
      Last edited by dodadew; 02-19-2015, 11:57 PM.

      Comment

      • stj
        Great Sage 齊天大聖
        • Dec 2009
        • 30977
        • Albion

        #4
        Re: 2N7002 Questions

        you need an N type fet and a P type fet.
        i dont know what your driving but know this,
        fets take time to turn off.
        if your doing motor drive, you must put a small software delay between turning one fet off, and turning the other on.
        it's called "dead-time" if you dont, you can end up with both fets conducting at the same time and exploding.

        Comment

        • dodadew
          Member
          • Apr 2014
          • 37
          • USA

          #5
          Re: 2N7002 Questions

          I'm actually using them to signal another device. Both are on separate circuits but they need to signal +12 and -12. In a nutshell this circuit powers up, waits 6 seconds, goes high on pb1, waits 500ms, goes high on pb0, waits 1s, goes low on pb0, waits 1s, goes high on pb0, waits 500ms and goes low on pb1.

          Since I need 12v signal I am switching the fet to to get this. No motor drive. . Pb0 is signaling -12 and pb1 needs to signal +12. The -12 side works perfectly. I just need a way to signal +12 from a sot-23 package. That's where I'm stumped. As I am not 100% sure of the current draw from the other device reading the signal (small but unknown at this time) I chose the 2n7002. Got half working at least.
          Last edited by dodadew; 02-20-2015, 04:47 AM.

          Comment

          • stj
            Great Sage 齊天大聖
            • Dec 2009
            • 30977
            • Albion

            #6
            Re: 2N7002 Questions

            find a p-type equiv of the 2n7002

            Comment

            • budm
              Badcaps Legend
              • Feb 2010
              • 40746
              • USA

              #7
              Re: 2N7002 Questions

              The SW-12V is the same as GND when SW1 is turned on, but since SW-12V is the same as -12V (which is +12V return) so why do you need to switch the GND that goes to another circuit?
              The SW+12V will feed another circuit (The LOAD) and has to return to power source negative which is GND, so what is the purpose of SW-12V(GND)?
              Are you using dual power supplies, +12V & GND, -12V & GND?
              Last edited by budm; 02-20-2015, 02:12 PM.
              Never stop learning
              Basic LCD TV and Monitor troubleshooting guides.
              http://www.badcaps.net/forum/showthr...956#post305956

              Voltage Regulator (LDO) testing:
              http://www.badcaps.net/forum/showthr...999#post300999

              Inverter testing using old CFL:
              http://www.badcaps.net/forum/showthr...er+testing+cfl

              Tear down pictures : Hit the ">" Show Albums and stories" on the left side
              http://s807.photobucket.com/user/budm/library/

              TV Factory reset codes listing:
              http://www.badcaps.net/forum/showthread.php?t=24809

              Comment

              • eccerr0r
                Solder Sloth
                • Nov 2012
                • 8694
                • USA

                #8
                Re: 2N7002 Questions

                I still think even if you want to reduce cost/size, using a single resistor to "create" your +5V for the attiny will result in reduced lifetime or poor operation for the MCU because of regulation problems. Not sure how critical for your device to work but I'd not let it work like this for any extended period of time with any reliability.

                Even if you do use a pfet you still have to be able to shut it off somehow which you won't do with a +5V supply for the attiny, you may have to go use a two stage pfet/pnp driver and a nfet/npn controller for this.

                btw, this is confusing, -12 as in -12 wrt to GND (meaning 24V rail to rail) or just 12V rail to rail and -12 is actually GND as the schematic seems to imply? The -12 should also not work if it's truly -12V with a 2n7002 nfet. Just trying to make sure your conventions are correct...

                Comment

                • budm
                  Badcaps Legend
                  • Feb 2010
                  • 40746
                  • USA

                  #9
                  Re: 2N7002 Questions

                  "btw, this is confusing, -12 as in -12 wrt to GND (meaning 24V rail to rail) or just 12V rail to rail and -12 is actually GND as the schematic seems to imply? The -12 should also not work if it's truly -12V with a 2n7002 nfet. Just trying to make sure your conventions are correct..."
                  That is what I am trying to understand too as to what he is trying do to the load (the other circuit).
                  Also there is no cap for the VCC, at least use Zener diode and cap there on VCC.
                  Last edited by budm; 02-20-2015, 02:33 PM.
                  Never stop learning
                  Basic LCD TV and Monitor troubleshooting guides.
                  http://www.badcaps.net/forum/showthr...956#post305956

                  Voltage Regulator (LDO) testing:
                  http://www.badcaps.net/forum/showthr...999#post300999

                  Inverter testing using old CFL:
                  http://www.badcaps.net/forum/showthr...er+testing+cfl

                  Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                  http://s807.photobucket.com/user/budm/library/

                  TV Factory reset codes listing:
                  http://www.badcaps.net/forum/showthread.php?t=24809

                  Comment

                  • stj
                    Great Sage 齊天大聖
                    • Dec 2009
                    • 30977
                    • Albion

                    #10
                    Re: 2N7002 Questions

                    if you want to reduce cost, use a pic chip instead of an atmel.
                    something like 12f629 or even a 6pin 10f series.

                    Comment

                    • dodadew
                      Member
                      • Apr 2014
                      • 37
                      • USA

                      #11
                      Re: 2N7002 Questions

                      Sorry I have not been around for the last few days. Ill follow up with explaining everything this evening. Thanks for the input.

                      Comment

                      Related Topics

                      Collapse

                      • Powderfanupnorf
                        Dell AL440LX power on switch circuit help required
                        by Powderfanupnorf
                        Hi Everyone. First official post so fingers crossed I conform and also manage to get photos to work.

                        So I am requesting some help from anyone who happens to have one of these motherboards to hand and perhaps a multimeter.

                        My board has a single row of header pins for all the front panel stuff (have seen others where they are grouped together differently so thats no help) and the two pins for the power on switch had been previously repaired and I am trying to make a better repair. There looks to be pad and trace damage and im happy to relocate the header pin/pins to...
                        06-24-2024, 01:24 PM
                      • Document Archive
                        Acer Switch Switch V 10 SW5-017P Hybrid (2-in-1) V 10 Specification for Upgrade or Repair
                        by Document Archive
                        This specification for the Acer Switch Switch V 10 SW5-017P Hybrid (2-in-1) can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the Switch V 10 SW5-017P boardview and Switch V 10 SW5-017P schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification,...
                        09-06-2024, 05:30 AM
                      • fab13
                        Nintendo Switch lite charging chip heats up and does not short circuit
                        by fab13
                        Hello everyone


                        Small technical problem on a Nintendo Switch lite
                        Here's what I noticed: the USB port has been damaged internally, with a short circuit on the power supply line to the small fuse.

                        After replacing the USB connector, the short circuit went away and I can't see any other short circuit in the whole motherboard.

                        When I charge the console, it seems to be charging: I get 15 volts and an amperage of 0.450 A.

                        Then, after a while, the amperage increases to 1.1 A and the BQ24193 charging chip starts to heat up, as evidenced...
                        09-16-2023, 04:59 AM
                      • Natob82
                        Micro Momentary Push Switch?
                        by Natob82
                        Great to be here! I'm a newbie here trying to find a "micro", momentary push switch to repair a Sony "clamshell" video walkman. This micro switch has long since discontinued by Sony, however I hope there are third-party switches of the same size and functionality that I might be able to source to play the same role. The purpose of this switch is to tell the video walkman that the user has activated the mechanical tape eject button, turning that physical action into an electronic signal that tells the tape transport mechanism to open so one can load or eject a video tape. I...
                        12-21-2022, 05:22 AM
                      • grimacelord
                        NEC TurboExpress On/Off Power Switch Replacement Help
                        by grimacelord
                        Hello,

                        I've been working on a NEC TurboExpress and I accidentally got the plastic inside the power ON/OFF switch too hot while doing other repairs and melted it. At first, it would still power on when sliding the switch, but you had to really press inward while sliding to get it to work.

                        I removed the switch component and tried to gently melt the plastic back so it would work more reliably and all I managed to do was make it worse.

                        I need to find a replacement On/OFF switch for this, but having some trouble figuring out which kind of switch I need....
                        11-09-2023, 09:49 AM
                      • Loading...
                      • No more items.
                      Working...