TINKER PiEDESIGN IN INDIA

4-channel ADC ADS1115 with TinkerPie

Four extra precise analog inputs, even while Wi-Fi is on.

TypeSmart sensors (I2C)
Connect toSENSOR port · 0x48
Givesmillivolts on A0-A3
SimulatorYes: a control appears under the simulated board

How it works

The ADS1115 is an analog-to-digital converter (ADC): it turns a voltage into a number. It has four inputs (A0-A3) and 16-bit resolution, so it can see changes of a fraction of a millivolt. It talks to the board over I2C (address 0x48).

How to wire it

Plug into any SENSOR 1-4 port (SDA, SCL, 3.3 V, GND). Each type has a fixed I2C address, so different types can share the bus.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.adcMillivolts(0)

// Arduino C++
sensors::adcMillivolts(0)

Good to know

Try it in TinkerPie Studio

Similar modules

More projects to try

Questions

Can I try the 4-channel ADC ADS1115 without buying one?

Yes. In TinkerPie Studio the simulator shows a control for it under the board, so you can test your program before you build it.

Why use an ADS1115 when the board already has analog pins?

The ESP32-S3 can only use some of its analog pins while Wi-Fi is on, and its readings are less precise. The ADS1115 gives four extra, steady and precise inputs that work with Wi-Fi.