Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

MCP23017-Expanded I/O Interface with ADS1115 ADC and ESP32 Control

View and Edit Project In Cirkit DesignerImage of MCP23017-Expanded I/O Interface with ADS1115 ADC and ESP32 Control

Circuit Documentation

Summary

This circuit primarily consists of two MCP23017 I/O expanders, multiple resistors, an Adafruit ADS1115 16-bit I2C ADC, a series of switches, and an Olimex ESP32-EVB microcontroller. The MCP23017 expanders are interfaced with the ESP32-EVB via I2C communication, allowing for expanded GPIO capabilities. The resistors are used for pull-ups on the I2C lines and for interfacing switches with the MCP23017 and the ADS1115 ADC. The ADS1115 ADC is used to read analog signals, which are presumably generated by the state changes of the switches. The ESP32-EVB serves as the main controller of the circuit, likely processing the input from the switches and communicating with the MCP23017 expanders.

Component List

MCP23017 I/O Expander

Resistor

Adafruit ADS1115 16-Bit I2C ADC

Switch

Olimex ESP32-EVB

Vcc and GND

Comment

Wiring Details

MCP23017 I/O Expander

Resistor

Adafruit ADS1115 16-Bit I2C ADC

Switch

Olimex ESP32-EVB

Documented Code

No code has been provided for the microcontrollers in the circuit. The expected code would handle the initialization and communication with the I2C devices (MCP23017 and ADS1115), read the state of the switches, and perform any necessary processing or control actions based on the switch inputs.