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.
This is My Code for NVM
int main(void) {
SYSTEMConfig(SYS_FREQ, SYS_CFG_WAIT_STATES | SYS_CFG_PCACHE);
// JTAG port must be disabled.
mJTAGPortEnable(DEBUG_JTAGPORT_OFF);
mPORTBSetPinsDigitalOut(BIT_8);
NVMErasePage((void *)NVM_PROGRAM_PAGE);
ReturnVal...
Hi
I want write a byte in internal Flash of pic32mx microcontroller.i have tried sample code.But i cant able to read the exact data .. Anyone help me on that...
Sol 3 . use external HW to convert rms to dc and measure converted dc voltage through adc and calculate peak.(I cant use this solution ).......
Sol 4: In my project the freq will vary upto 1khz from 50hz.
I need to write software code for calculate peak + and Peak - from sine wave
Re: Frequency Measurement for AC Voltage
Ya i need ADC values to calculate those peak+ and Peak - @ Klaus.
Hi i dont know how many samples is needed ,because in my project frequency will vary from 50 hz to max 1khz. In this case how to measure the frequency in software .
for 5o Hz ,i am...
Re: Frequency Measurement for AC Voltage
Hi
How to do with samples tel me if anybody knows... ? Howmany samples i have to take ?
if any ADC code with frequency pls share forr pic32 microcontroller ?
Frequency Measurement for AC Voltage
Hi
I am using PIC32MX795F512l ,with 10bit ADC code.Using ADC , measuring DC as well as AC voltage in my project .
Now i want to calculate frequency for AC voltage . Anyone help me how to measure the frequency in pic32 with xc32 compiler... I am newone to...
Hi
I am using PI32MX795f512l .. I want to integrate flowcontrol in my uart communication .. As of now i am using only TX and RX pins for data transmit and receive ...
In Continous transmission ,in bluetooth module i am getting overwritten buffer...Pls Help me to come out of this.. I am new...
Hi
do you want to identify the channel sampled after adc interrupt, right?
Yess
tempsensor is ADC channel 1 and pot is channel2 ,i can able to read the value in both the channels ...My question is
if i am using the tempsensor ,then i have to set the variable channel =...
Hi i am trying to read ADC voltage from tw0 channels AN4 and AN3.... Values are updating correctly... I want to detect which channel is using ... Can anyone help me?
Here is My code for pic32Mx795f512l with XC32 Compiler, if am using tempsensor i have to assign channel 1 in variable otherwise...
Yes sir, i know i have to take so much samples for 20ms or 10ms time interval. the problem is how to take that samples with zero cross voltage over AC voltage in my c code... After taking that samples only i need to find peak+ and peak- voltage and RMS calculation .
Hi
I am using AC input of 50Hz .No DC Component.
I have Pic32mx795f512l microcontroller for ADC voltage sampling of AC input using ReadADC() function .From that i need to take samples at each 10ms of time interval and find peak voltage and RMS voltage.
Hi
I am using PIC32MX795f512l .I am new to this.. Anyone help me to find rms voltage and peak voltage for AC voltage as input for ADC
I am in urgent to close this ..
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.