
DFRobot Gravity DFR0971 GP8403 Dual-Channel I2C DAC
Add two programmable analog voltage outputs to a compatible microcontroller. This GP8403-based module converts I2C commands into 0–5 V or 0–10 V control signals for equipment with matching analog control inputs. It is useful for dimmer control, automation prototypes and low-frequency test signals.
Connection note: These are voltage control outputs, not motor or lamp power terminals. Connect them to the equipment's compatible control input and use the equipment's separate power supply as required. Confirm signal limits and grounding before connecting. This is not the separate DFRobot 4–20 mA current-output DAC.
Features and specifications
| Model | DFRobot Gravity DFR0971 |
|---|---|
| DAC chip | GP8403 |
| Channels | Two analog voltage outputs, VOUT0 and VOUT1 |
| Output ranges | 0–5 V or 0–10 V |
| Resolution | 12-bit, codes 0x000–0xFFF |
| Supply | 3.3–5 V DC |
| Interface | I2C through PH2.0 four-pin Gravity connector |
| I2C logic high level | 2.7–5 V |
| I2C addresses | 0x58–0x5F, selected with A0/A1/A2 DIP switches |
| Output voltage error | Less than 0.5%, maker specification |
| Output linearity error | 0.1%, maker specification |
| Module consumption | Less than 4 mA, not an output load-current rating |
| Protection | Output short-circuit protection, per maker |
Address selection
The DIP switches allow eight distinct addresses, so eight modules can share an I2C bus without address conflicts, providing up to sixteen output channels. Check the A0/A1/A2 address table printed on the rear of the board or in the official wiki. The library example uses 0x58.
Connection and first use
Connect the Gravity supply and ground to a compatible controller supply, and connect its data and clock lines to the controller's I2C SDA and SCL pins. Connect the output terminal's ground and the chosen VOUT0 or VOUT1 to the receiving device's analog control input. Check the receiving device's required voltage range before enabling an output.
Use the DFRobot_GP8403 library to initialize the module, select the 5 V or 10 V output range, then set the output code for channel 0, channel 1 or both. Select the output range in software rather than assuming the supply voltage sets it. The library's store function saves a chosen output setting for later power-up; ordinary changes are not retained through a power cycle unless saved.
The official brightness example uses a separate 0–10 V LED dimmer and its own load power supply. Those parts are not included. The waveform example demonstrates a 10 Hz sine wave; it does not establish a general high-speed signal-generator specification.
Package Includes
- 1 × DFRobot Gravity DFR0971 two-channel GP8403 DAC module
- 1 × Gravity I2C/UART sensor connector cable
Controller, dimmer, load and power supply are not included. The cable's I2C/UART name does not add UART support to this I2C module.