/AD5593R-Arduino-ESP32-Library

This library allows for the configuration, writing, and reading of the 8 ADC/DAC channels of the AD5593R by analog instruments.

Primary LanguageC++MIT LicenseMIT

AD5593R-Library-Arduino-ESP32

This library allows for the configuration, writing, and reading of the 8 ADC/DAC/GPIO channels of the AD5593R by analog instruments.

Connecting To the Microcontroller

  • The AD5593R is connected to the master device through an I2C connection. Any board capable of programming through the Arduino framework with an I2C bus will work.
  • By attaching a GPIO pin to the a0 pin of the AD5593R multiple chips can be addressed on the same bus.
    • Assigning this pin in the class constructor maps the microcontroller's gpio to the ADC

Debugging

  • By default the debug print statements are enabled. To disable comment out line 31 in "AD5593R.h"
    • //#define AD5593R_DEBUG