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: Prof. Dr.-Ing. Heinrich Warmers
Subject: Re: [Paparazzi-devel] how to use 4 temperature sensor simultaneously
Date: Mon, 08 Jul 2013 09:21:45 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)

Hi Redk,
you can use 8 of this sensors one the same  i2c bus.
Lock at the figure 3 on page 6 of the data sheet.
You don't need output pins for setting the 3 bits of the base address. This can by done only by setting the jumpers.
The Sensor use 7 bit address information and one bit to indicate read or write cycles.
This is a little bit confusing with the paparazzi i2c drivers, since there are different
  macros for writing and reading (hex address of the device).
Heinrich


Refik Sever schrieb:
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]