paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Trouble getting SHT75 working with new Umarim lite


From: Heinrich Warmers
Subject: Re: [Paparazzi-devel] Trouble getting SHT75 working with new Umarim lite v2 board
Date: Thu, 09 Aug 2012 12:38:36 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)

Hi Tim,
you have to change the used processor pins.
The protocol is a bit banging type (not i2c).
You have to change the current  clock and data protocol and change the used pins of the processor.
Please read the documentation (Phillips UM10139) of the lpc2148 to know how to program a pin as output (clock) and as input output and tristate for the data line. You have only to change the pin definition. But sometimes there are other register words used for different pins.
So sometimes the macros im paparazzi code can fail.
Heinrich

Bonin, Tim A. schrieb:
I recently switched over to a Umarim lite board, but am having trouble integrating the SHT75 into it.  I'm trying to use the humid_sht module to read in the data.  Since there is no ADC1 port on the Umarim lite, I've tried a few things, including redefining the pins in the header files to the AUX1 and AUX 2 pins (pins 45 and 39, I think) and plugging the SHT75 into the AUX port, or by defining the pins in the header file as SDA1 and SCL1 (pins 41 and 37) and plugging the SHT into the I2C1 port.

Either way, the messages from the SHT show a temperature of -39.66 and 0.1 humidity, which would indicate that its not getting a signal.  Am I assigning the wrong pins, or maybe doing something else wrong?

_______________________________________________ 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]