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

    IR LED

    M5 Stick/StickC
    4
    7
    11.0k
    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.
    • X
      xis
      last edited by

      Hello,
      How can I control the IR LED from UI Flow?
      Thanks

      1 Reply Last reply Reply Quote 0
      • R
        robalstona
        last edited by robalstona

        By default, there are no blocks that support sending remote control codes if that's what you mean. You can only turn on or off the builtin IR LED using the blocks from the section:

        Advanced -> Easy I/O -> digital write / digital toogle

        If you would like to send remote control codes, you would have to manually turn the diode on and off with a given switching on time and a given sequence of switching on and off manually. In mstickC there is only an IR sending diode, if you want to receive an IR signal you must attach external elements of type TSOP1738 or Infrared receiver LED

        1 Reply Last reply Reply Quote 0
        • X
          xis
          last edited by

          Thank you very much.

          1 Reply Last reply Reply Quote 0
          • lukasmaximusL
            lukasmaximus
            last edited by

            You can also consider the RMT module in micropython modules of the latest firmware 1.5.0

            1 Reply Last reply Reply Quote 0
            • T
              tntrtr
              last edited by

              Hello. I updated the firmware to 1.5.0 but i cant find any source or any kind regarding the RMT module on uiflow and the codes i find on the internet are not working. i cant understand why you sell a unit when you dont fully support it on your software.

              1 Reply Last reply Reply Quote 0
              • lukasmaximusL
                lukasmaximus
                last edited by

                It is quite well documented for esp32 devices using arduino, see this video I made https://www.youtube.com/watch?v=V8rmir-Tmy8 You can find the RMT module within the machine module. Since IR requires accurate pulse control and the RMT module which does this was only just released in the latest version of micropython you'll have to be patient as uiflow is based on micropython we can only go as fast as the developers of micropython. I agree on your point for some of M5Stack devices, but with a hobbyist product generally a little user ingenuity is required. I have been researching the RMT module and will be sure to make a video on it once I'm succesfully able to use it

                1 Reply Last reply Reply Quote 2
                • T
                  tntrtr
                  last edited by

                  I understand and thanks for your time, i used to program in arduino and i liked how ui flow is and was wondering why there is no code for it.

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