adafruit_ad569x
CircuitPython module for the AD5691/2/3 I2C DAC
Author(s): Liz Clark
Implementation Notes
Hardware:
Adafruit AD5693R Breakout Board - 16-Bit DAC with I2C Interface - STEMMA QT / qwiic (Product ID: 5811)
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://circuitpython.org/downloads
Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
Adafruit’s Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
- 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.