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

    IR LED

    Scheduled Pinned Locked Moved M5 Stick/StickC
    7 Posts 4 Posters 14.1k Views 2 Watching
    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 Offline
      xis
      last edited by

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

      1 Reply Last reply Reply Quote 0
      • R Offline
        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 Offline
          xis
          last edited by

          Thank you very much.

          1 Reply Last reply Reply Quote 0
          • lukasmaximusL Offline
            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 Offline
              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 Offline
                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 Offline
                  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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post