How to measure voltage using microcontroller

Hi there,

How to measure voltage using microcontroller? any tutorial? book? sample projects? codes et ct? Thanks

Regards

Voltage range, accuracy?

Leon

leon_heller:
Voltage range, accuracy?

Leon

The pH electrodes outputs voltage signals in the order of milimeter. I want to be able to detect that.

But in general I want to know how to measure just voltage using codes and controller.

Thanks

Most AVRs have an ADC, it’s quite easy to use.

You’ll need an amplifier for the output from a pH sensor.

Leon

This thread has some links to op-amp designs for pH probes. The probes are very finicky due to their 10MOhm+ resistance.

http://reefcentral.com/forums/showthrea … id=1496284

theatrus:
This thread has some links to op-amp designs for pH probes. The probes are very finicky due to their 10MOhm+ resistance.

http://reefcentral.com/forums/showthrea … id=1496284

Thanks all for responses. However my original question still remains.

How to measure voltage using AVRs? Thanks

You use the ADC. It should be covered in the datasheet.