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. Development
  3. Status Display Based on WS2812b LEDS

Status Display Based on WS2812b LEDS

Scheduled Pinned Locked Moved Development
8 Posts 4 Posters 2.3k Views 3 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.
  • kalliiK Offline
    kalliiK Offline
    kallii
    wrote on last edited by
    #1

    Hello, i want to build a little Box with 4 ws2812b leds and 4 buttons.

    I need the possibility to turn each led on and off and to set a colour.

    The 4 buttons shall be detected as pushbuttons and the leds should be controlled manually, to indicate a status of an actor/light boolean variable.

    mfalkviddM AWIA V 3 Replies Last reply
    1
    • kalliiK kallii

      Hello, i want to build a little Box with 4 ws2812b leds and 4 buttons.

      I need the possibility to turn each led on and off and to set a colour.

      The 4 buttons shall be detected as pushbuttons and the leds should be controlled manually, to indicate a status of an actor/light boolean variable.

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      Welcome to the MySensors community @kallii !

      Your project sounds more suitable for a plain Arduino implementation, but if you want to use MySensors you can start with the getting started guide and then use the examples for BinarySwitchSleepSensor (open it from the Examples menu in the Arduino IDE) and ParkingSensor

      1 Reply Last reply
      1
      • kalliiK kallii

        Hello, i want to build a little Box with 4 ws2812b leds and 4 buttons.

        I need the possibility to turn each led on and off and to set a colour.

        The 4 buttons shall be detected as pushbuttons and the leds should be controlled manually, to indicate a status of an actor/light boolean variable.

        AWIA Offline
        AWIA Offline
        AWI
        Hero Member
        wrote on last edited by
        #3

        @kallii to add to @mfalkvidd: use the FastLED library for the ws2812b led's.

        1 Reply Last reply
        0
        • kalliiK kallii

          Hello, i want to build a little Box with 4 ws2812b leds and 4 buttons.

          I need the possibility to turn each led on and off and to set a colour.

          The 4 buttons shall be detected as pushbuttons and the leds should be controlled manually, to indicate a status of an actor/light boolean variable.

          V Offline
          V Offline
          vikasjee
          wrote on last edited by
          #4

          @kallii, How are you doing with this project of yours? Any links or pointers will be helpful in my project which is quite similar...

          1 Reply Last reply
          0
          • kalliiK Offline
            kalliiK Offline
            kallii
            wrote on last edited by
            #5

            Im still at the beginning. Im only getting buttons work i never started linking up the ws2812leds. It shall be very simple, 4 buttons 4 ws2812leds (no rgb leds with 4 pins each..). I found a simple code with webserver where i can control 16 ws2812leds (brightness, color, blinkmode) for each led so i can use each one to representate a status. This webserver does not include the buttons and im not very firm in programming. :(. Is mysensors able to control single ws2812 leds? i only need to turn one led on and off and set a colour like red blue green, (not too many colours).

            AWIA 1 Reply Last reply
            0
            • kalliiK kallii

              Im still at the beginning. Im only getting buttons work i never started linking up the ws2812leds. It shall be very simple, 4 buttons 4 ws2812leds (no rgb leds with 4 pins each..). I found a simple code with webserver where i can control 16 ws2812leds (brightness, color, blinkmode) for each led so i can use each one to representate a status. This webserver does not include the buttons and im not very firm in programming. :(. Is mysensors able to control single ws2812 leds? i only need to turn one led on and off and set a colour like red blue green, (not too many colours).

              AWIA Offline
              AWIA Offline
              AWI
              Hero Member
              wrote on last edited by
              #6

              @kallii MySensors won't be the issue here. Try some of the examples of the FastLED library and you will be amazed.
              I can help you to get started if you have the basics..

              1 Reply Last reply
              0
              • kalliiK Offline
                kalliiK Offline
                kallii
                wrote on last edited by
                #7

                Am i able to link FastLED Commands to a switch that i will present to mysensors? Maybe a simple binary 1/0 for on/off (static colour) for a single led of a multiple LED Strip. So that i can present multiple switches (one for each led on the ws2812 module, e.x. 8)

                AWIA 1 Reply Last reply
                0
                • kalliiK kallii

                  Am i able to link FastLED Commands to a switch that i will present to mysensors? Maybe a simple binary 1/0 for on/off (static colour) for a single led of a multiple LED Strip. So that i can present multiple switches (one for each led on the ws2812 module, e.x. 8)

                  AWIA Offline
                  AWIA Offline
                  AWI
                  Hero Member
                  wrote on last edited by
                  #8

                  @kallii Sure, all you need is in the MySensors and FastLed libraries..

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


                  18

                  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