sensor interface with launchpad msp430 using energia

I am building a project where a sensor has to present some values to the micro controller (Iam using msp430F5529 launchpad).
I am using the Energia environment to program and I have gone through the online tutorials available
which tell you how to use the adc and have the sensor interact with the micro. But the sensor is attached to the microcontroller power supply in all the circuits.
What if the sensor has a separate power supply (say 0-5V) and I want the adc in the micro to convert the analogue values from the sensor to digital values.
How can I achieve that using the Energia platform.
Secondly how would i go about reading that data and displaying it on a 7 segment display.
I would really appreciate your replies. Any geniuses out there who can help me??

I had to google all your strange terminology to figure out what you were on about.

I don't know anything about the MSP430 launchpads, and Energia is a Russian rocket.

This is the arduino forum and that is what most of the expertise here is about.

What kind of sensor are you trying to connect to ?

if you want to read an analog voltage of 5V on the ADC of the launchpad you can't directly do it because the adc of lauchpad has an analog reference of 3.3 V and if you put into a pin more than 3.6 V you broke the device...the only thing you can do is to drop down linearly the 5V to 3.3 V for example with a voltage divider with 2 resistors or connect the reference of your sensor instead of 5V to 3.3V.
about the 7 segment display you can find a lot of example obut it on web with arduino and the only thing that change with lauchpad is that it works with 3.3 V istead 5V(so you can't drive directly green led or blue led because they have a forward voltage of ~3,V) and a lauchpad pin can source only 6 mA per I/O and not 20 mA per I/O like arduino.

beyond everything this is not the energia forum...to answer a question with more competente people about lauchpad you can use their forum : http://forum.43oh.com/forum/28-energia/
Bye

geppou:
if you want to read an analog voltage of 5V on the ADC of the launchpad you can't directly do it because the adc of lauchpad has an analog reference of 3.3 V and if you put into a pin more than 3.6 V you broke the device...the only thing you can do is to drop down linearly the 5V to 3.3 V for example with a voltage divider with 2 resistors or connect the reference of your sensor instead of 5V to 3.3V.
about the 7 segment display you can find a lot of example obut it on web with arduino and the only thing that change with lauchpad is that it works with 3.3 V istead 5V(so you can't drive directly green led or blue led because they have a forward voltage of ~3,V) and a lauchpad pin can source only 6 mA per I/O and not 20 mA per I/O like arduino.

beyond everything this is not the energia forum...to answer a question with more competente people about lauchpad you can use their forum : http://forum.43oh.com/forum/28-energia/
Bye

1 year old but perhaps worth a small shout.
All the MSP430 family have a built in voltage controller, so there is no worry over the voltage differ on input; perhaps more importantly check the MAXIMUM current acceptance of the chosen pin. Else make the pin an output find the maximum current from the data sheet and adjust the led to suite using the tiniest of currents, say around 4-5mA.
Cheers,
ChrisPSR