python-MLX90614 icon indicating copy to clipboard operation
python-MLX90614 copied to clipboard

Create __init__.py

Open TiagoSeverino opened this issue 8 years ago • 6 comments

This allows to use the library as a module

TiagoSeverino avatar Mar 05 '18 15:03 TiagoSeverino

Hello, Many thanks for this excellent code I could read my sensor perfectly. Could you please give an idea on how to read two sensor connected parallell?

andremachado26 avatar May 20 '18 18:05 andremachado26

Hello, You need to change the sensor adress the use the following code with your address:

from mlx90614 import MLX90614

thermometer_address = 0x5a thermometer_address1 = 0x5b

thermometer = MLX90614(thermometer_address) thermometer1 = MLX90614(thermometer_address1)

print thermometer.get_obj_temp() print thermometer1.get_obj_temp()

TiagoSeverino avatar May 20 '18 20:05 TiagoSeverino

Thank You very mutch for that , I am looking for how to change MLX90614 adress, but Iam not finding, do have any suggest?

andremachado26 avatar May 20 '18 23:05 andremachado26

I couldn't find any code to change the sensor address in python, and I don't have this sensor anymore to test it.

If you have any arduino laying around you could change the address on an arduino.

TiagoSeverino avatar May 21 '18 08:05 TiagoSeverino

Hello, Tiago Many thanks to your help. I did what You have recomended and every thing works beutifully Thank You Yours André.

andremachado26 avatar May 21 '18 23:05 andremachado26

Hello Andre, nice to hear, good luck on your project

TiagoSeverino avatar May 22 '18 08:05 TiagoSeverino