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.
Which compiler you are using. sample program available in your installation location itself...
If you want to measure average voltage, you need to rectify the AC in to measurable DC level (0-5V DC). Connect the DC voltage to the ADC input & you can get the corresponding digital value.
If you need RMS voltage, convert the AC into DC & take multiple number of samples & find the root mean square value...
what type measurement you need?
Thank you for your reply,i am using micro c pro c compiler.Then i want give ac signal to adc pin,that is ac voltage range is 0-0.852mv(max) how read read this ac voltage in adc pin .Then i need to measure RMS voltage..
What frequency ?
is it only positive signal 0 to 0.825mV so 825µV ??
so an average DC composante exist ?
you will need very big Analog amplifier in front of PIC ADC input ..
or maybe with a 18bits Analog converter like MCP3424
but take care about frequency !
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.