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. OpenHardware.io
  3. RGBW LED Controller

RGBW LED Controller

Scheduled Pinned Locked Moved OpenHardware.io
leddimmertemperaturehumiditymysensorsenclosure
9 Posts 6 Posters 4.3k Views 6 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.
  • openhardware.ioO Offline
    openhardware.ioO Offline
    openhardware.io
    wrote on last edited by openhardware.io
    #1

    https://www.openhardware.io/view/21/RGBW-LED-Controller

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Maciej Kulawik
      wrote on last edited by
      #2

      Some comments:

      • You should include resistors (e.g. 100 ohm) between mc pin and transistor gate. Just to protect controller pin agains high current (when gate is charged).
      • PWM output is available only for some pins. "On most Arduino boards (those with the ATmega168 or ATmega328), this function works on pins 3, 5, 6, 9, 10, and 11."
        So I don't think you can use pin 4 for green.
      • Additionally - PWM on pins 5 and 6 is a little broken; arduino core libraries use the same timer for millis() and delay() functions. Refer to documentation:
        "This will be noticed mostly on low duty-cycle settings (e.g 0 - 10) and may result in a value of 0 not fully turning off the output on pins 5 and 6."
      • R2 is not necessary. Just enable internal pull-up in controller. The same for R1.
      • Your schematic is a little bit ugly :-) There are missing may dots on signal connections.
        The rest is quite fine. I also plan to build similar node.
      S 1 Reply Last reply
      0
      • DwaltD Offline
        DwaltD Offline
        Dwalt
        wrote on last edited by
        #3

        I am confused as to why this board would be powered by both 12V and 230V. Seems a bit redundant. What use case am I missing?

        Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

        1 Reply Last reply
        0
        • M Maciej Kulawik

          Some comments:

          • You should include resistors (e.g. 100 ohm) between mc pin and transistor gate. Just to protect controller pin agains high current (when gate is charged).
          • PWM output is available only for some pins. "On most Arduino boards (those with the ATmega168 or ATmega328), this function works on pins 3, 5, 6, 9, 10, and 11."
            So I don't think you can use pin 4 for green.
          • Additionally - PWM on pins 5 and 6 is a little broken; arduino core libraries use the same timer for millis() and delay() functions. Refer to documentation:
            "This will be noticed mostly on low duty-cycle settings (e.g 0 - 10) and may result in a value of 0 not fully turning off the output on pins 5 and 6."
          • R2 is not necessary. Just enable internal pull-up in controller. The same for R1.
          • Your schematic is a little bit ugly :-) There are missing may dots on signal connections.
            The rest is quite fine. I also plan to build similar node.
          S Offline
          S Offline
          sebas
          wrote on last edited by
          #4

          @Maciej-Kulawik said:

          Some comments:

          • You should include resistors (e.g. 100 ohm) between mc pin and transistor gate. Just to protect controller pin agains high current (when gate is charged).
          • PWM output is available only for some pins. "On most Arduino boards (those with the ATmega168 or ATmega328), this function works on pins 3, 5, 6, 9, 10, and 11."
            So I don't think you can use pin 4 for green.
          • Additionally - PWM on pins 5 and 6 is a little broken; arduino core libraries use the same timer for millis() and delay() functions. Refer to documentation:
            "This will be noticed mostly on low duty-cycle settings (e.g 0 - 10) and may result in a value of 0 not fully turning off the output on pins 5 and 6."
          • R2 is not necessary. Just enable internal pull-up in controller. The same for R1.
          • Your schematic is a little bit ugly :-) There are missing may dots on signal connections.
            The rest is quite fine. I also plan to build similar node.

          It's the most beautiful schematic I've ever made. It's also the first one I've ever made :D Thanks for the feedback, really appreciate it. You're right about the PWM pins on the Arduino. My prototype seems to be working fine when connected to pin 4. I'll see what it does when the PCB's arrive.

          @Dwalt said:

          I am confused as to why this board would be powered by both 12V and 230V. Seems a bit redundant. What use case am I missing?

          You could run the board on 12V. This design just takes the GND of the LED power supply and feeds that through the MOSFET's for driving the LED's. With this you can use whatever power supply you need for the LED's and swap them if you upgrade from 12V to 24V for example. I take the 230V that goes in to the LED power supply and feed that in the board for powering the arduino, radio etc.

          1 Reply Last reply
          1
          • D Offline
            D Offline
            drock1985
            wrote on last edited by
            #5

            Ok, going to have to look at this one very carefully. Just bought a Hue lightstrip a week ago; this looks like more fun. :)

            @sebas , did you by chance do this in KiCad? If you did, do you have a part for the HLK-PM01?

            My Projects
            2 Door Chime Sensor
            Washing Machine Monitor

            S D 2 Replies Last reply
            0
            • D drock1985

              Ok, going to have to look at this one very carefully. Just bought a Hue lightstrip a week ago; this looks like more fun. :)

              @sebas , did you by chance do this in KiCad? If you did, do you have a part for the HLK-PM01?

              S Offline
              S Offline
              sebas
              wrote on last edited by
              #6

              @drock1985 said:

              Ok, going to have to look at this one very carefully. Just bought a Hue lightstrip a week ago; this looks like more fun. :)

              @sebas , did you by chance do this in KiCad? If you did, do you have a part for the HLK-PM01?

              The design is made in Eagle. Is it possible to import Eagle files in KiCad?

              1 Reply Last reply
              0
              • D drock1985

                Ok, going to have to look at this one very carefully. Just bought a Hue lightstrip a week ago; this looks like more fun. :)

                @sebas , did you by chance do this in KiCad? If you did, do you have a part for the HLK-PM01?

                D Offline
                D Offline
                drock1985
                wrote on last edited by
                #7

                Hi @sebas

                I think so. I found this site here just haven't tried it yet.

                My Projects
                2 Door Chime Sensor
                Washing Machine Monitor

                1 Reply Last reply
                0
                • Dombo71D Offline
                  Dombo71D Offline
                  Dombo71
                  wrote on last edited by
                  #8

                  Hello Sebastiaan...
                  see you everywhere....:-)

                  Is this controller perhaps working directly in Domoticz?
                  http and idx....
                  Great option..
                  I going to buy your boards

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sebas
                    wrote on last edited by
                    #9

                    This should work with Domoticz, it's what I intend to use with it. I've received the boards from China and I'm currently working on a version 2 of this board. There are some errors in the design of version 1 that I need to get out. New version will be up shortly.

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


                    12

                    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