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

    M5atom matrix: dimmable light

    PROJECTS
    2
    3
    4.9k
    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.
    • K
      kilam
      last edited by kilam

      Just to share a simple project (2 minutes) with an M5atom Matrix and an arduino module k-018 (https://arduinomodules.info/ky-018-photoresistor-module/). Just plug the module in the M5atom (the S pin of the module must be plugged in the g25 , no way to plug it reverse) and upload the code, the M5atom matrix will be brighter as the light decreases. 5 led brightness and 5 different colors (changing color by clicking the screen)

      I have encountered several problems with the leds: The screen has strange behaviour with some colors (especially with some predefined colors) and is white when the brightness is at 5. I don't know why, if someone has any explanation, please can you tell me?

      The source code and photos are here :
      https://github.com/kilamrauon/M5atom-dimmable-light/blob/main/README.md

      A video about the project:
      https://youtu.be/xxdDb_nvqsg

      1 Reply Last reply Reply Quote 1
      • m5stackM
        m5stack
        last edited by

        Hi. for the time being. we don't suggest you use #include <FastLED.h> with the Atom lib. because the Atom lib already included it. they have some conflict. (we still not fix it yet.)

        1 Reply Last reply Reply Quote 0
        • K
          kilam
          last edited by

          I have removed de fastled library, it works but the problems remain.

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