Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

temperature sensor in msp430

Status
Not open for further replies.

akash reddy

Newbie level 4
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top