paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] how to use 4 temperature sensor simultaneously


From: Eduardo lavratti
Subject: Re: [Paparazzi-devel] how to use 4 temperature sensor simultaneously
Date: Sun, 7 Jul 2013 18:57:11 -0300

you dont need to use gpio´s... only need i2c bus pins.

Each lm75 need a different address configuration (a0~a2) and all are connected to i2c buss.
I not analyzed the lm75 driver but i think you need to modify them to used more than one sensor.
So, you need to make a new message that output the temperature of all sensors.
Its easy to do.



From: address@hidden
To: address@hidden
Date: Sun, 7 Jul 2013 21:12:19 +0000
Subject: [Paparazzi-devel] how to use 4 temperature sensor simultaneously

Hi,

I need to use 4 temperature sensor simultaneously . I saw the LM75 and TMP102 in the modules list. Can I use 4 of them on the same I2C bus?

In the datasheet of LM75, it is written that 8 of them can be connected to the same I2C bus using 3 address pins. Do I need to use 3 GPIO's of umarim_lite_v2 for that purpose?  Does anybody wrote codes for that? Do you recommend any other solution?

Regards,
Refik

_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]