🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to program the M5stack fire RGB LEDs SK6812

    M5Stack Fire
    3
    5
    10.4k
    Loading More Posts
    • 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.
    • grelmG
      grelm
      last edited by

      Hi!

      I am kind of lost in programming the M5Stack-FIRE built in LEDs in Arduino IDE and would need some basic help.
      Specific questions:

      • Which library should be used?
      • Are there any working examples available?
      • Is there any specific documentation for that?

      Thanks - grelm

      Programming M5Stack Fire with Arduino for Home Automation

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @grelm
        last edited by

        @grelm the fastled is normally recommended and there should be examples in arduino.
        have you installed al the m5stack libs?

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • grelmG
          grelm
          last edited by

          Thanks a lot to @ajb2k3 !
          Your feedback with fastled and the libs was very helpful and gave me the necessary hint on how to move forward.
          Finally I ended up playing around with Adafruit_NeoPixel - now I am able to use and control the M5Stack-FIRE-LED's as I want.
          The most important fact (which I didn't find out before) was, that the DATA_PIN for the LED'S is Pin 15.
          Just in case of future issues: where in the M5Stack-FIRE-documents can I find such detailed informations about the M5Stack hardware?

          Programming M5Stack Fire with Arduino for Home Automation

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @grelm
            last edited by

            @grelm I would normally have said the adafruit libs but I keep reading that fastled is well, faster.
            If you look in the docs there should be some listings for the pin outs but normally RGB leds are connected to Grove Port A the red port.

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            hagueH 1 Reply Last reply Reply Quote 0
            • hagueH
              hague @ajb2k3
              last edited by

              @ajb2k3 No it's not a Grove pin.
              Check here:
              https://github.com/m5stack/m5-docs/blob/master/docs/en/core/fire.md

              1 Reply Last reply Reply Quote 0
              • First post
                Last post