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

    Atom S3 Lite + M5 Thermal (MLX90640) Code Example?

    Atom
    3
    4
    848
    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.
    • B
      brrainz
      last edited by

      Hi, I bought an Atom S3 Lite and a THERMAL from M5Stack. I cannot find any code example for reading the values from the thermal camera.

      I tried to use the M5Stack library but its example only cover UNIT and that gives me a "Parameter extraction failed" status when I copy that code into my project.

      Any pointers or examples welcome. Doesn't have to be a full project, just some tips that point me into the right direction are appreciated!

      /Andreas

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT
        teastain @brrainz
        last edited by

        @brrainz Which part number such as "U016" do you have?
        There are several 'M5 Thermal (MLX90640)'

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        B 1 Reply Last reply Reply Quote 0
        • B
          brrainz @teastain
          last edited by

          @teastain Thanks for the reply. I meant the one titled “Thermal” (without 2) and there is only one module.

          Anyway, I solved my initial problem - it was related to not setting up the ext_i2c correctly. I also used a mix of M5Unified and M5AtomS3 libraries because out of the box the FastLED that is referred to from M5Unified does not compile and fails with a static pin value check at compile time. I solved all this (and learned a lot).

          Now the only problem I have is: how do I connect the two small M5 modules with a male to male adapter. The grove cable works fine for me but I want a zero length grove male 2 male connection so I can print a 3D case and put both modules into it.

          konacurrentsK 1 Reply Last reply Reply Quote 0
          • konacurrentsK
            konacurrents @brrainz
            last edited by

            @brrainz

            I just got my M5AtomS3 running with M5Unified (with very little changes from my M5Stick display code - other than fonts.) The buttons changed, and I'm not sure what a double click is yet..

            Anyway, your reference to the "static pin value" is where I'm stuck as the M5AtomS3 references the FastLED.h and doesn't compile. I actually want to use FastLED.

            Assuming this is the same error, can you document how you got it to compile? (If not I'll post my own problem).

            /Users/scott/Documents/Arduino/libraries/FastLED/src/FastLED.h:304:39:   required from 'static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = SK6812; unsigned char DATA_PIN = 23; EOrder RGB_ORDER = (EOrder)66]'
            /Users/scott/Documents/GitHub/M5Unified-ESP_IOT_Nov24/ESP32_M5Unified/ESP_IOT/src/SensorClass/KeyUnitSensorClass.cpp:124:54:   required from here
            /Users/scott/Documents/Arduino/libraries/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:358:46: error: static assertion failed: Invalid pin specified
                 static_assert(FastPin<DATA_PIN>::validpin(), "Invalid pin specified");
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post