Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/09/09 13:11
Read: times


 
#166927 - Of course, it does! But...
Responding to: ???'s previous message
Richard said:
The source would have to be connected to supply adequate to drive the relay. If his relay loses 5 volts at rated current, then he has to have at least enough supply to support that voltage. If his pMOSFET has an on-resistance of 100 mOHMS, and his coil current has to be, say, 100 mA, then he won't lose enough from a 5-volt supply to be missed. After all, it's the current that does the work.

So, the source is connected to 5V and not 3.3V.

Richard said:
As for driving the gate ... if he provides a resistor divider at the gate that limits the 5 volts to 3V3 at the port pin,...

How shall this divider look like? A resistor from source to gate and a resistor from gate to 0V, with the gate connected to the port pin? This would divide the 5V at the port pin to 3.3V.

But how to turn on and off the pMOSFET then? Emitting low state (0V) at the port pin would cause a gate source voltage of -5V and turn on the pMOSFET. Ok. But emitting high state (3.3V) would cause a gate source voltage of 3.3V - 5V = -1.7V which is also suited to turn on a low threshold pMOSFET, like the BS108, e.g.

Richard said:
Since the coil current is likely to be small, he can choose a transistor that has relatively low gate capacitance, and will suffer little in performance.

The BS108 shows a gate capacitance of less than 400pF. In combination with an impedance of 4k7 in the divider this results in a time constant of about 2µsec.

What is really affecting the turn on time of the relay is not the gate capacitance but the turn on time of the relay itself, which is in the msec range, usually.

Kai

List of 33 messages in thread
TopicAuthorDate
Driving a 5 v PNP with 3.3 volts pin            01/01/70 00:00      
   Diagram ?            01/01/70 00:00      
      Sketch..            01/01/70 00:00      
         Steve..            01/01/70 00:00      
            Why push-pull?            01/01/70 00:00      
               Thanks Rob            01/01/70 00:00      
               Very much depending on chip            01/01/70 00:00      
                  Yeah, but ...            01/01/70 00:00      
                     Better always add a note for potentially dangerous methods            01/01/70 00:00      
                        Is that my responsability?            01/01/70 00:00      
                  Westermark            01/01/70 00:00      
                     Erik did exmplain            01/01/70 00:00      
                        Sorry Westermark..            01/01/70 00:00      
         KISS            01/01/70 00:00      
   If it has not to be a PNP...            01/01/70 00:00      
      Relay has to be driven..            01/01/70 00:00      
         since I would never do that ...            01/01/70 00:00      
            Open drain pulled up to 5V..            01/01/70 00:00      
               did you read my post            01/01/70 00:00      
                  Deep waters            01/01/70 00:00      
                     OK, more            01/01/70 00:00      
                        I missed this post..            01/01/70 00:00      
      BC556 would turn on, wouldn't it?            01/01/70 00:00      
         It wouldn't. Sorry.            01/01/70 00:00      
   Have you considered a pMOSFET?            01/01/70 00:00      
      Yep, I second that! Use a FET            01/01/70 00:00      
         Have you considered that he must drive a 5V relay?            01/01/70 00:00      
            Does that really matter?            01/01/70 00:00      
               To what do you connect the source of this pMOSFET??            01/01/70 00:00      
                  It's the switched drain current that does the work            01/01/70 00:00      
                     Of course, it does! But...            01/01/70 00:00      
                        One could also use a "switch" ...            01/01/70 00:00      
                           Yes, that's safe!            01/01/70 00:00      

Back to Subject List