[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] how to use 4 temperature sensor simultaneously
From: |
Refik Sever |
Subject: |
Re: [Paparazzi-devel] how to use 4 temperature sensor simultaneously |
Date: |
Tue, 9 Jul 2013 11:28:58 +0000 |
Hi Eduardo and Heinrich,
Thank you very much for your help.
Best regards,
Refik
>Message: 2
>Date: Sun, 7 Jul 2013 18:57:11 -0300
>From: Eduardo lavratti <address@hidden>
>To: Paparazzi developer forum <address@hidden>
>Subject: Re: [Paparazzi-devel] how to use 4 temperature sensor
> simultaneously
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset="iso-8859-1"
>
>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
>Message: 3
>Date: Mon, 08 Jul 2013 09:21:45 +0200
>From: "Prof. Dr.-Ing. Heinrich Warmers" <address@hidden>
>To: address@hidden
>Subject: Re: [Paparazzi-devel] how to use 4 temperature sensor
> simultaneously
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset="iso-8859-9"; Format="flowed"
>
>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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.nongnu.org/archive/html/paparazzi-devel/attachments/20130708/7b88047e/attachment.html>
************************************************