SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 108 matches

 Go to advanced search

 by naz ¦  Mon Sep 07, 2009 4:17 am ¦  Forum: MSP Microcontrollers ¦  Topic: external battery voltage ¦  Replies: 14 ¦  Views: 3749

ya it's correct,now it's working properly,special thanks to gm.

 by naz ¦  Mon Aug 03, 2009 9:14 pm ¦  Forum: MSP Microcontrollers ¦  Topic: file concept ¦  Replies: 4 ¦  Views: 2188

Thank you

 by naz ¦  Fri Jul 31, 2009 9:50 pm ¦  Forum: MSP Microcontrollers ¦  Topic: external battery voltage ¦  Replies: 14 ¦  Views: 3749

hello gm,
i didn't get your's point.one thing sir i don't fully about my development board,just i'm doing small small task.so tell me,now what i have to do?input channle o -voltage A0=3.3v ,this much only i'm giving,avcc and dvcc designed internally.please sir guide me on this

 by naz ¦  Thu Jul 30, 2009 9:54 pm ¦  Forum: MSP Microcontrollers ¦  Topic: external battery voltage ¦  Replies: 14 ¦  Views: 3749

sorry gm..i think i did a mistake in measuring the voltage level.
AVcc-2.59,AVss=0,Dvcc=3.3,Dvss=0,input voltage channle A0=3.3.

 by naz ¦  Wed Jul 29, 2009 9:58 pm ¦  Forum: MSP Microcontrollers ¦  Topic: external battery voltage ¦  Replies: 14 ¦  Views: 3749

AVcc(Analog supply voltage positive terminal)-4.28v
Avss(Analog supply voltage Negative terminal)-0v
channel 0(A0)=5.5v

Thank yours reply gm.

by
naz

 by naz ¦  Tue Jul 28, 2009 11:17 pm ¦  Forum: MSP Microcontrollers ¦  Topic: external battery voltage ¦  Replies: 14 ¦  Views: 3749

thank you gm,i replaced |= insted of =,now i'm getting 4095...as you mentioned ndc=4095*vin/vr+;
vin=3.3 and vr+=1.3 ,then finally i'm getting 10395..what is this?this is my measured voltage?but i applied 5.5 only then how come this?could u please solve this issue...

by
naz

 by naz ¦  Mon Jul 27, 2009 10:14 pm ¦  Forum: MSP Microcontrollers ¦  Topic: external battery voltage ¦  Replies: 14 ¦  Views: 3749

void main(void) { volatile unsigned int i,temp; WDTCTL = WDTPW+WDTHOLD; // Stop watchdog timer P6SEL |= 0x01; // use PIN p6.0 for input P6DIR &=~0x01; //select adc function for pin p6.0 ADC12CTL0=ADC12ON; //ADC12 ON ADC12CTL0=SHT0_2; //SET the sampling time ADC12CTL1=CSTARTADD_0; //conversion starti...

 by naz ¦  Sun Jul 26, 2009 9:06 pm ¦  Forum: MSP Microcontrollers ¦  Topic: external battery voltage ¦  Replies: 14 ¦  Views: 3749

anybody have any idea about this?

external battery voltage

 by naz ¦  Tue Jul 21, 2009 11:35 pm ¦  Forum: MSP Microcontrollers ¦  Topic: external battery voltage ¦  Replies: 14 ¦  Views: 3749

hello all, i'm using msp430f149.i have one external battery,i want to measure it's voltage range,and display it on lcd. somebody sait that we can use ADC,could you please guide me on this. i read msp430 user guide,but still now i didn't get clear idea.i'm struggling how to take the value from msp .i...

 by naz ¦  Sun Jul 19, 2009 9:10 pm ¦  Forum: MSP Microcontrollers ¦  Topic: how to read ¦  Replies: 8 ¦  Views: 2366

thank you old cow sir and leon sir.sir i want to measure battery voltage and display it on lcd.now what i have to do?

Thanks
Naz

 by naz ¦  Fri Jul 17, 2009 5:10 am ¦  Forum: MSP Microcontrollers ¦  Topic: how to read ¦  Replies: 8 ¦  Views: 2366

but i'm giving dc voltage(so we couldn't use ADC).how it is possible?

Thanks
naz

 by naz ¦  Thu Jul 16, 2009 5:11 am ¦  Forum: MSP Microcontrollers ¦  Topic: how to read ¦  Replies: 8 ¦  Views: 2366

ya it's correct sir,but i'm getting one issue #pragma vector=ADC12VECTOR __interrupt void ADC12ISR (void) { if (ADC12MEM0 < 0x7FF) P1OUT &= ~0x01; // Clear P1.0 LED off else P1OUT |= 0x01; // Set P1.0 LED on _BIC_SR_IRQ(CPUOFF); // Clear CPUOFF bit from 0(SR) } this is my interrupt program(i got fro...

how to read

 by naz ¦  Wed Jul 15, 2009 9:29 pm ¦  Forum: MSP Microcontrollers ¦  Topic: how to read ¦  Replies: 8 ¦  Views: 2366

Dear all, I'm working in voltage monitoring circuit using Op-amp. i want to take the voltage range from op amp to LCD through msp430.I think the output of voltage moniotoring circuit should be fed to port pin of msp430. my doubt is how to read the portpin data(wheather 3.3v or 5v)through the program...

 by naz ¦  Tue Jul 07, 2009 9:32 pm ¦  Forum: MSP Microcontrollers ¦  Topic: BSL ¦  Replies: 2 ¦  Views: 1390

Thank you oldcow.

BSL

 by naz ¦  Mon Jul 06, 2009 9:34 pm ¦  Forum: MSP Microcontrollers ¦  Topic: BSL ¦  Replies: 2 ¦  Views: 1390

Hello All,

In msp430f149,P1.1-BSL Transmit and P2.2-BSL receive,likewise which microcontroller has 2set of BSL transmit and BSL recieve.if any one have idea about this,share it.

Thank you

by
naz

  • 1
  • 2
  • 3
  • 4
  • 5
  • 8