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

    Thermal unit (MLX 90640) not working on Pa.HUB

    Units
    2
    6
    465
    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.
    • U
      UP_BIM
      last edited by

      On a Core 2 using UIflow2, I am unable to get a thermal unit (MLX 90640) to work when connected via a Pa.HUB. The thermal unit works when connected directly to port A, but not with the hub. There is no error, but everything freezes.

      I have attempted different addresses (0x70, ox71 etc..) for the hub, different frequencies for the i2c bus configuration (100 and 400kHz), and different thermal unit refresh rates (0.5 Hz and 1 Hz).

      Any advice will be appreciated.

      1 Reply Last reply Reply Quote 0
      • robskiR
        robski
        last edited by

        is PaHUB ok with something else?

        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

        U 1 Reply Last reply Reply Quote 0
        • U
          UP_BIM @robski
          last edited by

          @robski : Yes, several Pa.HUBS were tested. They all worked with ENV IV, Dlight, Volt, Ampere etc.. units, but when the MLX 90640 unit is connected (with, or without other units, and on any of the 6 channels), everything becomes unresponsive.

          1 Reply Last reply Reply Quote 0
          • robskiR
            robski
            last edited by

            any chance to test it with uiflow1 or diff controller on uiflow2?

            M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

            U 1 Reply Last reply Reply Quote 0
            • U
              UP_BIM @robski
              last edited by

              @robski : Thanks for the suggestion. I will check UIFlow for interest sake.

              However, as far as I am aware UIFlow 1 cannot easily resolve the address conflict between the Pa.HUB unit and units such as ENV IV (by default they both use 0x70). Thus, even if UiFlow 1 works, it will create other problems for me.

              I got the feeling from other posts reporting problems with the MLX units (not using UIflow) that the clock speed and refresh rates were causing issues, however, I am not sure if those remedies can be implemented with UIFlow 2.

              I will also check with other controllers as soon as I have a moment.

              U 1 Reply Last reply Reply Quote 0
              • U
                UP_BIM @UP_BIM
                last edited by

                @robski :

                Edit: The address conflict is not with the ENV IV units, but with something else - either way I must remain on UIFlow 2.

                I checked with two additional controllers: Atom matrix, and Stick C plus : The same issue.

                However, odly I am able to "fool" the controllers for a brief timeperiod by going through a very particular sequence in Block editor:

                1. add a PaHUB with some other sensor unit assigned to it in channel 0 of the HUB, and run the script - ALL OK
                2. Physically replace the sensor (channel 0) on the HUB with the thermal unit, but assign it directly to the i2c bus, and run the script - ALL OK
                3. Add several other sensor unit to the Pa.HUB (but keep the thermal unit assigned to the i2c bus, and run the script - ALL OK (runs several times without an issue, and all sensors respond correctly)

                After saving the project and relaunching UIFlow 2, the script does not run, with this message: "Thermal unit maybe not connect"

                Quite confused by this.

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