temperature sensor in msp430

Status
Not open for further replies.

akash reddy

Newbie level 4
Joined
Jan 22, 2013
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,327
could anyone help me out on how I can sense the temperature using the internal sensor in msp430g2231?? Is there any documentation available which could guide me through the coding part..??
 

I am in need to use the internal temperature sensor in the controller..!! Can you help me out with that.??
 

i forget where i found the "formula" and it may not be 100% accurate..
but this is how i got it working on msp430g2231 launchpad
written in "Energia" Arduino like environment


void setup() {
Serial.begin(4800);

}

void loop() {

int sensorValue = (((analogRead(A10)-630) * 761) / 1024);

Serial.println(sensorValue);
delay(0);
}
 
Last edited:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…