Hi,

We are trying to add a second SHT11 sensor to our TelosB - we replicated
and renamed HplSensirionSht11C.nc, HalSensirionSht11C.nc,
SensirionSht11C.nc, and HplSensirionSht11C.nc in
platforms/telosa/chips/sht11. We also made sure than the references inside
the files were correct.

In addition, we edited hardware.h in both platforms/telosa and
platforms/telosb:

// HUMIDITY
TOSH_ASSIGN_PIN(HUM_SDA, 1, 5);
TOSH_ASSIGN_PIN(HUM_SCL, 1, 6);
TOSH_ASSIGN_PIN(HUM_PWR, 1, 7);

// HUMIDITY 2, RINOA ADDED

TOSH_ASSIGN_PIN(HUM_SDA, 2, 0);
TOSH_ASSIGN_PIN(HUM_SCL, 2, 1);
TOSH_ASSIGN_PIN(HUM_PWR, 1, 3);

We used GIO0, GIO1, and GIO2 for the data line, clock line, and power line
respectively.

Our test program compiles, but it seems like the second SHT11 isn't
working. Did we forget anything?

Thanks! ^_^
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to