adafruit_ad569x

CircuitPython module for the AD5691/2/3 I2C DAC

  • Author(s): Liz Clark

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_ad569x.Adafruit_AD569x(i2c: busio.I2C, address: int = 76)

Class which provides interface to AD569x Dac.

Initialize the AD569x device.

This function initializes the I2C device, performs a soft reset, and sets the initial operating mode, reference voltage, and gain settings.

Parameters:
  • i2c – The I2C bus.

  • address – The I2C address of the device. Defaults to 0x4C.

property gain

Gain for the AD569x chip.

Parameters:

value – A bool to choose 1X or 2X gain.

property internal_reference

Internal reference voltage for the AD569x chip.

Parameters:

value – A bool to enable the internal reference voltage.

property mode

Operating mode for the AD569x chip.

Parameters:

value – An int containing new operating mode.

normal_mode

Normal mode

output_100k_impedance

100K impedance mode

output_1k_impedance

1K impedance mode

output_tristate

Tri-state mode

reset()

Soft-reset the AD569x chip.

property value: int

16-bit value to the input register and update the DAC register.

This property writes a 16-bit value to the input register and then updates the DAC register of the AD569x chip in a single operation.