Atom S3 Lite + M5 Thermal (MLX90640) Code Example?
-
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
-
@brrainz Which part number such as "U016" do you have?
There are several 'M5 Thermal (MLX90640)' -
@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.