Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Led dimmer sketch, voltage drop?

Led dimmer sketch, voltage drop?

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Cliff KarlssonC Offline
    Cliff KarlssonC Offline
    Cliff Karlsson
    wrote on last edited by
    #1

    I just uploaded the led dimmer sketch to an pro mini 3.3v with an IRFZ44N mosfet connected and a led strip. It works as it should but I was getting a feeling that the ledstrip was a little dimmer at full brightness, so I tested with a voltmeter. I have a 12v power suply and if I connect it directly I get ~11v. If I use mosfet I get around 8.5v. Why is that and can I do anything to fix this?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Drcashman
      wrote on last edited by
      #2

      The IRFZ44N is not a logic level mosfet. A pro mini 3.3v will not fully open the gate.

      I had the same issues so I went with a IRLZ44N and it works great.

      1 Reply Last reply
      0
      • Cliff KarlssonC Offline
        Cliff KarlssonC Offline
        Cliff Karlsson
        wrote on last edited by
        #3

        Ok, how much voltage/current is needed to open the gate? I changed to a Nano and now I get ~10v

        YveauxY 1 Reply Last reply
        0
        • Cliff KarlssonC Cliff Karlsson

          Ok, how much voltage/current is needed to open the gate? I changed to a Nano and now I get ~10v

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @Cliff-Karlsson said:

          Ok, how much voltage/current is needed to open the gate? I changed to a Nano and now I get ~10v

          First, I'm a software guy, but I'll try to answer your question. Please correct me if I'm wrong!
          I started to type an answer to your question, but it has already been answered many times on the web, e.g. http://electronics.stackexchange.com/questions/144607/do-mosfets-have-voltage-drop-across-source-and-drain-when-turned-on
          And for the full background http://www.microsemi.com/document-portal/doc_view/14692-mosfet-tutorial

          For your IRFZ44N look up the Vgs chart in the datasheet (http://www.irf.com/product-info/datasheets/data/irfz44n.pdf, page 3, figure 3).
          You can see that 4.5 Volts is roughly the bare minimum to get the Mosfet to open its gate, but the maximum current is only about 10Amps there. At 7 Volts it can switch 100Amps -- should be sufficient for your LED strip ;-)
          Either use e.g. a transistor to switch it using a higher voltage, or use a logic-level mosfet, as @Drcashman suggested.

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          15

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular