Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Teensy 3.2 switching MOSFET

  1. #1
    Junior Member
    Join Date
    May 2019
    Posts
    11

    Teensy 3.2 switching MOSFET

    Hey guys, going to preface this by saying my electrical engineering skills are sub-par at best,

    I finally got my code working, but now I'm working on the circuit board side of things. My teensy reads voltage and then outputs a high signal from pin 8 when the battery is high enough, and then a low signal when the battery is too low. I need that high/low to control the battery powering internal components. I know the teensy only outputs 3.3v which isn't going to be enough for most relays, so a MOSFET seemed like the right way to go.

    The battery is a 12V 10A(max) battery. https://www.amazon.com/BTL14A240C-Li...ct_top?ie=UTF8
    The Mosfet is a 60V logic-level N-channel Mosfet. https://cdn.sparkfun.com/datasheets/.../FQP30N06L.pdf

    From my understanding the Mosfet can easily handle the 12V and 10A from the battery, and can be switched on by as little as 1V at the gate from the teensy. However when I wire it up power flows regardless of the teensy signal.

    Here's a quick schematic that shows how I have it wired (as well as displays my lack of electrical knowledge);
    Click image for larger version. 

Name:	MOSFET Sketch.PNG 
Views:	5 
Size:	6.3 KB 
ID:	16852

    Any input as to why the Mosfet isn't stopping power would be greatly appreciated!

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,248
    Quote Originally Posted by Shadrach View Post

    Here's a quick schematic that shows how I have it wired (as well as displays my lack of electrical knowledge);
    Click image for larger version. 

Name:	MOSFET Sketch.PNG 
Views:	5 
Size:	6.3 KB 
ID:	16852

    Any input as to why the Mosfet isn't stopping power would be greatly appreciated!
    have a look at https://www.electronics-tutorials.ws...or/tran_7.html
    IMO,you need always a common ground

  3. #3
    Junior Member
    Join Date
    May 2019
    Posts
    11
    AHA! the common ground made all the difference! Thank you for the speedy reply!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •