How an RGB LED works and how to use one! | Basic Electronics

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 2024
  • Ever want to learn how an RGB LED works? RGB LEDs are awesome because you can dynamically create basically any color of the rainbow. We wanted to do this quick overview so that you can better understand what they are and how to set them up. If you want to do this yourself, all the wiring and code used in this example are on our website, here: www.circuitbread.com/tutorial...
    Subscribe to CircuitBread for more videos on basic electronics!
    Table of Contents:
    0:00 Introduction
    00:23 What is RGB LED?
    00:42 What does RGB LED stands for?
    01:13 How to get a certain color output with RGB LED?
    02:23 What is the difference between a common anode and common cathode?
    02:35 How to control each color in an RGB LED?
    05:00 What to take into account when controlling the color output in an RGB LED?
    For electronics tools, tutorials, equations and more check out our site: www.circuitbread.com
    And check out our Friends of CircuitBread, who offer special discounts, product samples, resources and more to our users: www.circuitbread.com/friends
    CircuitBread is joining the fight to help people more easily learn about and use electronics. With an ever-growing array of equations, tools, and tutorials, we're striving for the best ways to make electronics and electrical engineering topics more accessible to everyone.
    ☕️ Buy Me A Coffee ➤ www.buymeacoffee.com/circuitb...
    CircuitBread is and always will be free to its users but we’ll gladly accept any monetary appreciation you may send our way!
    Connect with CircuitBread:
    Instagram ➤ / circuitbread
    Facebook ➤ / circuitbread
    Twitter ➤ / circuitbread
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 164

  • @CircuitBread
    @CircuitBread  3 ปีที่แล้ว +13

    Hey everyone! I misspeak at 3:00 - 3:04 - I should have said "cathode" not "anode" (thanks to Sachin Rane for catching that!) Also, we have a great written tutorial that shows the schematic diagram, provides the part list, and goes into more detail - check it out here: www.circuitbread.com/tutorials/how-rgb-leds-work-and-how-to-control-color

    • @andromilk2634
      @andromilk2634 3 หลายเดือนก่อน

      Thank you, it was driving me crazy and I was starting to ask myself how come, seeing as I'm a beginner learning the subject.

  • @axelperez5166
    @axelperez5166 2 ปีที่แล้ว +2

    Thank you, nice job putting together this video.

  • @katiejoartsy1540
    @katiejoartsy1540 4 ปีที่แล้ว +5

    Best RGB LED explanation I’ve ever heard! Great

  • @UrbanLegend1
    @UrbanLegend1 4 ปีที่แล้ว +4

    It is one of those videos where you want to give more than just one like. Thanks.

  • @bahmannosratollah7017
    @bahmannosratollah7017 ปีที่แล้ว +2

    unbelievable easy explanation. Thank you very much for sharing your knowledge.

    • @imho2278
      @imho2278 ปีที่แล้ว

      Perfect for 1st year computer science.

  • @hoytvolker3
    @hoytvolker3 4 ปีที่แล้ว +10

    Nice, and PANIC xD , finally not confusing them anymore :P

  • @AnilKumar-zo2eu
    @AnilKumar-zo2eu 11 หลายเดือนก่อน +1

    Thank you so much sir for your packaged information

  • @harisuresh2507
    @harisuresh2507 3 ปีที่แล้ว +1

    Fantastic I made it my self and I loved it!

  • @figures7926
    @figures7926 3 ปีที่แล้ว +1

    love it! i learned a lot i this video!!!

  • @EasternElectric2012
    @EasternElectric2012 3 ปีที่แล้ว

    Great job. Thank you

  • @22_khelendrasahu3
    @22_khelendrasahu3 3 ปีที่แล้ว +1

    it's easy to understand your explanation. thank you 😄

  • @ferijusko8775
    @ferijusko8775 3 ปีที่แล้ว

    nice video, thank you!

  • @MalinduWarapitiya
    @MalinduWarapitiya 3 ปีที่แล้ว +1

    Thank you for this video.. 🙏

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +1

      You're welcome! Glad it helped 👍

  • @imho2278
    @imho2278 ปีที่แล้ว

    Nicely done. You know your stuff!

  • @ryanrusydat977
    @ryanrusydat977 3 ปีที่แล้ว

    look what I found. A brilliant channel!

  • @officialparv
    @officialparv 3 ปีที่แล้ว

    Good explanation 👍

  • @geraldofredericocmartins8868
    @geraldofredericocmartins8868 7 หลายเดือนก่อน +1

    excelente video.

  • @DaddyElfMan
    @DaddyElfMan 6 หลายเดือนก่อน +1

    working with christmas lights, c-7 & c-9 bulb sizes, (have small pixel/led combo, 4 GE color change (50 bulbs per string, .3 amps, 36W) but main controller board in 4 sets crapped out), stuff is made so cheap anymore but still costs 50-80 bucks at local big box home improvement stores). thinking for next year to build my own Arduino/raspberry pi setup and power supply, fully enclosed in waterproof box. but need to know more about power supply and arduino combo build. will be checking out your link to the code in the coming days. thanks for good info video.

  • @planker
    @planker 2 ปีที่แล้ว +1

    Excellent. I don't use LED's often. I was not aware of two different Common's. I already burn up enough stuff.

  • @Andrew-qo7om
    @Andrew-qo7om 9 หลายเดือนก่อน

    So I’m laying in bed and I have rgb lights, I had a thought about how it works and I just looked it up and found this. Glad I learned something, Andrew out🤙

  • @MatthewSuffidy
    @MatthewSuffidy 2 ปีที่แล้ว +1

    I was looking around for some confirmation on my colour cube idea, but I did that same sort of stuff and PWM dimming on my channel just now.

  • @steezySqueege
    @steezySqueege 4 ปีที่แล้ว +3

    Could you explain duty cycle? Also, any other fun basic circuits you recommend building for practice? Thanks! And great video!

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว +2

      Thanks Royal! I looked through some of our tutorials and realize we don't have a super-great explanation of duty cycle but if you haven't seen this, it is helpful and does touch on it heavier - www.circuitbread.com/tutorials/how-to-dim-an-led
      As for basic circuits to practice building, I actually recommend our PIC10F200 tutorial series that Sergey has created - it's a fun combination of both circuits and microcontrollers. www.circuitbread.com/tutorials/tags/microcontroller

    • @BariumCobaltNitrog3n
      @BariumCobaltNitrog3n 3 ปีที่แล้ว +4

      Basically, how long it is on during a time period, then how long is it off. Using a pulse width modulated dimmer on a light, a 70% duty cycle means the light is on 70% of the time of each pulse at full brightness, so the light seems dimmed to 70% of the brightness. Say your pulse is 100 milliseconds (msec). The light will be on for 70 msec, then off for 30 msec and it will make the light APPEAR dimmer. The light comes on to full brightness, but isn't on all the time. This is different than a resistor based dimmer, which lowers the voltage to the light and it puts out less light

  • @Shailendram8
    @Shailendram8 2 ปีที่แล้ว +1

    Appreciate the amazing video. I have a question. Can I set an RGB value to the lights like I can do in a photo editing software?

    • @CircuitBread
      @CircuitBread  2 ปีที่แล้ว

      If you setup your software that way, yes. Or if you have a "smart" RGB LED. The kind of LEDs referenced in this video would not be able to without the software.

  • @paulmanhart4481
    @paulmanhart4481 4 หลายเดือนก่อน

    Ok. Interesting and useful. But now I need to apply this to my problem. I have a variable speed drive for a dc treadmill motor. I’m using a SCR and bridge rectifier. I have 2 potentiometers connected to the SCR. One for course speed adjustment and one for fine adjustment (120 kO and 20 kO). What I’d like is a LED indicator light that starts at green for low RPM and goes to red for high RPM , with all the colors of the rainbow between. Silly, I know. But it would be cool and I’m trying to learn electronics.
    When both pots are maxed counter clockwise, the resistance is 140 k Ohms. The motor starts turning just below that. When I rotate either pot clockwise, the resistance goes down and the motor starts turning. How do I hook up this RGB LED to get what I want?
    Your help is appreciated.
    Thanks,
    Paul

  • @rajeshrazz9244
    @rajeshrazz9244 3 ปีที่แล้ว +1

    Awsm bro

  • @YK-fd2hf
    @YK-fd2hf 4 ปีที่แล้ว +4

    I watch your videos, and THIS is what I call Great content. Thank you very much. But the problem is that I don't have an Arduino and I would REALLY like to try this Project on Raspberry PI 4. Help is Appreciated.

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว +3

      Thanks, I appreciate the feedback! I've been thinking about doing an embedded series with a Raspberry Pi because I want to start doing something with my nearly 8 year old son and I want something that'll be easy for him to work with. Unfortunately, I haven't put anything together yet and I've only done one project ever, nearly two years ago, using the GPIOs on a Pi. It's kind of lame to do this to you, but have you checked out this page? www.raspberrypi.org/documentation/usage/gpio/python/README.md

    • @YK-fd2hf
      @YK-fd2hf 4 ปีที่แล้ว

      @@CircuitBread Thank you very much, I will surely check it out.

  • @officialparv
    @officialparv 3 ปีที่แล้ว

    Keep it up👍

  • @leafbelly
    @leafbelly 3 ปีที่แล้ว +1

    Love the "Borg-themed" poster. :-)

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Haha, awesome! You can actually download the PDF from our poster gallery here: www.circuitbread.com/extras/poster-gallery

  • @UsmanSaleemSulehri
    @UsmanSaleemSulehri 3 ปีที่แล้ว +5

    I will recommend turning the light behind you off for better video quality.

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +3

      Thanks Usman! We have been refining the setup and no longer have that light in the videos.

    • @UsmanSaleemSulehri
      @UsmanSaleemSulehri 3 ปีที่แล้ว +1

      @@CircuitBread Great tutorial overall.

  • @afklion7140
    @afklion7140 3 ปีที่แล้ว +1

    Thank you so much for the video!!! I have a question about a project I’m trying to do: I’m new to the Arduino and electrical side so I don’t know much about... anything :( This may be a silly question but, if I were to make a pink salt lamp with an rgb led in the base, how would I control and power the led without placing an entire arduino uno in the lamp’s base? Thanks!

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +2

      Glad the video helped! This may seem overly easy, but just run some wires from the Arduino (wherever you place it) to the LED. You'll need four wires and just connect them on both ends. You could probably just strip all but four conductors from an old-school IDE cable to keep it neat - or buy something like this: www.sparkfun.com/products/14992 The power levels are low enough that you shouldn't have any issues with this method, as long as you're not trying to run the cable from one end of the house to the other.

    • @afklion7140
      @afklion7140 3 ปีที่แล้ว +1

      Thank you for responding! I have a second question if you don’t mind: Is there any way I can control and power the led WITHOUT an arduino at all? The salt lamp was $8 and only had an rgb led that had a smooth rainbow flowing led effect. I didn’t really like that and just wanted to fix it to a solid color, but when I opened it, I saw that one of the two pins (it was rgb but only had two pins 🤷‍♂️) was broken. So I was just trying to figure out how to place in my own led and control/power it without a whole arduino. Could I just buy an led controller chip online? If so, do you have a good one in mind? Thanks!

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +1

      LEDs can easily be controlled without an Arduino but it does depend a lot on how much flexibility and control you want. We talk about how to do this in our PIC10F200 microcontroller series, which those are small and cheap but 1) I doubt you're looking for something as complicated as those tutorials get and 2) while the chip itself is very inexpensive, there is some less-inexpensive hardware needed to program it in the first place. Unfortunately, I don't have any LED controller chips to recommend and, honestly, wonder if a smaller, non-brand name Arduino board would be cheaper and give you more flexibility. Something like: www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html?
      That being said, if you're just looking for a solid color, get some resistors or small trimmers and hardwire them in. You'll pay more for shipping than you will for the resistors, and you won't be able to change the color without replacing the resistors, but it should give you the opportunity to choose the color you'd like. This entire conversation is assuming that these are low-voltage LEDs, of course.

  • @paulspark7287
    @paulspark7287 6 หลายเดือนก่อน

    I haven't tried doing PWM with the led I have. I just connected each of the RGB pins through a resistor each to +3.3V to see what it looked like. I was expecting to see 'white' with all 3 colours but I could just see each individual colour lit as if it really were 3 LEDs stuck together. Does PWM assist in the illusion of blending the colours or are some LEDs just not diffuse and suitable for colour blending?

    • @CircuitBread
      @CircuitBread  6 หลายเดือนก่อน +1

      If you look directly at an RGB LED, you can almost always see the individual colors but if you put some sort of diffuser on it or see the light splayed on a wall or something, it *should* look white. The PWM in this case probably won't make much of a difference unless you're balancing the colors by making one particular color stronger or weaker. But you'll still see them individually if you look directly at the LED.

  • @screamoXable
    @screamoXable 4 ปีที่แล้ว +2

    Alright so I’ve just watched Adam savages latest build involving an infinity pool, you might find it interesting tbh, but I’ve gotten the insatiable urge to make a wall out of the object he builds, many of them tbh lol but it’s going to be probably a couple hundred feet of LED strip cut into smaller pieces by necessity of the build. Say I wanted to add color changes to specific lights throughout the entirety of the display at once while having other sections be other colors simultaneously, in your opinion how would this be easiest? To do as you do in the video and make each unit it’s own thing and time each controller with another or run them all in sequence and off on controller?

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว +1

      Sounds like a fun project! I would not follow this tutorial - the complexity would get out of control very quickly. I guess, technically, it would be possible, but I would go with some addressable RGB strips as it would be a lot easier.

  • @sachinrane4096
    @sachinrane4096 4 ปีที่แล้ว +2

    3:00 To 3:04 -ve pin need to be connected to cathode or anode?

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว +2

      Dang it! Usually we catch when I misspeak when reviewing (which, I misspeak *all* the time) but somehow this one slipped through and remained unnoticed for nearly a year. You are correct - at that point, I should have used the word "cathode" not "anode". Thanks for catching that and commenting!

  • @biggdofficial
    @biggdofficial ปีที่แล้ว

    hey, I'm trying to see if its possible to change the color ov my car amp led lights, its one solid color (red) I want to make them blue. the red light is annoying... ? can you help me ? fyi its not the power on lights but the whole interior amp.

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      If it's accessible, you could directly swap the red LEDs with a blue LED and see what happens. The problem is that blue LEDs require a higher voltage to drive them and, most likely, it won't work. Green LEDs (less irritating to my eyes than both red and blue, personally) have a lower forward voltage than blue but, if I remember correctly, a little higher than red. But it would be more likely to work than blue.

  • @MyAli47
    @MyAli47 4 ปีที่แล้ว

    sorry for bothering but I have many questions!
    I have a motherboard have 4 pin for RGB (+12v-R-G-B)
    I have a cpu cool which have 8x red leds 5mm
    I want to exchange them to RGB instead of red
    1- do I need 3x 470 ohm resistor for each led? or 3 are enough for all leds ?
    2- can I add RGB strip+ the previews 8 rgb Leds to this Circuit? (the rgb strip will include 6~8 leds only)
    I hope you reply me as soon as possible
    thanks!

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว +1

      Hey Ali - no worries about the questions! You will need one resistor per LED (so, three per *RGB* LED). And the value of each resistor does depend on the color of the LED, as the different colors have different forward voltages.
      LED strips, however, are completely different beasts. They usually run off of a higher voltage and are controlled differently, either with a communications protocol or a constant current source.

    • @MyAli47
      @MyAli47 4 ปีที่แล้ว

      ​@@CircuitBread thank you very much for the fast reply
      so can you give me the right value of Resistor for each led? Red, Greed and Blue?
      I thought all will need 470 ohm
      I would be thankful if you help me selecting the right resistors

  • @tomfaragalli3747
    @tomfaragalli3747 2 ปีที่แล้ว

    Hi, love your projects.
    I have been all over youtube here looking for a project. I know very little electronics but learning slow.
    What I am looking for is a RGB led, chip and a veritable resister setup.
    Just a battery with a rgb bulb and veritable resistor to control the speed the rgb changes color.
    Can this or will this work without the Arduino board?

    • @CircuitBread
      @CircuitBread  2 ปีที่แล้ว

      Hey Tom, the word "chip" is a bit too vague in this context - what does that mean? I know you can do this with an Arduino, RGB LED, potentiometer, and some resistors. But if you remove the logic device (the Arduino) and don't replace it with another logic device, then you will only be able to manually change the RGB color (with the potentiometer).

    • @tomfaragalli3747
      @tomfaragalli3747 2 ปีที่แล้ว

      Thank you for your fat reply.
      I was calling a integrated circuit a CHIP. I was looking to make this as compact as possible and the Arduino board makes it to large.
      Maybe a 555 chip with pnp's and npn's to control the direction of the current to the tri-color led with a potentiometer to control the speed of color change.
      Thank you for the fast reply again.

    • @CircuitBread
      @CircuitBread  2 ปีที่แล้ว

      Using a chip like a 555 could be an option but, depending on your learning curve, our PIC10F200 series specifically covers how to do things like this with an incredibly small chip. But, to be frank, while it would give you an immensely greater amount of flexibility and power at the same size as a 555, it would be a commitment to learn the platform and probably an entirely new programming language.

    • @tomfaragalli3747
      @tomfaragalli3747 2 ปีที่แล้ว

      @@CircuitBread Thank you. I am looking it over..

  • @harrisonsnell5434
    @harrisonsnell5434 3 ปีที่แล้ว

    Just getting into arduino, so forgive the ignorance, but would an arduino Nano work just as well as the Uno used here, for the exact same purpose? Great video🤙🏽

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Yep, the Arduino Nano would work great in this situation as well!

  • @rgeller56
    @rgeller56 2 ปีที่แล้ว

    Okay my question is I have underglow will ring lights and a rear burgers panel light I would like to know how to wire a single LED for each for inside the cab of my car to indicate that they are the same color so I don't have one green then once blue and then once red I want to be able to visually see that each one is green or red or blue blue

  • @ianRichter21
    @ianRichter21 2 ปีที่แล้ว

    Can you control an RGB led with a ON-OFF-ON SPDT switch ? I want to be able to toggle between Blue, Orange, and Off with out a microcontroller.

    • @CircuitBread
      @CircuitBread  2 ปีที่แล้ว +1

      Yes, you could figure something out but it wouldn't be orange, as that's not one of the primary colors of the RGB LED. You could choose between red, green, or blue, otherwise you'll need a mechanism to mix the colors. Also, to choose between off and one of the two other colors would be easier with an SP3T switch.

  • @maikelwenders7633
    @maikelwenders7633 ปีที่แล้ว

    I was wondering the following:
    - If I have a circuit with a resistor and an LED, and I change the resistor, outside of the current through the LED, does the voltage across the LED change?
    - If I change the LED and not the resistor, what changes outside the threshold voltage?

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      If you change the resistor, then it does modify the voltage across the LED. But if you look at the VI curve of an LED, once you pass the "knee" or forward voltage, a tiny change in the voltage causes a large change in both current and light output.
      If you change the LED, since you're changing the threshold voltage, you'll also change the amount of current through it. That's why, for an RGB LED, you probably want to have different resistor values for each LED.

  • @BlueeBubble
    @BlueeBubble 4 ปีที่แล้ว

    Ok so if I want to connect 4 of these instead of a 5050 RGB strip to my computer's motherboard (+12V RGB 4 pin), what resistor should I need and do I need common anode or cathode? This is all too confusing :/

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว

      You can hook all four of them in parallel (which may be an interesting challenge! but just hook all four pins of all four RGB LEDs to the same things). To keep things simple, you could use 120 ohm resistors between the motherboard and EACH color input. If you put less than 4 of them in parallel, that resistance will need to increase or you will increase the likelihood of damaging the LED. And it could be either common anode or common cathode, you just need to hook them up differently depending on what you get. A couple helpful tools for this project so you can double check my numbers and assumptions - (www.circuitbread.com/tools/led-resistor-calculator) (www.circuitbread.com/tools/led-colors-and-materials-chart)(www.circuitbread.com/tools/standard-resistor-values)

  • @XxbeyblademasterxX
    @XxbeyblademasterxX ปีที่แล้ว

    how would one go about linking these in series and then connecting multiple links of leds in parellel with each set of links individually programmable?

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      While it would be possible to do this, have you looked into WS2812 LEDs? They're individually addressable and may end up being easier to deal with in the long run. Definitely more consistent and flexible.

    • @XxbeyblademasterxX
      @XxbeyblademasterxX ปีที่แล้ว

      @@CircuitBread thanks I'll look into this

  • @eadientheater
    @eadientheater 3 ปีที่แล้ว

    My friend gave me an arduino set includes this led and i had no idea what was that 4 leaded led is. Thanks to youtube algorithm they saw the situation through my camera and popped this onto my stream.

  • @ahmadmuhaimin2852
    @ahmadmuhaimin2852 ปีที่แล้ว

    Is there a circuit that only use one potentiometer and without arduino?

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      You can use a single potentiometer and no arduino to control all three LEDs inside an RGB LED at the same time though, as we discussed in this video (th-cam.com/video/3kntdICTuUQ/w-d-xo.html) , it's not recommended. But you can have a potentiometer for each color without an Arduino, you just need to make sure that you don't go outside of the voltage specs of the LED as you're adjusting the resistance. Shouldn't be a problem!

  • @arghyadas6978
    @arghyadas6978 3 ปีที่แล้ว

    I really don't know what duty cycle modulation is. I need to learn that first but I understood that the colors are produced by mixing colors from three different leds with a common + and - terminal.

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +1

      Hi Arghya, we have a tutorial about how to dim an LED here: www.circuitbread.com/tutorials/how-to-dim-an-led Hopefully that helps!

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt ปีที่แล้ว +1

      LED need current limiters. Thus for power efficiency you put an inductor on each lead and periodically apply the voltage from the rails.

  • @xsoulx7323
    @xsoulx7323 ปีที่แล้ว

    hey! can you use do this without an arduino?

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      Definitely! This can be done as an analog control (directly with a potentiometer or hardwired), with specific ICs, or with any other microcontroller/PLC/FPGA/control device you want.

  • @IPv6Freely
    @IPv6Freely 3 ปีที่แล้ว

    Can I do this without the arduino where I’m just controlling intensity of each color just by changing resistance?

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +1

      Yep, swapping out any of those resistors with a potentiometer would work. Granted, you need to be careful to not drop the resistance so much that the LED burns out (you could put a fixed resistor and potentiometer in series, if you're nervous) but this would be a very easy way to do it.

  • @elGANSOsanchez
    @elGANSOsanchez 3 ปีที่แล้ว

    can i use an rgb music controller with a led light strip that only has two wires (Black and Red)? I simply need a device that will make my current led strip (again with only two wires) pulsate to the sound of music.

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Kind of... if you're not trying to control colors and/or individual LEDs, you can pulse the entire strip with the music. But if you want to do anything fancy, you'll need more control (either more wires for different colors or digital control for both individual LED and color). With what I'm imagining from your description, you're just basically treating the LED strip as simple LEDs in series.

    • @elGANSOsanchez
      @elGANSOsanchez 3 ปีที่แล้ว

      @@CircuitBread That's exactly right thank you.

  • @ut_fan8787
    @ut_fan8787 ปีที่แล้ว

    Hey! Why is my led not changing color?? Like it doesn't mix to create purple or blue or orange.

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      Weird - it's hard to control to get the exact color you want, but if you have a potentiometer to control them, you should be able to fiddle with it to find what you want. Are you able to get the three colors distinctly?

  • @firedzeaz
    @firedzeaz 3 ปีที่แล้ว

    what will happen if you placed 1 resistor after the carthode instead of placing 3 resistors for each individual light color?

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Y'know, that's such a good question, we made a video about it! th-cam.com/video/3kntdICTuUQ/w-d-xo.html Hopefully this clarifies things.

    • @imho2278
      @imho2278 ปีที่แล้ว

      You won't get color variations.

  • @Fortnite-hm9mk
    @Fortnite-hm9mk 4 ปีที่แล้ว +1

    Hello, I have a device with a RGB LED but the green led isn’t working. Do you think its easy to fix?

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว +1

      Hi! If it's just a connection issue, then it should be easy to fix. If the actual LED portion inside the molded plastic is no longer producing light, then it would be a lot easier to replace than to fix.

    • @Fortnite-hm9mk
      @Fortnite-hm9mk 4 ปีที่แล้ว

      CircuitBread I have a replacement shipping to me right now, but I might not need it.
      I’m not very familiar with you know fixing connectors and wired and stuff, but I know people who can do it.
      If it’s a connection issue is it just to use a solderig iron or something to put it in place? And if I replace it will i still need to do the same as if it was a connection issue?

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว +1

      If it's just a connection issue, then it depends on where the issue is. If If it's at the point where the LED is attached, then just a soldering iron and some solder should be able to fix it quickly. And replacing the LED would accomplish the same thing of reestablishing a connection at that point. If the connection issue is elsewhere in the circuit, then it's going to be a much bigger challenge to find and fix. I've successfully been able to solder flex wires that have been broken but it was difficult for me (my soldering skills are okay but not great) and the end result was rather tenuous. If you have a multimeter, it should be able to help you find breaks in circuits that you can't see. And depending on where it is, you can either dab a bit of solder on with a the soldering iron or replace something or ... well, it just depends on what is causing the problem.

    • @Fortnite-hm9mk
      @Fortnite-hm9mk 4 ปีที่แล้ว

      CircuitBread okay thank you!

  • @Phamy3410
    @Phamy3410 ปีที่แล้ว

    Could I use a clock motor to make it change colors?

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      I'm not sure the configuration you're imagining. A clock motor attached to some sort of digital potentiometer that can turn 360 degrees? Yes, that seems feasible.

    • @Phamy3410
      @Phamy3410 ปีที่แล้ว

      @@CircuitBread I did mean 360 degrees. Also I am talking about like making between 60 and 24 different colors with one.

  • @ozairahmed1352
    @ozairahmed1352 3 ปีที่แล้ว

    can you control the colour of it through the computer that it's connected to (via USB)?

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Hi Ozair, depends on your setup! With the Arduino, if you set it up to take commands through the serial port, yes, you can control the color with your computer. And frankly, it should be quite easy. We have a few high-level tutorials on Arduino on CircuitBread.com that we just posted and those should be enough to get you pointed in the right direction. But Arduinos are so popular, I'm sure you can find exactly what you want somewhere on the internet.

    • @ozairahmed1352
      @ozairahmed1352 3 ปีที่แล้ว

      @@CircuitBread thanks for the help does it have to be an Arduino? My situation is that i have an led lamp that forms an image of the acrylic design u have chosen. Ive placed it inside my pc and ran it through the back of the case so i can connect to the back usb port. Only rponlem is u can only chanhe the colour by physically clicking the button on the device which i cant as it's inside the case and id rather not open the side panel each time to change colour lol

  • @helloworld9057
    @helloworld9057 3 ปีที่แล้ว +1

    COOOL.

  • @Vi-yo8dk
    @Vi-yo8dk 5 หลายเดือนก่อน

    I noticed the website has crashed. If there's any way, can you give us the arduino code for this one. We were using your video for our engineering project.

    • @CircuitBread
      @CircuitBread  5 หลายเดือนก่อน

      Are you still having problems with the site?

    • @Vi-yo8dk
      @Vi-yo8dk 5 หลายเดือนก่อน +1

      it's working properly now, thank you so much

  • @aravindjada8463
    @aravindjada8463 2 ปีที่แล้ว

    Can we apply this method to 6000lumins led light?

    • @CircuitBread
      @CircuitBread  2 ปีที่แล้ว

      Yep, this general concept should work for any RGB LED (that gives you direct access to common and each individual lead, anyway), you'll just have some variety in forward voltage and power consumption.

  • @12washere
    @12washere 3 ปีที่แล้ว

    Hello, i've recently bought the best Budget Keyboard it's called "HP GK200", Just wondering if i can manually change the Static RGB Color into "just Static Red", by opening the case ( i have solder experience ) Thanks!

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +1

      Hey Adam, I'm not familiar with these keyboards (I'd like to blame my wife but even without her influence, I'm just not much of a gamer) so I have no clue how they're wired internally. However, if all of the lights in they keyboard are RGBs, then technically, yes, you could make it so all the LEDs are red. I imagine it would be a bit of a nightmare, though. Is there not a simple way to control it in software? If not, then your best hope is that there is some sort of signal line that you can tap into and, with just a few modifications, drive all of the RGBs red.

    • @12washere
      @12washere 3 ปีที่แล้ว

      @@CircuitBread Yes, if I were to replace the RGB Lights to only Static Red LEDs is it possible?

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Actually swapping them out? That sounds like it would be even more challenging. If you can, I'd recommend popping it open, taking a look at what you have, and, if you're still unsure, jump onto our Discord channel and upload the picture so we can take a look at it as well. It would be easier to provide thoughts and advice there rather than here on TH-cam (where we don't get notified of follow up comments).

    • @12washere
      @12washere 3 ปีที่แล้ว

      @@CircuitBread I mean would it work? because i know how to open up my keyboard and pop them off ( if you're concerned about it ), I just wonder if the Lights would even turn on if i put Static Red LEDs replacing my Static RGB LED

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Hey Adam, my only concern is that if the RGB LEDs have three signal wires, which one will you hook your static RGB LED up to? You don't want to short the signal wires together or you'll have problems. And if you can control which signal wire is used at any point, then there's not much point in swapping them out as you can drive just the red portion of your RGB LEDs.
      And sorry for the delay in response - TH-cam does a terrible (nonexistent) job of notifying me when there are followup comments. I have to look for them manually and I miss them sometimes.

  • @ArneChristianRosenfeldt
    @ArneChristianRosenfeldt ปีที่แล้ว

    Are there packages where the three diodes are so close to each other or in a comb pattern that even with a clear plastic lens the light cannot be distinguished? Why do RGB LED displays use individual LEDs?

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      They use individual LEDs because, in the vast majority of the cases, it works well enough, and it's much, much cheaper/easier/better than trying to put those discrete LEDs even closer together in an even smaller array. The thing is that LEDs create their color based off the material they're made out of. So, if you want to put those different-colored LEDs close together, at the semiconductor level you'll need completely different materials. Or at least, different enough to be a huge pain that their lattices don't connect to each other naturally or easily - a surprisingly large challenge that scientists have had to overcome as they're developing LEDs.

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt ปีที่แล้ว

      @@CircuitBread I thought you could cut an LED in quarters and the mix the colors ( weakest technology gets 2 quarters ). Then press those together. Maybe even nicer would be 60° sectors (waffles) and then opposing sectors have the same color to let them all have the effective center in the same spot. The overall emitting surface better stays below the diffraction limit ( so below 1µm ). Maybe some precisely placed air bubbles can give us a high emission with good uniformity.

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      Yep, that sounds that it would work! I think that's where the demand question comes in. That would be more work and cost more and, if there's no demand for it, I doubt anyone is making it. I could be totally off on this but I haven't heard of anyone going to significant lengths to make it so the LED itself was completely indistinguishable from a single color light source.

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt ปีที่แล้ว

      @@CircuitBread cost is probably the main factor. We pay for the whole semiconductor crystal. If we go to the cooling limit, we have lots of payload for low overhead of wire pads and cutting margins. I would love if those fancy upscalers could be used to translate bitmaps to an RGB hex pattern with very high fps ( LED is fast and we need hex pattern for dense packing of the plastic lenses to aim all light towards the viewer). Maybe one could press a PMMA front plate with a hex pattern for even more focus. Difficult to wipe clean though.

  • @salvatorehayes2753
    @salvatorehayes2753 4 ปีที่แล้ว +1

    Question. Would A RGB Led That's Casting White Color Be As Bright As A Dedicated White LED???

    • @mrr882008
      @mrr882008 4 ปีที่แล้ว

      No.

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว

      I agree with mrr882008 - it won't be as bright nor will it be as "nice" of a white. You can tweak it to get the hue you want, but it very likely won't look quite as good as a dedicated white LED and won't be as bright as a dedicated LED of similar size.

    • @salvatorehayes2753
      @salvatorehayes2753 4 ปีที่แล้ว

      @@CircuitBread Thanks That's What I'm Beginning To Conclude Also. Now With A Little Bit More Technicality... Would A 3528 White LED Be Brighter Than An RGB 5050 Casting White?

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว +2

      @@salvatorehayes2753 If we're getting down into specifics instead of generalities, I'd say - check the datasheets! The lumens and the viewing angle should be in there, giving you a more realistic comparison.

  • @lilyhayward6224
    @lilyhayward6224 3 ปีที่แล้ว

    can you help me please? i have the RGB leds and i want the color to be like pink and it will come up as red and blue

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +1

      I'm not great at the actual color mixing portion, so I stole this straight from this site:
      springtree.net/audio-visual-blog/rgb-led-color-mixing/
      "Hot Pink: Red at 90 percent brightness, no green, and blue at 40 percent of brightness
      Light Pink: Red at 90 percent of its intensity, green and blue at 50 percent
      Pink Purple: Red at full brightness, green at 30, and blue at 90"
      They have some other colors as well, if you want to check out the site and see.

    • @lilyhayward6224
      @lilyhayward6224 3 ปีที่แล้ว

      @@CircuitBread thank you so much

  • @mikemaloney7396
    @mikemaloney7396 2 ปีที่แล้ว

    How do RGB LED's work with only TWO leads? And with many of these in parallel change colors together then in random fashion?

    • @CircuitBread
      @CircuitBread  2 ปีที่แล้ว

      Are you talking about programmable RGB LEDs? Those are controlled completely differently, they put another layer of control on top of what is discussed in this video.

  • @coledavidson5630
    @coledavidson5630 ปีที่แล้ว

    So I bought a bunch of common cathode LEDs and am using arduino PWM output to control each color intensity. Each color leg is connected to a PWM output pin through a resistor, and the cathode is connected to the GND pin. However, only one color of the RGB will light up at any one time, even if all 3 colors are set to full intensity. For example, if I set the analogWrite output of both red and green to 255, the LED will just light up green. If I unplug the green leg, it lights up just red. Anyone know what's going on here?

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      You weren't explicit so I'm not sure if you are using 3 resistors or just one, though I think it's three. If you ARE using just one resistor, check out our video here: th-cam.com/video/3kntdICTuUQ/w-d-xo.html If not, I imagine there is a similar problem going on but I'm not sure. I'd recommend turning all three of them on completely and then measuring the voltage drop across the different LEDs. Each LED within the package has a different forward voltage and, if you measure them, you will probably see where you've set your circuit up wrong so that you're somehow not reaching the forward voltage required for the LEDs that have a larger forward voltage drop as everything is flowing through an LED with a lower forward voltage.

    • @coledavidson5630
      @coledavidson5630 ปีที่แล้ว

      @@CircuitBread I actually figured it out from the end of your video where you talk about the resistor values. The red was just incredibly dim compared to the green because I was using resistors of the same resistance for both colors, although I'm not really sure why that caused a much bigger problem for me than it did in your video. Anyway I appreciate the response and love the video! Thanks

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว +1

      Glad you got it figured out!

  • @SmeeUncleJoe
    @SmeeUncleJoe 3 ปีที่แล้ว

    Why not just use the pots to limit the current through each color to adjust the colors and intensity ?

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +1

      Hey Joe! That is entirely possible and is fairly simple. The odd thing is that changes to the potentiometer will cause non-linear effects but, frankly, if you're just doing things by eye, that would probably be the best way to approach it.

  • @chrisstanford3652
    @chrisstanford3652 2 ปีที่แล้ว +1

    🤗🤗

  • @YankeeinSC1
    @YankeeinSC1 2 ปีที่แล้ว +1

    Thank God I found this. Finally some intelligent discussion rather than some 3rd worlder soldering random components together.

  • @xtrfunfairguy2963
    @xtrfunfairguy2963 3 ปีที่แล้ว +1

    Did anyone else wait for the toast to pop

  • @daljitsingh8220
    @daljitsingh8220 3 ปีที่แล้ว

    You have a nice voice command

  • @claytonbenignus4688
    @claytonbenignus4688 ปีที่แล้ว

    Is there an RGBU (U=Ultraviolet) LED? Such a LED would have agricultural applications because of the different vision of various animals. For example, insects see in GBU. Birds see in RGBU. A Night Light van therefore be devised to give Birds ab advantage over harmful Insects.

    • @CircuitBread
      @CircuitBread  ปีที่แล้ว

      Hmmm... not that I'm aware of but it's been a few years since I've looked into UV LEDs and the technology still wasn't great at that point. But that's a fascinating idea! In that application, though, you'd probably just have physically different LEDs in one enclosure rather than trying to get an RGBU monolithic device.

  • @AkashKumar-gn6sh
    @AkashKumar-gn6sh 3 ปีที่แล้ว

    How this thing work in mobile phones?
    How control the color of pixel in mobile?

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Hey Akash! Same principle as in this video, but with a different package. In a phone, the LEDs will be much, much smaller but the idea of having three different channels and a common anode or cathode would still apply (assuming they're using RGB LEDs instead of discrete LEDs or, more likely, an LED backlit LCD panel).

  • @jimmyhoffa6797
    @jimmyhoffa6797 ปีที่แล้ว

    The strange thing is modern LEDs only have three wires. I don't even have a theory how that works

  • @mrdvp9
    @mrdvp9 ปีที่แล้ว

    Sup ✨

  • @GTrainRx7
    @GTrainRx7 3 ปีที่แล้ว

    That mark on your head is distracting me... remember, violence happens to men too! Although I am sure there is a reasonable explanation.
    Awesome vid, really need a tester that can test bulk RGB LEDs quickly

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว

      Maybe not a reasonable explanation... I tried to do a backflip on the trampoline with my kids and my first attempt had me land face first, so it's just a trampoline burn. 😬 It didn't look too bad at first but then it got worse for a couple days (including this day) before going away.
      I feel like a tester like that would be pretty easy to put together, honestly. Not sure if they're already available or if that's an unexploited market.

  • @bestamerica
    @bestamerica 2 ปีที่แล้ว

    '
    better add white / yellow LED lights...
    blue / green / red / white / yellow

  • @NEONETIES
    @NEONETIES 3 ปีที่แล้ว

    One positive + 3 negative color

    • @bestamerica
      @bestamerica 2 ปีที่แล้ว

      仮面龍騎Shan Hall Gwan
      One positive + 3 negative color
      hi S H G...
      '
      some another LED use 1 negative = 3 positives

  • @DaveRogers583
    @DaveRogers583 4 ปีที่แล้ว

    What?

  • @raymondbaring8470
    @raymondbaring8470 4 ปีที่แล้ว +1

    Sub!

    • @CircuitBread
      @CircuitBread  4 ปีที่แล้ว

      Awesome, thanks Raymond!

  • @Lunatek369
    @Lunatek369 2 ปีที่แล้ว

    Lol, you said duty

  • @ConstantMi
    @ConstantMi 3 ปีที่แล้ว +1

    the light spot behind you is very anoying

    • @CircuitBread
      @CircuitBread  3 ปีที่แล้ว +1

      Yep! That's why we got rid of it in later videos. 😬

  • @TrippleXD545
    @TrippleXD545 3 ปีที่แล้ว

    This is awful

  • @aLittlePal
    @aLittlePal 2 ปีที่แล้ว

    wouldn't this RGB led be perfectly color rendered? just like sunlight? it got all the primaries unlike general low-grade leds which is boosted with blue light only.

    • @CircuitBread
      @CircuitBread  2 ปีที่แล้ว

      I don't think so... if I'm not mistaken, if you take an RGB LED like the one used in the example, and put it through a prism, you would get a strong red, green, and blue line and not much else. Unlike sunlight, which would break into a more continuous entire rainbow. I'd be mighty curious if someone could verify that practically, though.