Skip to main content
BenchRove Beta

Read an analog sensor with a Raspberry Pi

Reading an analog voltage from a sensor on a Raspberry Pi 5 using an external I2C analog-to-digital converter (ADS1115) on the 40-pin header's I2C pins, with Python on Raspberry Pi OS. The documents read list no analog input on the Pi 5 header.

Technologies that could fit

Suggestions only, not a recommendation. Check each record for limits.

Caveats

Scope: low-voltage logic-level signals only; no mains, high-voltage or safety-critical guidance. The statement that the Pi 5 header has no analog input is an inference from absence in the RP1 function table and header documentation (class 2), not a vendor statement. Wiring, library and code are untested here. Sensor output voltage must be checked against the converter input range in the TI datasheet. skill_level and budget_band are not set because no primary source states them.