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
Light Up Your Life
  • Challenges & Projects
  • Design Challenges
  • Light Up Your Life
  • More
  • Cancel
Light Up Your Life
Forum Planning for the Light Up Your Life Kit
  • News
  • Forum
  • Projects
  • DC
  • Leaderboard
  • Files
  • Members
  • More
  • Cancel
  • New
Join Light Up Your Life to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 44 subscribers
  • Views 108 views
  • Users 0 members are here
  • esp32
  • würth
  • led
Related

Planning for the Light Up Your Life Kit

embeddedguy
embeddedguy 4 days ago

The Light Up Your Life is a design challenge for creating RGB LED based projects using Würth Electronics RGB LEDs.

I am glad to take part in this challenge and creating a project based on RGB LEDs provided by Wurth electronics. 

Participants are required to post at least 5 blog post to complete the challenge successfully and here I am to do that.

  • Introduction to the Challenge and PCB design
  • First steps with PCB
  • Programming the LEDs
  • Machine Learning model with LEDs
  • Challenges Final blog

The official challenge kit contains some six different kinds of LEDs. These are RGB LEDs connected to the SoC module or microcontroller. 

Protocol

The microcontroller can then generate appropriate PWM signal to create color as required. These LEDs are connected in daisy-chain method to generate color values. 

The color of each LED is represented with 8-bit value for each R-G-B channel. Hence, a total of 2^24 colors can be represented. The following image from one of the LEDs datasheets demonstrates how these LEDs can be connected in series and the data format to generate required color value. The first LEDs DOUT is connected to the next ones DIN pin. This way the internal chip of the first LED can transfer the next bytes of incoming color values to the next LEDs in series in the daisy chain method. 

As soon as there is a RESET signal, the next incoming data for color values from the microcontroller will start from the first LED in the series. 

 

image

The timings of these LEDs are also important to understand. The following figure explains it visually. The code 0 and code 1 is represented with different kinds of PWM signals. The total wavelength remains the same that is approx. 1.2 us. But the duty cycle changes if the code is 0 or it is 1. For the reset signal though, the period is approx. 200 us. 

image

Calculating parameters for design using datasheet

One important aspect to design a circuit or even PCB is to understand the power requirements (mainly current and voltage) of the final design and specifically of number of these LEDs connected in daisy chain method on a GPIO pin. It is also important to understand the number of LEDs in the design in order to know the overall power requirements of the circuit. 

Würth Elektronik provides this power ratings into their datasheet. The following image from one of the datasheets of their LEDs is an example tobe considered. These are the absolute maximum ratings for the LED. To calculate the maximum current that a number of LEDs will require we can use the following table. 

As per the table, each of this LED requires 6.5 mA to operate. Technically, as there are three LEDs in one we need to calculate the current accordingly. 

So, if I am using three LEDs of this kind, it will require approximately 60 mA to operate. This will help me to decide weather a perticular GPIO is able to handle this current or not.

6.5 x 3 x 3 = 59 mA.

image

Each one of these LEDs needs decoupling capacitor that is required to filter the incoming power supply ripples. Normally and for most LEDs from Würth would need 100nF capacitor of X7R gradient rating.

Würth Elektronik has different kinds of LEDs in programmable series. For this challenge, there are some interesting LEDs that are different from standard programmable LEDs. They use different programming interface, or they have difference in hardware pins that are available.

One of the issues with these programmable LEDs is that they if they are connected in series (daisy chain method) then if one of the LEDs is not working properly or has malfunctioned then none of the next LEDs will work. This is because they are internally connected, and data will not be transmitted to the next LEDs. To solve such problems, Würth Elektronik provides an LED that can skip single LED if it is not working. 

image

Another example is using different interfacing protocol than standard PWM protocols that LEDs use as explained above. In this LEDs use two pins that is one for Data and another for clock signals. 

The following figure shows the timing diagram of the LED that has clock and data lines. 

image

  • Sign in to reply
  • Cancel

Top Replies

  • cstanton
    cstanton 3 days ago +3
    Hi, your blog post has been converted to a forum post, here's a reminder of the requirements: " All challengers are encouraged to regularly post their build progress— with 5 forum posts or more plus…
  • colporteur
    colporteur 4 days ago

    Hummm I'm curious about the coupling capacitor.

    I've used WS2814 LED strips and broken them apart into different sections never calling on a cap. I have cap'd the power supply input on longer strings but never inside the string. Is this something unique to the product provided?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton 3 days ago

    Hi, your blog post has been converted to a forum post, here's a reminder of the requirements:

    " All challengers are encouraged to regularly post their build progress— with 5 forum posts or more plus a project blog post before the closing date. Posts which are media-rich with Photos, Videos and Code samples will be viewed more favorably in the judging process."

    The project blog post is meant to be your final write up Slight smile

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • DAB
    DAB 3 days ago

    Nice start.

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