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 18 replies
  • Subscribers 44 subscribers
  • Views 448 views
  • Users 0 members are here
  • esp32
  • würth
  • led
Related

Planning for the Light Up Your Life Kit

embeddedguy
embeddedguy 15 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 forum posts 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 14 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…
  • Anthocyanina
    Anthocyanina 1 day ago in reply to beacon_dave +3
    yeah, it wasn't super clear to me until i saw cstanton's first comment where he mentioned he converted embeddedguy's blog into a forum post. I initially thought it might have been a mistake, since other…
  • beacon_dave
    beacon_dave 1 day ago in reply to embeddedguy +1
    'Forum' posts go here: Forum
  • beacon_dave
    beacon_dave 1 day ago in reply to cstanton

    I don't think this aspect is particularly clear to the average member. I suspect the terms blog and forum are used interchangeably by a lot of members.

    Perhaps you could add some hyperlinks to the correct areas, to help with navigation:

    image 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Anthocyanina
    Anthocyanina 1 day ago in reply to beacon_dave

    yeah, it wasn't super clear to me until i saw cstanton's first comment where he mentioned he converted embeddedguy's blog into a forum post. I initially thought it might have been a mistake, since other challenges use all blogs. maybe a clarification, in their respective sites, that design challenges use forum posts, and experimenting challenges use blogs, would be a good idea

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton 1 day ago in reply to Anthocyanina

    Suitable feedback for e14phil and JoRatcliffe Slight smile

    beacon_dave said:
    suspect the terms blog and forum are used interchangeably by a lot of members.

    Oh? They appear to be very distinctly different in name. The options are close together if you only click the 'new' button though.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • embeddedguy
    embeddedguy 1 day ago in reply to beacon_dave

    beacon_dave Ok. Thank you, Now I got it. I think this should be mentioned. Like from where to create a "Normal Blog" and from where to post "Final Blog".

    cstanton It is good that you have categorized the things. But it was not clear to me so far.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton 1 day ago in reply to embeddedguy
    embeddedguy said:
    Like from where to create a "Normal Blog"

    You don't.

    embeddedguy said:
    where to post "Final Blog".

    image


    "क्या यह मदद करेगा अगर हम इस बारे में अंग्रेज़ी के अलावा किसी और भाषा में बात करें?"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • arvindsa
    arvindsa 1 day ago in reply to cstanton

    If i go to Projects you showed, there is no option to create a new blog

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton 1 day ago in reply to arvindsa
    arvindsa said:
    there is no option to create a new blog

    That's correct for now. I would not expect those involved in the competition to be writing up their final project blog yet.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • arvindsa
    arvindsa 1 day ago in reply to cstanton

    ah, alright then.

    • 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