Basics of Design • CC Blog • Research & Design Hub

A Hands-On Look at Three High-Resolution ADCs

Figure 1 This shows one of many similar breakout boards that are available using the ADS1115 ADC. These breakout boards are generally less expensive than buying the ADS1115 chip itself (in small quantities).
Written by Brian Millier

In this article Brian takes a close look at three different high-resolution ADCs and compares their features, strengths, and more. Two of the three devices have shown up in his past projects and he anticipates using the third in the future.


  • What is OT breach-ready cyber defense?
  • How does microsegmentation contain cyberattacks?
  • Why is breach-ready defense critical for industrial systems?
  • What challenges come with OT and IT convergence?
  • How does microsegmentation build operational resilience?
  • microsegmentation
  • lateral movement control
  • OT cybersecurity
  • SOC monitoring
  • EDR integration

While it is somewhat of a moving target, to be considered a high-resolution analog to digital converter (ADC), a device generally had to have a resolution of 16 bits or greater. Currently, many ADCs are available with 16-bit resolution, and 20+ bits could now be considered the norm for the high-resolution designation. Of course, the higher the sample rate of an ADC, the harder it is to achieve high-resolution. In this article, I will be describing ADCs with sample rates in the hundreds to thousands of samples per second, as that is what I generally need in my projects. In this speed range, it is quite common for such ADCs to include a Programmable Gain Amplifier (PGA) and maybe a multiplexer to expand the number of channels that can be measured. When such features are built in, the device may be called an analog front end (AFE) instead of an ADC, so if you are doing a search for high-resolution ADCs on your distributer’s website, you may want to search on this term as well.

The Contenders

Here are the three ADCs that I will be discussing in this article:

  • ADS1115 16-bit ADC with PGA and 4-channel multiplexer (Texas Instruments)
  • NAU7802 24-bit ADC with PGA and 2-channel multiplexer (Nuvoton)
  • MCP3910/3911 24-bit dual ADC with dual PGA (Microchip)

If you look at the number of driver libraries available for each of these devices, written for different MCU platforms, it’s clear that the ADS1115 is the most commonly used ADC of the three, at least in terms of the number of different projects it appears in. The NAU7802 is specifically designed for measuring strain gauges, so is a somewhat more specialized device, but highly useful for many signal measurements in the millivolt or microvolt range— particularly if a stable excitation power source is required, since this device contains such a source. The MCP3910/3911 is the only one that contains two discrete PGA/ADCs instead of the single ADC preceded by a multiplexer, as used by the other two devices. It’s designed to take two synchronous readings and is specifically targeted at mains power meters. However, it can also be used to measure various AC or DC signals with resolutions down in the microvolt level. Aimed at measuring 50Hz/60Hz AC voltages and currents, with the extremely high accuracy required for utility power meters, it features the ability to sample at much higher sample rates than the other two devices being discussed in this column.

In terms of cost, the NAU7802 is the least expensive, at about $2 USD and the ADS1115 is the most expensive at $5 USD. However, the ADS1115 is so ubiquitous that you can find many different tiny breakout boards containing this device, for less than $5 USD. I use them, as they take up very little PCB space (see Figure 1) and eliminate the need for me to solder to a tiny 10 pin VSSOP package. The NAU7802 is the only device of the three that is available in a DIP package, so I like using those as well.

Figure 1
This shows one of many similar breakout boards that are available using the ADS1115 ADC. These breakout boards are generally less expensive than buying the ADS1115 chip itself (in small quantities).
Figure 1
This shows one of many similar breakout boards that are available using the ADS1115 ADC. These breakout boards are generally less expensive than buying the ADS1115 chip itself (in small quantities).

The MCP3910 comes in a 20-pin SSOP package. I discovered this device on a MIKROE-3150 Click board. Figure 2 shows this Click board— it is also quite easy to work with.

Figure 2
This is a MIKROE Click board containing a Microchip MCP3910 dual ADC (alternately called an AFE). While the MCP3910 was designed to measure AC voltages/currents in a mains power monitor, this Click board is configured to measure the same for a low-voltage DC power supply.
Figure 2
This is a MIKROE Click board containing a Microchip MCP3910 dual ADC (alternately called an AFE). While the MCP3910 was designed to measure AC voltages/currents in a mains power monitor, this Click board is configured to measure the same for a low-voltage DC power supply.

Before looking at these three devices in detail, please refer to Table 1. This is an overview of some of the most important features and specifications of the three devices. Notice that both the ADS1115 and NAU7802 use the I2C serial interface. The MCP3910/3911 use an SPI interface but can also be configured to use a two-wire serial interface, which lends itself to isolating the device galvanically with the addition of a two-channel isolator. This is useful when the MCP3910 is being used to measure high AC voltages, as found on mains supplies. The MCP3910/3911 can also provide the ADC modulator data streams for each channel, in case you want to convert these data streams to digital values, using algorithms on your host MCU. The MCP3910/3911 is the only device that has a maximum VDD of 3.6V. The other two can be powered by up to 5.5V and can easily interface to either 5V or 3.3V MCUs.

Table 1
This table provides a feature matrix for the thee ADCs described in this column. Each device has its own strengths and weaknesses.
Table 1
This table provides a feature matrix for the thee ADCs described in this column. Each device has its own strengths and weaknesses.
Input Voltage Range

Depending upon the signal that you are measuring, the input voltage range of the ADC you choose can be the over-riding parameter. All three devices contain differential inputs, but their input voltage measurement range varies. In the case of both the NAU7802 and the MCP3910/3911, the two differential inputs can also be used as two single-ended inputs by merely connecting the negative inputs to the ADC ground bus. The ADS1115 is somewhat more versatile, containing four inputs which can be configured as either four single-ended, two differential channels or a combination of both.

Let’s look at the ADS1115 single-ended case first. In this configuration, any of the 4 inputs will be measured with respect to the ADC’s ground bus. The ADS1115 uses a single power supply from 2.0V to 5.5V, and the PGA contained in the device is powered by this 2.0V to 5.5V power supply. The ADS1115’s single-ended input voltage range extends down to the ADC’s GND bus and up to whatever voltage is being used to power the device (2.0V-5.5V). You cannot apply a negative voltage, with respect to the ADC’s GND, and expect it to be measured correctly—it will just return a value of zero. It can also damage the device if it exceeds 0.3V below GND potential. The same can be said if the input signal exceeds the VDD voltage. It will read the full-scale value and may damage the device if it goes beyond VDD+ 0.3V. However, within the GND to VDD range, it will measure the voltage and provide a linear reading— assuming a PGA gain setting of 1x. As the PGA gain increases, the voltage input range will decrease accordingly, but it will always be referenced to GND potential. Negative voltages will always be unmeasurable and read out as 0.

When the ADS1115 is configured for a differential input, the same considerations apply. Neither of the two differential inputs can have their peak excursions extend beyond GND and VDD. So, when powered by 5V, each input can swing between GND and 5V, so the full-scale voltage range that could be measured with a PGA gain of 1x is ±5V. The ADS1115 uses the ±6.144V range for this case. Note however, that on this range, you will never see a digital value approaching either +6.144V or -6.144V, as this voltage exceeds the maximum input voltage range of the ADC, even when it is powered by 5V. Of course, as you reduce the ADS1115’s VDD voltage, this input range decreases proportionately. If the ADS1115 were powered by 3.3V, the ±4.096V range would, for example, never show a full-scale reading, because that voltage would exceed the 3.3V maximum allowable input voltage. Table 2 shows the six full-scale ranges of the ADS1115 and the corresponding weight of the LSB, in terms of voltage.

Table 2
This table shows the various full-scale ranges available on the ADS1115 ADC, as well as the differential input impedance seen by the source, for each range.
Table 2
This table shows the various full-scale ranges available on the ADS1115 ADC, as well as the differential input impedance seen by the source, for each range.

Next, let’s look at the NAU7802. It also has two differential inputs which can be configured for single-ended signal measurements by simply grounding the negative input. Like the ADS1115, the minimum input voltage (without possible damage) on either the plus or minus inputs of each differential channel, is GND- 0.3V and the maximum is VDD+0.3V. However, the NAU7802 differs from the ADS1115 in the following respect:

If the NAU7802 is operated in the single-ended mode, (negative input connected to ground) the voltage range that can be accurately measured does NOT include GND or VDD. At those extremes, the readings are no longer linear- i.e. correct. Nuvoton doesn’t make this very clear in their datasheet. They do specify the following two cases:

With PGA gain= 64,128

common mode range is GND + 1.5V, AVDD-1.5V

With PGA disabled

common mode range is GND- 0.1V, AVDD+ 0.1V

That leaves the acceptable common mode range for PGA gains between 1 and 32 unspecified. It appears that one could measure voltages down to GND potential accurately with the PGA bypassed. I’ve not tried this because I generally need to use the PGA for gain purposes. When using the PGA at gains below 64, I still found that readings were not accurate as the input voltage to be measured approached GND. Since that was a deal-breaker, I didn’t try measuring voltages that approached VDD, but I suspect they would not be accurate either.

This differs from the ADS1115, as outlined above. I’m certain that the reason for this is that the NAU7802 was designed primarily for measuring strain gauge bridges used in weighing devices. As such, the common mode voltage output of the strain gauge bridge is the excitation voltage/2. The strain gauges themselves produce only millivolt level differential signals when configured in this bridge configuration. So, in this case, the common mode voltage, seen by either the plus or minus inputs to the NAU7802, will never be too far away from the excitation voltage/2: i.e. somewhere between1.2V and 2.25V. Therefore, neither of the NAU7802’s differential inputs will ever approach either the GND or VDD potential, where the measurement accuracy is very poor.

The takeaway from this is that the NAU7802 is not the device to choose if you are measuring single-ended signals that go down to zero volts with respect to GND.

The MCP3910 also contains two differential input channels but each one of them has its own ADC. For both its plus and minus inputs, the maximum voltage range is specified as ±1.0V. However, to ensure maximum accuracy, Microchip strongly recommends that you keep this voltage within the ±0.6V range. The important things to note here are:

  • This device CAN accurately measure bipolar voltages with respect to GND, in a single-ended configuration.
  • It follows that it can accurately measure voltages down to zero, in a single-ended configuration.
  • The ±0.6V full scale range can easily be extended to higher voltages by using a resistive divider.

Of the three ADCs covered in this column, only the MCP3910 can handle the scenario shown in the first bullet point, and only it and the ADS1115 can handle the situation described in the second bullet point. This characteristic alone may be what determines which of these three devices you choose for a specific application.

In the next sections, I’ll discuss specifics of each of the three devices.

The ADS1115 (Texas Instruments)

Seeing the large number of breakout boards available for this device, as well as the large number of driver libraries available for various MCUs, this device appears to be extremely popular. I have come across driver libraries written by the following:

  • Adafruit libraries for both the Arduino IDE and their own Circuit Python platform.
  • At least seven other independent Arduino libraries, including those written for specific boards made by DFRobot and M5Stack- all available using the Arduino library manager.
  • OS-level libraries (Device Tree files) for Raspberry Pi and the BeagleY-AI SBCs.
  • Python libraries for Raspberry Pi running Linux.

I’ve used both the Adafruit Arduino and Circuit Python libraries and they work well, although they don’t handle all the features of the ADS1115 (which I’ll get into later) Note that the Adafruit library is named Adafruit_ ADS1x15- it can also be used with the 12-bit ADS1015, but you must be careful as there are some differences between the two.

I’ve also tried out the OS-level Device Tree library on both the Raspberry Pi and BeagleboardY-AI. While these work, the whole concept of these Linux drivers— accessing the device as if it were a file, is somewhat foreign to me, and I have my doubts that you can access the ADS1115 at its maximum sample rate of 860 SPS with this kernel level driver. But I stand to be corrected on this point.

The ADS1115 is an I2C device with a base address of 0x48. This detail is taken care of by the driver library itself. However, the ADS1115 also contains an ADDR pin, which allows you to change its address to the next three higher addresses, depending upon how this pin is wired up. See Table 3 for details. Note that unless you wire this pin to GND, you may have to adjust the base address used by whatever library you choose.

Table 3
This table shows the four different I2C addresses available on the ADS1115, as selected by the configuration of the ADDR pin.
Table 3
This table shows the four different I2C addresses available on the ADS1115, as selected by the configuration of the ADDR pin.

The ADS1115 has eight different sample rates between eight SPS and 860 SPS, with better accuracy at the lower rates. If you are running the ADS1115 at its highest sample rate, the speed of the I2C bus may become a limiting factor. By default, the ADS1115 works fine with the standard I2C clock speeds of 100khz or 400khz. You must initially communicate with the device at either of these two speeds, but you can later send a command to place the device in high-speed mode, after which you can increase the I2C speed up to 1MHz, assuming that your MCU can also handle this higher rate.

One consideration that can easily be overlooked is the correlation between an ADC’s sample rate and how many of its channels you need to use. The ADS1115 contains only 1 ADC which is shared by its four channels using an input multiplexer. Logically, you would assume that the effective sample rate would have to be divided by the number of channels being actively measured. In the ADS1115 device, this correlation holds true, and T.I. calls this “single cycle settling” in the datasheet. This is not the case for the NAU7802, which I’ll discuss in more detail later in the column.

Referring to Table 2, you can see that apart from the 6.144V range, all the other ranges are related by powers of 2. I have used this device in projects where I used auto-ranging and can verify that all the ranges between ±0.256 and ±4.096 are exactly related by a factor of 2.00. So, in this scenario, you can merely adjust the value by exactly 2.00 when you change ranges. No separate calibration constants are needed for each range.

From Table 2, you can also see that for all the upper voltage ranges: the differential input impedance is 2.4MΩ up to 22MΩ. For most Wheatstone bridge applications, these input impedances are unlikely to affect the accuracy of the readings, but on the ±0.256V and ±0.512V ranges, you may have to factor in the lower 710kΩ input impedance into your calculations.

An ADS1115 feature that I have made use of in several projects is its built-in programable comparator. This comparator can be configured in the following modes:

  • Triggered when the ADC voltage is greater than some specified value
  • Triggered when the ADC voltage is less than some specified value
  • Triggered when the ADC voltage is outside a specified voltage window

The resulting trigger signal can be either active-low or active-high (great when triggering an interrupt pin which has a fixed edge configuration). It can also be programmed to be latching or non-latching. Also, you can specify whether 1, 2 or 4 samples must meet the trigger criteria, before this trigger is output to the ALERT/RDY pin. The only shortcoming here is that the ALERT/RDY pin is also used for the Data Ready indication (i.e., conversion complete), so you must pick which of the two signals you need the most. If you choose to use the comparator feature, you can, however, monitor the Data Ready condition by reading an ADS1115 register.

There are four main registers (all 16-bit):

  • Conversion Register (ADC conversion result)
  • Config Register
  • Comparator Low Threshold Register
  • Comparator High Threshold Register

The complete configuration of the ADS1115 is handled by setting various bits in the 16-bit Config Register. Therefore, your program code should keep track of the current values of each of the configuration bits, so that when you change one aspect of the ADS1115’s configuration, you don’t clobber other aspects of the configuration, by disturbing these other bits.

These four registers are accessed by loading the Pointer Register first, which points to the register you wish to access. As the ADS1115 can measure bipolar values, the ADC result is expressed as a 2’s complement 16-bit value.

The ADS1115 is an extremely low-power device. It only consumes 150uA while it is operating and can be shut down when not actually measuring, decreasing the current draw even further. Since its operating current is so low, you could power this device using an MCU’s GPIO pin, and reduce its power consumption to zero, when not using it for measurements.

The NAU7802 (Nuvoton)

As mentioned earlier, this ADC was specifically designed to measure strain gauges used in a weighing apparatus (possibly consumer weight scales). These strain gauges are always configured as a Wheatstone bridge and produce differential signals with a large common mode voltage (several volts) and a tiny signal voltage (millivolts down to microvolts, depending upon how much weight is being measured).

Figure 3 is a block diagram of the NAU7802 (less the input multiplexer). Like the ADS1115, this device uses an I2C bus to communicate with its host MCU. This I2C bus operates at the standard 100kHz clock rate by default. In this default setting, it has internal I2C pull-up resistors of 50k. For higher I2C speeds you must adjust the SPE and WPD bits in register 0x11 (I C CONTROL) to enable 1.6k pull-ups needed for the higher speeds (or add similar value external resistors). The datasheet doesn’t specify the maximum I2C clock rate, and I have only used it up to 400kHz.

Figure 3
This is the block diagram of the NAU7802 ADC. It is the only one of the three ADCs covered here that includes a programmable LDO which provides both a reference voltage for the ADC and a bridge excitation source.
Figure 3
This is the block diagram of the NAU7802 ADC. It is the only one of the three ADCs covered here that includes a programmable LDO which provides both a reference voltage for the ADC and a bridge excitation source.

The NAU7802 (Figure 4) contains a PGA with differential inputs, with gains between 1 and 128, in steps of powers of 2. While I have not tested this parameter as thoroughly as I have on the ADS1115, I suspect that the various PGA gain steps are all exactly 2.00 from one gain range to the next higher range. This would eliminate the need for the host MCU to store calibration coefficients for each range. The 24-bit sigma-delta ADC output goes to a decimation filter which is not described in any detail in the datasheet.

Figure 4 
The NAU7802 is available in both SOIC and DIP packages-- I like the latter as they are easy to mount
Figure 4
The NAU7802 is available in both SOIC and DIP packages– I like the latter as they are easy to mount

The Decimation filter’s output can be calibrated in terms of both offset and gain. The Offset Register’s value (default is zero) is added to the decimation filter’s output value. Similarly, a 24-bit Gain Calibration Register’s value stores a gain calibration value (default is 1.0). The decimation filter’s output value is multiplied by this value.

There is a calibration command which you can run, which will perform a self-calibration on the NAU7802. This compensates for offset and gain variations in the internal PGA itself- not any external circuitry/sensor that you may have hooked up to it. However, you could also perform a full-circuit calibration using external measuring equipment and/or an accurate simulator for the sensor being used, and calculate the required values needed to be loaded into the offset and gain calibration registers. Note that there are offset and gain calibration registers for each of the two input channels.

The NAU7802 contains a programmable LDO which provides reference voltages in eight different voltages, from 2.4V to 4.5V. This LDO output is used to power the ADC and PGA, and can be connected to the REFP pin, to provide the ADC’s reference source. The LDO can supply a maximum of 10mA, so it can also be used as the excitation power supply for the strain gauge, so long as the excitation current requirement is 10mA or less. If you are measuring a bridge circuit, it’s advantageous to make the NAU7802’s ADC voltage reference the same as the bridge excitation voltage from the AVDD/LDO terminal. This makes all measurements ratiometric, and the accuracy of the excitation voltage/ADC reference (at the AVDD/LDO pin) is not critical, as it gets cancelled out in the conversion formula.

The NAU7802’s internal bandgap reference (used by the LDO) has its temperature coefficient stated in the datasheet. The NAU7802 contains a temperature sensor (a silicon diode arrangement) which can be measured by the ADC, when the input multiplexer is switched to this source. You could use this temperature reading to compensate for the temperature coefficient of the bandgap reference, if necessary. However, if you measure a strain gauge bridge, using the ratiometric method mentioned above, this is unnecessary.

Used in a weigh scale, the NAU7802 would likely only need one channel. The NAU7802 contains two differential input channels, selected by a multiplexer. If you are only using one of these channels, the NAU7802 allows you to connect a filter capacitor across the positive/negative inputs to Channel2. If bit seven of the POWER_CONTROL REGISTER (0x1C) is set, it will place this capacitor across the output of the PGA, to better filter out noise from the signal. I believe that this bit is set by default, which will screw things up if you are using both NAU7802’s channels and forget to clear this bit!

Generally, when you are weighing something, its weight will not change rapidly over time, so the NAU7802 doesn’t need to have a fast sample rate. In that respect, it’s like the ADS1115, having 5 sample rates between 10 SPS and 320 SPS. The NAU7802’s clock signal can either be the internal 4.9152MHz RC clock or an external 4.9152MHz crystal. The internal RC clock is accurate within 1%, which allows the NAU7802 to achieve >100dB notch rejection at both 50Hz and 60Hz. This is important when measuring strain gauges due to their very low output voltage level, as well as the possibility that they may be in a noisy electrical signal environment.

— ADVERTISMENT—

—Advertise Here—

As I touched upon earlier, the sample rate of an ADC containing a multiplexer to handle multiple channels, will be inversely proportional to the number of channels being actively measured. This is true for the ADS1115, which has Single Cycle Settling. That is, the ADS1115 allows you to switch its channel multiplexor and immediately collect and trust the next ADC reading that you get. The NAU7802 does not contain this feature, nor does its datasheet mention this. After quite a bit of experimenting, I determined the following:

  • If you wish to use both NAU7802’s input channels, all five sample rates must be divided by five. So, if you configure it for a 320 SPS rate, and then switch between the two channels to obtain readings for both, the actual data rate that you will achieve is only 320/5 or 64 SPS.
  • You must take a “dummy” ADC reading after switching channels to empty the pipeline of the reading from the other channel.

I discovered this much slower sample rate by measuring the time between the ADC “read” command, and the conversion complete status from the Data Ready pin. This threw me for a loop— although I was aware that this limitation is inherent in the design of some ADCs, I expected this to be noted in the NAU7802’s datasheet, which it wasn’t.

Figure 5 shows how the NAU7802 would be used with a strain gauge bridge.

Figure 5
This shows how a NAU7802 can be configured to measure a strain gauge bridge. Notice that the ADC’s reference voltage as well as the bridge excitation are provided by the AVDD pin (LDO output).
Figure 5
This shows how a NAU7802 can be configured to measure a strain gauge bridge. Notice that the ADC’s reference voltage as well as the bridge excitation are provided by the AVDD pin (LDO output).

I have used the NAU7802 and found Arduino libraries for them as follows:

  • Sparkfun- SparkFun_Qwiic_Scale_NAU7802_Arduino_Library.h
  • Adafruit- Adafruit NAU7802 Library

Both are available using the Arduino Library Manager. I have tested the Sparkfun library and found it to work well.

MCP3910 (Microchip)

I just came across this ADC recently when checking out various Click boards made by Mikroe, specifically the MIKROE-3150. There are literally a thousand different Click boards, and there are a lot of sensors and chips available mounted on these boards. I’ve noticed that some MCU development boards, by various semiconductor companies, come with one or more Click footprints on them, for easy prototyping.

The MCP3910 ADC (Figure 6) is made by Microchip and is targeted for use in mains power meters. I later discovered that Microchip also makes the MCP3911, which, on the surface, seems to be almost identical to the MCP3910 in terms of functionality and specifications. However, when I looked over the datasheet closely, I found that the register addresses and bit locations were quite different between the two devices. I’ll cover this in more detail when I discuss driver libraries.

Figure 6
The Microchip MCP3910 ADC contains two separate ADCs since it is targeted primarily for mains power meters
Figure 6
The Microchip MCP3910 ADC contains two separate ADCs since it is targeted primarily for mains power meters

The MCP3910/3911 are specifically targeted for use in mains power meters. This is a demanding use case since accuracy is critical—assuming you care what your electricity bill is each month! Unlike the other two ADCs discussed in this article, the MCP3910 is designed to measure AC voltages and currents. To do this properly, i.e. handling Power Factor considerations, requires two discrete PGAs and ADCs instead of using an input multiplexer like the ADS1115 and NAU7802 use. Both MCP3910 Channel1 and Channel two are differential inputs. The device contains an accurate bandgap reference but can be switched to an external reference by setting bit 7 in the CONFIG1 register.

The MCP3910/3911 also feature much higher sample rates than the other two ADCs discussed. This is needed to accurately measure the RMS values of both the mains voltage and current. They feature sample rates up to 125ksps, and their accuracy improves as the sample rate goes down, due to higher oversampling ratios. Unlike the other two ADCs discussed, the MCP3910/3911 requires an external crystal to operate. This can go as high as 16MHz. The MIKROE-3150 schematic shows this Click board containing a 20MHz crystal. When the sample rates that I measured didn’t agree with the values I calculated from the datasheet formula, I took a magnifying glass to the crystal and saw that it was actually 12MHz. With this crystal, the maximum sample rate would be reduced to 93.75ksps. Because of the higher sample rates at which this device can operate, it uses an SPI port to communicate with the MCU, rather than the I2C bus used on the ADS1115 and NAU7802.

The PGAs contained in the MCP3910 have gains between 1 and 32 in steps of powers of 2. While I haven’t checked this out as I did with the ADS1115, I am assuming that each PGA gain is exactly 2.00 times that of the next lower gain step, eliminating the need for the host MCU to store calibration coefficients for each gain setting. The full-scale values for the different PGA gain settings are ±0.6V with a PGA gain=1, down to ±0.01875V with a PGA gain=32. Reiterating what I mentioned in an earlier section, this is the only ADC of the three covered in this column, that can handle bipolar signals directly. This is true even if the inputs are used in a single-ended configuration (i.e. the negative input is connected to the ADC’s GND bus).

The MCP3910 does not contain any circuitry to allow for a self-calibration routine to be performed, as is found in the NAU7802. I suspect that in its targeted use as a mains power meter, the calibration of the entire circuit, including the resistor(s) needed to drop the mains voltage to ±0.6V and the current shunt resistor/coil, would need to be performed. This would make a calibration routine of only the internal ADC components inadequate. The device contains two 24-bit registers for offset and gain calibration, but these values must be loaded by the host MCU, after a full-circuit calibration routine has been performed. The range of the gain calibration goes from 0 to 1.99999999x and this multiplication is performed internally in the MCP3910. The value in the 24-bit Offset register is internally added to the ADC’s 24-bit output value. When I was writing the driver library for the MCP3910, I tested out the Offset calibration register.

The MCP3910 is designed to measure AC power and must take into consideration that Power Factor calculations are involved in this. One MCP3910 feature that helps in this regard is its Phase Delay compensation. This feature allows the device to compensate for any phase discrepancies between its voltage measurement (Channel1), and its current measurement (Channel2), which would involve some sort of current shunt which might introduce a phase shift. This Phase Delay compensation has a 1μs time resolution and would be more accurate than any calculation the host MCU might perform, using the sample data alone.

While I had no use for it, the MCP3910 allows for a digital control/output mode which differs from its standard SPI bus. This is a 2-wire serial bus with just Clock and Data signals. In its targeted use as a mains power meter, the chances are that the MCP3910 and associated analog circuitry will be connected to the mains lines and will need to be galvanically isolated from the host MCU. This 2-wire serial bus can be implemented using only two high-speed isolators. In this mode, the device configuration is handled not by setting the MCP3910’s 24-bit configuration registers, but by the logic levels present on 5 of the device’s pins (some of which perform other functions, when the device is operated in the SPI mode). The 24-bit sample data is streamed out through this 2-wire serial port in a specific frame format.

Along with the 2-wire mode described above, the MCP3910’s ADCs can output their raw ADC modulator outputs via the MDAT0 and MDAT1 pins. This would require that the host MCU do the decimation/filtering that is normally performed in the MCP3910 itself. On this topic, the MCP3910 contains SINC3 and a SINC1 decimation filter blocks which are configured according to the oversampling ratio selected.

There are a couple of MCP3910 security features which I did not investigate. There is a 16-bit Cyclic Redundancy Check that can optionally be performed and inserted at the end of a data read sequence. There is also a security register called LOCKCRC (0x1F). At power up, bits 16-23 of this register contain a “password” of 0xA5 (a common alternating bit pattern often used for such purposes). If you write any other value to these 8-bits, all further writes to any of the other registers is blocked. This makes unintentional changes to these registers, due to a host MCU program execution problem, impossible. It doesn’t take much imagination to think of cases where a “hacker” might want to re-configure the Gain calibration register with a coefficient that is lower than it should be, such that their power bill is slashed! In my MCP3910 test program, I read this LOCKCRC register early on and ascertain whether the MCP3910 is present/working or not, depending upon the presence of this passport value.

The work that I did with the MCP3910 was done using a MIKROE-3150 Click board as mentioned earlier. I’ll briefly describe the circuitry on this board. The MCP3910’s SPI and Data Ready lines are pinned out directly to pins on the Click standard footprint. There is no LDO on the board, so it must be powered by a 3.3V power source, and its logic levels are also at 3.3V levels. It contains a 12 MHz crystal- not the 20MHz crystal shown on the board’s schematic diagram.

The MCP3910’s Channel1 input is configured to measure a voltage of up to 24VDC via a 2-pin block. It also contains a 2-pin block to which you can attach a load for this supply. The current shunt it uses to measure the load current is a 0.03Ω resistor, and it is placed on the low-side of the load. The voltage across this shunt is applied to Channel2. Given the wattage of this shunt resistor, the maximum safe current is shown as 5A, although that will only correspond to 25% of the MCP3910’s full-scale input voltage when using a PGA gain of 1. Figure 7 is the diagram of the analog portion of this Click board. Note that by default, the board is jumpered to measure its own VCC, and a zero-ohm resistor must be removed and a solder link soldered into place to measure the voltage at the 2-pin block marked IN.

Figure 7
This diagram shows the analog circuitry found on the MIKROE-3150 Power Meter 2 Click board, containing a MCP3910 dual ADC.
Figure 7
This diagram shows the analog circuitry found on the MIKROE-3150 Power Meter 2 Click board, containing a MCP3910 dual ADC.
Driver Library

The MCP3910/3911 are complex devices, and I initially wondered whether there were driver libraries for them. Mikroe provides driver libraries for any devices contained on their Click boards that interface to an MCU. These can be found on their website under the heading Libstock. However, Mikroe also sells their own line of compiler toolchains, and these drivers are written for these compilers. Unless you use one of their compilers, you can’t use these driver libraries as they are distributed in a file format called mpkg, which I assume is proprietary.

I was only able to find one MCP3911 driver library which was written for the Arduino IDE. Looking closely at both the MCP3910 and MCP3911 datasheets, I found that these two devices use different register definitions- both in terms of register addresses for a given function, as well as the specific bit locations within those registers. Therefore, I’ve written an Arduino class library for the MCP3910 which is loosely based upon the MCP3911 library written by Ruben Stadler and available on Github (https://github.com/architecture-building-systems/MCP3911_Arduino_Library/blob/master/src/MCP3911.cpp)

I haven’t tested the above library as I didn’t have a MCP3911 device. However, I’ve tested the MCP3910 library that I wrote for the MCP3910.

Here is a short description of the functions available in my MCP3910 library.

— ADVERTISMENT—

—Advertise Here—

MCP3910_begin(int CS pin)—This is the first routine you must call and defines the -CS pin used by the SPI port. The defined SPI pins for the target board are used and the SPI is configured for 8MHz clock, Mode 0 and MSB sent first.

MCP3910_Configure(REGISTER SETTINGS settings)—Prior to calling this, you must populate a structure with all the main MCP3910 variables. Then this routine is called with a pointer to this structure. See the MCP3910_Test_BM example program for the register structure needed.

MCP3910_read_chX(uint8_t channel)— Call this routine to retrieve a floating-point number containing the voltage at the channel number specified (PGA gain is factored in).

MCP3910_read_raw_data(uint8_t channel)—Call this routine to get the raw 24-bit 2’s complement ADC data for channel specified. To convert this to a voltage reading, you must factor in the full-scale input voltage for the PGA gain that has been configured.

MCP3910_data_to_voltage(long data, uint8_t channel)—This converts the 24-bit raw ADC data into an actual voltage- given the PGA setting configured in the REGISTER SETTING structure.

MCP3910_enter_reset_mode()—This resets the MCP3910 ADCs.

MCP3910_exit_reset_mode()—This takes the MCP3910 ADCs out of the reset state.

MCP3910_write_offset(long offset, uint8_t channel)—This writes a 24-bit offset value to the specified channel’s OFFSET register.

MCP3910_write_gain(long gain,uint8_t channel)—This writes a 24-bit value to the specified channel’s GAIN register. See the MCP3910 datasheet section 5.13.2 for details on how this 24-bit value is scaled to a multiplier between 0 and 1.9999999x.

MCP3910_write_phase(uint16_t phase)— This writes a 16-bit number to the 12-bit PHASE register. See section 5.9 of the datasheet for details.

MCP3910_read_register(uint8_t register)—This is a general-purpose function to read the specified MCP3910 24-bit register into a long variable. For example, I use it to read the LOCKCRC register (0x1F) to check that its most significant 8 bits are 0xA5, the default Password value at power-up.

This MCP3910 Arduino driver library, as well as an example sketch are available on the Circuit Cellar website support page for this column.

Conclusions

Each of these three high-resolution ADCs has their advantages and weaknesses. The ADS1115 has four 16-bit input channels, configurable as single-ended, differential or a combination of both. It is inexpensive and readily available on tiny breakout boards. It is the only one of the three devices that contains a digitally programmable comparator, which is very versatile, and can free the host MCU of the need to monitor for fault conditions, for example. Its PGA has six settings providing full scale values between ±0.256V and ±6.144V. It has its own internal RC clock.

The NAU7802 has two channels and a high resolution 24-bit ADC. It contains a built-in self-calibration function. It has an internal temperature sensor which can be read and used to correct for the temperature coefficient of the internal bandgap reference. It contains its own 4.9152MHz RC clock which is accurate enough to allow for very high levels of 50/60HZ noise rejection. It contains a programmable LDO which can provide an excitation supply for strain gauge bridges, for example. It is the least expensive of the three devices considered in this column and is available in a DIP package.

The MCP3910/3911 is probably the most specialized of the three devices, being designed mainly for mains power monitoring. It is the only one of the three to contain two discrete 24-bit ADCs. Its PGAs cover a range of 1x to 32x and its maximum sample rate is much higher than the other two, at 125ksps. Due to this much-higher maximum sample rate, it uses an SPI bus rather than the I2C bus used by the other two. For mains power line monitoring, it can be configured in a 2-wire serial mode, facilitating the use of just 2 isolators for galvanic isolation. It requires an external clock source, which can be just a crystal and 2 capacitors. While the MCP3910 and MCP3911 perform virtually the same function, with similar specifications, the register architecture differs between the two devices, and separate driver libraries are needed.

— ADVERTISMENT—

—Advertise Here—

I hope that you can benefit from my analysis of these three high-resolution ADCs. Since I have now written a driver library for the MCP3910, all three devices have Arduino driver libraries that are readily available. 

RESOURCES
Adafruit | www.adafruit.com
Microchip | www.microchip.com
Mikroe | www.mikroe.com
Nuvoton | www.nuvoton.com
SparkFun | www.sparkfun.com
Texas Instruments | www.ti.com

SOURCES
https://github.com/architecture-building-systems/MCP3911_Arduino_Library/blob/master/src/MCP3911.cpp

ADS1115: Texas Instruments https://www.ti.com/product/ADS1115

NAU7802:  Nuvoton https://www.nuvoton.com/export/resource-files/NAU7802%20Data%20Sheet%20V1.7.pdf

MCP3910: Microchip https://www.digikey.ca/en/products/detail/microchip-technology/MCP3911A0T-E-SS/3072405

Code and Supporting Files

PUBLISHED IN CIRCUIT CELLAR MAGAZINE • APRIL 2025 #417 – Get a PDF of the issue

Keep up-to-date with our FREE Weekly Newsletter!

Don't miss out on upcoming issues of Circuit Cellar.


Note: We’ve made the Dec 2022 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

Would you like to write for Circuit Cellar? We are always accepting articles/posts from the technical community. Get in touch with us and let's discuss your ideas.

Sponsor this Article
+ posts

Brian Millier runs Computer Interface Consultants. He was an instrumentation engineer in the Department of Chemistry at Dalhousie University (Halifax, NS, Canada) for 29 years.

Supporting Companies

Upcoming Events


Copyright © KCK Media Corp.
All Rights Reserved

Copyright © 2026 KCK Media Corp.

A Hands-On Look at Three High-Resolution ADCs

by Brian Millier time to read: 27 min