Introduction to Electronics - Analog Shield Library
Analog Shield board, 3D view

Arduino library and example sketches for the Analog Shield. The library uses the standard Arduino API and is developed for the Phyduino Pico; it also builds for the Arduino Uno.

Arduino library Phyduino Pico Shield Rev-C v0.1.2

Documentation

API reference Classes, functions, pin constants and source files (Doxygen) Open
Examples Example sketches with their source, also under File → Examples → AnalogShield Open

Pin map

A0TEMP_SIG_MCU: conditioned temperature signal (JP2 at Internal: RP2040 ADC)
A1SENSOR_IN: raw temperature sensor (JP1: Internal on-board U1 or External J1)
A3TEMP_SIG_EXT: conditioned temperature signal (JP2 at External: MAX11635 ADC on the Phyduino Pico)
A4IR_VOUT: Sharp GP2Y0A21YK0F IR distance sensor (J2)
A5POT: potentiometer RV1
D2ENC_SW: rotary encoder switch, active low
D3ENC_A: rotary encoder A, active low
D4ENC_B: rotary encoder B, active low
D5LED2: red LED (silkscreen D2), active low
D6LED1: green LED (silkscreen D1), active low

Hardware reference

Analog Shield Schematic, PCB drawings, interactive BoM and datasheets Site
Phyduino Pico Board package, pin map and analog input ranges GitHub

Course Repositories