Tutorials

Read VSYS Through ADC3 on the Original Raspberry Pi Pico

Published · Updated

On the original non-wireless Pico, GP29/ADC3 senses VSYS through an on-board divider. A raw value near one volt at the ADC input can therefore correspond to a three-volt board supply.

Verify the board revision and the ADC reference

Underside of the original Raspberry Pi Pico. Verify the board variant, supply connection and ground point before taking a VSYS measurement.
Underside of the original Raspberry Pi Pico. Verify the board variant, supply connection and ground point before taking a VSYS measurement. Phiarc, Raspberry Pi Pico bottom (Wikimedia Commons), CC BY-SA 4.0. WebP adaptation.

Trace the original Pico schematic from VSYS through its divider to GP29. The nominal divider ratio is one third. Record the reference actually seen by the ADC and identify the firmware's code-to-voltage convention.

A constant labelled 3.3 V in a program is a scale assumption. Check it against the board when accuracy matters. Wireless Pico variants and Pico 2 boards require their own circuit and pin review.

Check ADC divider loading and settling · Calculate the divider tolerance limits

Compare the calculated rail with a meter on VSYS

ADC reading / 1,241 counts / 12-bit result; Assumed reference / 3.300 V / 4,096 steps; Reconstructed VSYS / ≈ 3.00 V / Nominal ratio of three
Input to the calculation / Value / Role.

Use an ideal 12-bit scale with 4,096 steps. With an assumed 3.300 V reference, a reading of 1,241 corresponds to 1,241 × 3.300 / 4,096 × 3, about 3.00 V at VSYS. If the actual reference were 3.10 V, using 3.30 V in software would overstate the result by about 6.45%, before resistor tolerance, ADC error and noise.

Capture multiple samples at a steady load and compare at the VSYS ground reference. This checks the complete board measurement chain.

Does a quiet average prove the VSYS reading is accurate?

It shows repeatability over that sample window. Reference error and resistor ratio create systematic offsets that an average preserves. Compare at another known rail voltage to distinguish scale from noise.

Trace the three worksheet rowsADC reading / 1,241 counts / 12-bit result; Assumed reference / 3.300 V / 4,096 steps; Reconstructed VSYS / ≈ 3.00 V / Nominal ratio of three
  1. ADC reading · 1,241 counts · 12-bit result
  2. Assumed reference · 3.300 V · 4,096 steps
  3. Reconstructed VSYS · ≈ 3.00 V · Nominal ratio of three

Measure the effect of the probe ground loop · Review board rail dependencies

Distinguish average and burst load in a logger.

Raspberry Pi Pico Datasheet, power supply and schematic.

Photograph credit and licence

Phiarc, Raspberry Pi Pico bottom (Wikimedia Commons), CC BY-SA 4.0. WebP adaptation.

Original photograph https://commons.wikimedia.org/wiki/File:Raspberry_Pi_Pico_bottom.jpg

Licence https://creativecommons.org/licenses/by-sa/4.0/

Back to Tutorials

Related evidence and next tasks

Continue the task with the relevant source scope. These reading paths do not establish interchangeability or current supply.

Source addresses and citation trail

Full source addresses are retained below. Read each citation with its document revision, page, table and applicability conditions above.

  1. https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf