MaixPy-v1 icon indicating copy to clipboard operation
MaixPy-v1 copied to clipboard

MLX90640 i2c support

Open thomaselemy opened this issue 5 years ago • 5 comments

Hi, i was wondering if support for the mlx90640 via i2c could be added. I can see there is support for the version of the board with the serial output but the sensor in its most basic form is i2c. It seems to be supported already on the openmv micropython port. I would be willing to learn how to add support for this if someone could assist me. Thanks

thomaselemy avatar Jan 11 '20 04:01 thomaselemy

you can write driver based on micropython IIC driver machine.I2C, or C( here)

Neutree avatar Jan 15 '20 02:01 Neutree

Hello! I am also interested in connecting MLX90640 via I2C. Is there any success in this?

JuriShalkin avatar May 03 '20 21:05 JuriShalkin

Hello. I never got around to it as I'm not sure where to begin. I hope there is more people who wish to see this feature available, I just dont have the skills to do it.

thomaselemy avatar May 06 '20 22:05 thomaselemy

Hello, I also tried to use mlx90640 (Sparkfun rev 2) on Maix Bit using i2c but failed (nothing from i2c device scan). I'm confused because it's working with AMG8833 (adafruit) using same i2c pin mapping. And I got temperature data using same device (mlx90640 sensor) with esp8266 or raspberry pi zero using i2c. Is there any solution for it?

zzzeddy avatar May 30 '20 19:05 zzzeddy

@zzzeddy there needs to be a library written for the mlx90640, the timings and communication are different from the AGM8833, so unfortunately the mlx90640 is not working with the maix bit yet.

thomaselemy avatar May 30 '20 20:05 thomaselemy