karthi_keyan
Junior Member level 2
- Joined
- Sep 17, 2009
- Messages
- 20
- Helped
- 1
- Reputation
- 2
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- coimbatote
- Activity points
- 1,419
hai all ,
i am using zigbee module(maxstream) and the module sends ADC values (0-1023)according to the AC voltage and its successfully received by my PIC24F controller.finally i have a problem when converting adc values into AC voltage .can any one help me to fix the problem.
also referred some sites in that they said the following conversions,
1.they keep max_v,min_v(voltage values)
2. avgv = (max_v + min_v) / 2 .(taking average voltage)
3.vpp = max_v-min_v(peak to peak measurement)
4.voltagedata - = avgv(removing DC bias from voltage level)
5.finally they keep some MAINVPP value with voltage level conversion they said the value for mains voltage is 120Vrms = +-170Vpp.
voltagedata = (voltagedata * MAINSVPP) / vpp(i struggled with MAINSVPP value)
pls any one explain this or some other ways to convert.
> thanks & regards,
> karthikeyan
i am using zigbee module(maxstream) and the module sends ADC values (0-1023)according to the AC voltage and its successfully received by my PIC24F controller.finally i have a problem when converting adc values into AC voltage .can any one help me to fix the problem.
also referred some sites in that they said the following conversions,
1.they keep max_v,min_v(voltage values)
2. avgv = (max_v + min_v) / 2 .(taking average voltage)
3.vpp = max_v-min_v(peak to peak measurement)
4.voltagedata - = avgv(removing DC bias from voltage level)
5.finally they keep some MAINVPP value with voltage level conversion they said the value for mains voltage is 120Vrms = +-170Vpp.
voltagedata = (voltagedata * MAINSVPP) / vpp(i struggled with MAINSVPP value)
pls any one explain this or some other ways to convert.
> thanks & regards,
> karthikeyan