element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Circuit Issue with MOSFET
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 14 replies
  • Answers 2 answers
  • Subscribers 394 subscribers
  • Views 2356 views
  • Users 0 members are here
  • irf540
  • 2N7000
  • arduino
Related

Circuit Issue with MOSFET

wallarug
wallarug over 10 years ago

Hey,

 

I am having issues with this circuit:

 

image

 

Background:  This circuit is to control an RGB LED strip (so three of the above would achieve this).  The reason for this particular design is: IRF540 to drive load (large current) and the two 2N7000 drive the MOSFET, reducing current drain from Controller (possibly a 3v3 Arduino).  The double 2N7000 allows the IRF540 to be active when logic high.

 

Can someone please tell me if there is a problem with the above schematic, otherwise I think it would be my breadboard layout is not correct. (too hard to post that right now).

 

Any comments would be much appreciated.

 

Many thanks,

 

wallarug

  • Sign in to reply
  • Cancel

Top Replies

  • johnbeetem
    johnbeetem over 10 years ago +2
    How is it (mis)behaving? Just some ideas: 1. In general, don't hook up your actual output device until you're sure the circuits controlling it work with a voltmeter. Put a resistor in place of the LED…
  • wallarug
    wallarug over 10 years ago in reply to johnbeetem +1
    Thanks John, I will take everything above into consideration.
  • mcb1
    mcb1 over 10 years ago +1
    @wallarug I'm having feeling of dejavue with a similar circuit some time back to do a similar task. The first FET is right on the limit for conducting, so you could reduce the resistor to 1k or similar…
  • dougw
    0 dougw over 10 years ago in reply to wallarug

    If you want to save as much power and cost as possible then R1 = 0 (replaced with a wire), R2 is removed (infinite resistance), R3=100K, R4=100K.

    If you want to modulate the control with PWM to achieve variable brightness then R1=1K, R2 is removed, R3=10K, R4=2.2K.

    If you really need R2 to keep the LEDs off for the microsecond it takes to power up, it should be 100K, and R1 should be replaced with a wire.

    Doug

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • wallarug
    0 wallarug over 10 years ago in reply to dougw

    Thanks Doug and John,

     

    The circuit is working with the following configuration:

     

    R1: none

    R2: none

    R3: 10k

    R4: 10k

     

    I have not tried to use PWM with the circuit yet, but if should be ok.

     

    Thank you for all your help.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 10 years ago

    image

     

    If you go with a bi-fet circuit, (or just go P-chan) with your middle Q, it won't be on when your load is off.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago

    You might want to have a little TV time image, yes im in them  but its better than coronation street (IMHO)

     

    http://www.element14.com/community/groups/internet-of-things/blog/2014/08/05/driving-big-loads-with-your-micro-controller--no-isolation

    http://www.element14.com/community/groups/internet-of-things/blog/2014/08/05/drive-big-things-with-added-safety-opto-isolators

    and for reading:-

    http://www.element14.com/community/groups/internet-of-things/blog/2014/08/05/sense-big-things-with-your-launchpad-or-arduino-opto-isolated-inputs

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube