element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Help Using WS2811 to drive 12v RGB LED strip
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 41 replies
  • Answers 11 answers
  • Subscribers 299 subscribers
  • Views 8830 views
  • Users 0 members are here
  • driver
  • mosfet
  • strip
  • led
  • ws2811
  • rgb
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Help Using WS2811 to drive 12v RGB LED strip

dmilton2004
dmilton2004 over 11 years ago

Greetings all,

 

I am creating a lighting project that I want to have a wall display with large (15" x 20") panels and each panel acts as its own "pixel" (controlled by one WS2811).

 

I had purchased 12v RGB LED strips with 30 LEDs per meter. What I want do is control a section of the RGB strip (about 15 LEDs). I have been scouring the web for possible solutions. One avenue I was looking at was using MOSFETs to drive the strip from the PWM outputs from the WS2811. There is an example in the WS2811 datasheet that shows using 3 LEDs per color with 12v. I do know that the WS2811 is a constant current source device. My thought was to use a logic level N-channel MOSFET to drive the LED strip. This is just based upon the research that I have done. What I have not found was any schematic to go from. I am looking at possible 3 MOSFETs per WS2811.

 

Any help and schematics would greatly help!

 

Thanks in advance!

 

Don

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 10 years ago +3 suggested
    I was able to make this work by using a simple NOT gate between the WS2811 chip and the mosfet. I believe this works because it is using TTL (transistor based logic). The WS2811 requires some kind of load…
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago in reply to michaelkellett +2
    More LEDS in series means less current, thinner wires and a single switch, so 12V = 3-4 LEDS per channel, using a chip like ULN2003 will provide all the drive for a single board probably Using logic levels…
  • dmilton2004
    dmilton2004 over 10 years ago in reply to dragonstyne +2 suggested
    Thanks Steve. I have not tried to trigger the MOSFETs yet, but that was my next plan. I should be able to do that by applying +5v to the Gate and connecting the Source to GND. I should see voltage flow…
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago in reply to dragonstyne

    OK, all understood, we have had our chance at recommending alternatives and understand your desired approach and why, now to start helping you to succeed with your chosen approach

     

    So at this point in your design, what are the issues your currently experiencing ?

     

    Please of course provide code examples, pictures etc, it will all help

     

    Thanks

     

    Peter

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

    Happy Holiday all!

     

    Sorry for not posting any updates but the holidays are here and i am currently working on some projects. I will be back on it after i am done with these projects.

     

    Merry Christmas everyone and a Happy New Year!

     

    Don

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

    The ZUNL110A is enhancement-mode, practically all mosfets are.

    image

    --Pardon the jaggedness, way way too much 425 today--

     

    This is how you make a mosfet switch quickly.  That resistor business doesn't make a lot of sense, a capacitor opposes delta V.  Its only like 100pF to 1nF, so its not like we need an inrush limiter or something.  I stole this from here:  http://www.amazon.com/Practical-Switching-Supply-Motorola-Electronics/dp/0121370305 use it if you are PWM-ing, it works great and it's cheap.

     

    --MC, HNY to you as well--

    Or to get better coverage:  Season's greetings to all!!

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

    Ringing can only occur on the control terminal if there is inductance somewhere.  Keep the gate driver circuit close to the power Q and the control signal.  Use thick, short traces.  Consider using 2oz. board material.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dragonstyne
    0 dragonstyne over 10 years ago in reply to dmilton2004

    Merry Christmas And Happy New Year guys!

     

    -Steve

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

    I was able to make this work by using a simple NOT gate between the WS2811 chip and the mosfet. I believe this works because it is using TTL (transistor based logic). The WS2811 requires some kind of load to create a PWM signal just like  shabaz said and connecting it right to a Mosfet gate is like plugging it into a black hole. The NOT gate (consisting of two transistors and two resistors) completes the circuit and inverts the signal.

     

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to dragonstyne

    Hi Steve,

     

    I'm about to make a big order of these and would like to drive >1000 with a single data stream. Do you think I would run into issues with this?

     

    I suppose I could buy a couple thousand and do some stress tests, but asking seems less expensive.

     

    Thanks!

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

    you need to be careful about current for a starter, each LED at full brightness is 60mA (3 LEDs per pixel at 20mA each), running from a 5V supply

    1000 LEDs  = 1000x0.06 = 60 Amps

    using 12V and 3 LEDs in series will reduce it by 1/3 so you're still looking at about 20Amps. you would have to feed power to the strips every so often so the current draw does not diminish the voltage too much along the strip

     

    The timing requirements I think may also limit you to 1024 devices in series, technically this may mean 3000 LED's if there the 12V strips with 3 in series per chip

     

    i would suggest you simply use a separate data line for each 500 or so LEDs to keep the single strip current down and the refresh rate up

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 9 years ago in reply to Former Member

    Have you checked out the awesome project by COMPACT A Very Compact Christmas Display - Presentation Video

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ipdotsetaf
    0 ipdotsetaf over 5 years ago

    hey there

     

    i know this question was on 2014 but i'll answer any wayimage

    the thing is that i had the same idea and wanted to do some thing like this cuple of weeks ago BUT i actually knew that it is imposible to connect the ws2811 ic directly to mosfets

    and thats because the pwm input signals of the mosfet (0-5v usually) are different from the output pwm signal of a ws2811

    to fix that you can basically use a rgb amplifier witch are preaty cheap OR you can make your own rgb amplifier

    i found a picture taken from one of these amplifiers and its basicaly a inverting op-amp (LM324 witch has 4 op-amps inside) and three n-channel mosfets (in this case A2sHB)

    the op amp translates the pwm signal and the mosfets amplify each r, g and b channels

     

     

    link to the rgb ampifier page ::

    https://perso.aquilenet.fr/~sven337/english/2015/01/19/Tearing-down-a-RGB-LED-strip-amplifier.html

     

    i'am also planning to create something similar so i'd be happy to know that if you could completed the project ? if so, how was the results.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject 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