Search found 6 matches

by warrocket94
10 Apr 2012, 17:50
Forum: Mindstorms Software
Topic: Read the temperature from the TPA81 Sensor with Lego NXT 2.0
Replies: 10
Views: 5311

Re: Read the temperature from the TPA81 Sensor with Lego NXT 2.0

ok thank you very much... i have a last question to ask!? Can i open a topic in this forum to explain how built a TPA 81 sensor and how can you programme it with NXC. Because on the web there aren't examples in NXC
by warrocket94
10 Apr 2012, 16:24
Forum: Mindstorms Software
Topic: Read the temperature from the TPA81 Sensor with Lego NXT 2.0
Replies: 10
Views: 5311

Re: Read the temperature from the TPA81 Sensor with Lego NXT 2.0

yes this is great :D thank you very much but the sensitivity of tpa81 is low.... i put a candle in front of the sensor but only one value of the pixel increase...for example if i put a candle in front of the tpa81 the values that i see on the lcd lego display are: 25,21,31,65,103,21,23,26
why this?
by warrocket94
10 Apr 2012, 15:51
Forum: Mindstorms Software
Topic: Read the temperature from the TPA81 Sensor with Lego NXT 2.0
Replies: 10
Views: 5311

Re: Read the temperature from the TPA81 Sensor with Lego NXT 2.0

Yes :) but the TPA81 has got 8 pixel to read the temperature. With this programme i read only one value of temperature but can i read the temperature of all eight pixel? How i can do it?
by warrocket94
10 Apr 2012, 14:28
Forum: Mindstorms Software
Topic: Read the temperature from the TPA81 Sensor with Lego NXT 2.0
Replies: 10
Views: 5311

Re: Read the temperature from the TPA81 Sensor with Lego NXT 2.0

Yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeahhhhhhhhhhhhhhh!!!!!!!!!!!!!!!!!!!!!!!!!!!!! i read the temperature on the lcd lego display from the TPA81 using NXC language :D i use this code: // READ TPA81 #define TPA81_PORT IN_1 #define TPA81_ADDR 0xD0 void MyI2CRead(byte port, byte addr, byte reg,...
by warrocket94
10 Apr 2012, 11:59
Forum: Mindstorms Software
Topic: Read the temperature from the TPA81 Sensor with Lego NXT 2.0
Replies: 10
Views: 5311

Re: Read the temperature from the TPA81 Sensor with Lego NXT 2.0

yes this is the code that i try but it's wrong! //#define S1 1 //#define I2C_ADDR_DEFAULT 0xD0 //#define I2C_REG_CMD 0x11 //char ReadI2CRegister ( byte port, // byte i2caddr, // byte reg, // byte & out // ) [inline] byte out; char result; byte CMD_Read[] = {0xD1, 0x11}; task main() { SetSensorType(S...
by warrocket94
09 Apr 2012, 22:30
Forum: Mindstorms Software
Topic: Read the temperature from the TPA81 Sensor with Lego NXT 2.0
Replies: 10
Views: 5311

Read the temperature from the TPA81 Sensor with Lego NXT 2.0

Hi i'm Davide and i bought the TPA81 three weeks ago. I would to use the sensor with my Lego Mindstorm NXT 2.0 and i would to read the temperature from the sensor. The hardware part is finished: I use four pins of the TPA 81: I use Vcc +5V and i connect this pin to the green wire (+4,3V supply) of t...