because u used PIC, how can I measure AC voltage with it? I have 2 ways:
1- reduce 350vp to 5vp using voltage divider then rectify it... now in code: v= v_adc/sqrt2.
2- reduce ac signal to 2.5vp then add +2.5v dc offset, after this sampling the signal in code. << this one I don't know how to do it.
gimme your opinion about this... I imagine it's the same in PIC and AVR.
It doesn't really matter. If availability and price aren't issues, just pick one and learn it well. Whichever you choose will be able to do what you want and what the other can, if you can make it. So, just master the one you pick.
It doesn't really matter. If availability and price aren't issues, just pick one and learn it well. Whichever you choose will be able to do what you want and what the other can, if you can make it. So, just master the one you pick.