Thanks for that. I've done something similar for another Melexis device, the MLX90640 32x24 sensor.
However, I've used a rather bizarre interface : an arduino that does the I2C operations remotely via the usual USB-serial interface. It also handles a couple of ST vl53l1x distance sensors. This is because I wanted a fairly generic connection that wasn't tied to the capabilities of any particular SBC. It's a fairly slow way to do things and suffers from the small buffer memory in the arduino, but the USB-serial part is fairly well encapsulated and I can probably learn something from your use of the direct i2c connection. Or perhaps use USB natively, without the serial part, on a different microcontroller such as a teensy or maple. On Sun, Feb 24, 2019 at 5:43 PM Charles Steinkuehler < [email protected]> wrote: > In case it's useful for anyone else, I have ported code for the > MLX90621 (4x16 pixel remote IR temperature sensor) from the RPi (talks > directly to the BCM hardware) to use standard Linux I2C devices (eg: > /dev/i2c1) so it works on the 'Bone and other boards with standard > Linux I2C support. > > Tested on a BBB using I2C2 (/dev/i2c1, the cape EEPROM I2C bus), 5.6K > pull-up resistors, and a diode-connected transistor to drop the 3.3V > rail to the 2.6V preferred by the MLX. > > Code is on github: > https://github.com/cdsteinkuehler/mlxd/tree/linux-i2c > > -- > Charles Steinkuehler > [email protected] > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/ec6f20fa-8261-48f9-b9d5-696910767461%40steinkuehler.net > . > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALiMYrtLH40%3DbHVF77efgsPJdg3BBVPXTJ%3DuQuHOB6AJBFJW0Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
