2 min read · Automation

An ADC turns a voltage into a digital value. The result depends on the reference, the resolution, the signal source and noise. PWM is a signal that switches on and off according to its duty cycle. It is not a steady analog voltage from a DAC. Turning a number into a temperature or a voltage therefore needs an equation, units and a check against a reference instrument.
What this covers and the order of the experiments
- Check the input voltage range, the reference source and the resolution the core is actually set to use.
- Read several levels and note the values from the reference instrument, to find the error.
- Choose a filter by weighing stability against response time. Do not average so much that you hide a fault.
- Mark out-of-range readings, a disconnected wire and unusable values separately from normal values.
Exercise and application example
Exercise: use a test signal source that stays within the board's safe range. Build a calibration table, then show each value with its unit and a validity status.
Limits and what else to check
The number of bits of resolution is not the same as real accuracy. Using PWM with a filter circuit must be designed around the load. Do not assume that analogWrite behaves like a DAC on every board.
Manufacturer documents worth reading
- Arduino Hardware
- Arduino UNO R3/R4 comparison
- Arduino GIGA R1 WiFi
References
- Arduino Hardware (accessed 2026-11-21)
- Arduino UNO R3/R4 comparison (accessed 2026-11-21)
- Arduino GIGA R1 WiFi (accessed 2026-11-21)




