Gravity: GP8630N I2C/PWM to ±10V / 4-20mA DAC Module

SKU: DFR1230

Gravity: GP8630N (DFR1230) is a 16-bit high-res DAC module with ±0.2% full-scale error. It supports I2C/PWM control, configurable to output ±10V, 0-5V, 0-10V voltage or 4-20mA current. The ±10V output enables bidirectional device control (e.g., motor forward/reverse). Compatible with Arduino, ESP32, Raspberry Pi, it drives lights, pumps, servos. Part of a DAC series with 8-16bit resolution, single/dual channels, and multi-module cascading options.

Overview of Gravity: GP8630N I2C/PWM to ±10V/4-20mA DAC Module (16-bit)
  • Docs
  • Tech Specs
  • Certifications
  • 1. Example Code for Arduino-Output 10V in 0–10V Range (I2C Mode)

    Control the module to output 10V within the 0–10V range via I2C communication on the ESP32-E main controller, and verify the result with a multimeter.

    2. Example Code for Arduino-Output 20mA in 4–20mA Range (PWM Mode)

    Control the module to output 20mA within the 4–20mA range via PWM communication on the ESP32-E main controller, and verify the result with a multimeter.

    3. Example Code for Arduino-DAC Accuracy and Calibration Method Description

    Adopt a linear fitting algorithm to quickly calculate calibration parameters using Excel, and correct the DAC output deviation to enhance accuracy. This tutorial uses the "0–12V range (program parameter range: 0–1023)" in PWM mode as an example.

    Reference

    The I2C & PWM Series API enables DAC output range and value configurations for models like GP8630N.

    Specification

    Basic Parameters

    Parameter Details
    Chip Model GP8630N
    Operating Voltage 3.3V-5V
    Power/Communication Interface PH2.0-4Pin/3Pin
    Input Signal I2C / PWM
    Output Signal Current Output Range: 0-24mA
    Voltage Output Range: ±12V/0-6V/0-12V
    Number of Channels 1 channel
    Resolution 16-bit (I2C mode)
    8-bit, 10-bit (PWM mode, selectable based on controller)
    Full‑Scale Error ±0.2% (measured after fitting calibration)
    Value Range I2C Mode: 0-65535 corresponds to ±12V, 0-6V, 0-12V, or 0-24mA
    PWM Mode:
    - 0-255 corresponds to ±12V, 0-6V, 0-12V, or 0-24mA
    - 0-1023 corresponds to ±12V, 0-6V, 0-12V, or 0-24mA

    Physical Dimensions

    Parameter Details
    PCB Dimensions 42 × 32 × 12.39 mm
    Mounting Hole Spacing 25mm
    Mounting Hole Diameter 3.0 mm

    DIP Switch Configuration Logic

    The DIP switches (A0, A1, A2) are used to switch the I2C address and PWM output range. Corresponding configurations should be selected based on the control mode, and mixed use is strictly prohibited.

    I2C Mode: Configure Module I2C Address
    The I2C communication address of the module is defined by the combination of "0 (disconnected)/1 (closed)" for A0, A1, and A2. The default address is 0x58 (A0/A1/A2 are all set to 0).

    I2C Mode
    A2 A1 A0 ADDR
    0 0 0 0x58
    0 0 1 0x59
    0 1 0 0x5A
    0 1 1 0x5B
    1 0 0 0x5C
    1 0 1 0x5D
    1 1 0 0x5E
    1 1 1 0x5F

    PWM Mode: Configure Output Signal Range
    The output type (voltage/current) and range under PWM control can be defined by focusing on specific combinations of A0, A1, and A2.

    A2 A1 A0 OUT
    0 1 0 -12–0V
    0 1 1 0–12V
    1 0 0 0–24mA

    Pinout

    Functional Schematic Diagram

    DFR1230-Function diagram

    Hardware Interface Description

    The module interfaces are categorized into three types: I2C interface, PWM interface, and output interface. The functional definitions of each pin are presented in the following table:

    Interface Type Pin Silkscreen Functional Description
    I2C Interface + Positive power supply (3.3V–5V)
    - Negative power supply
    SCL I2C clock line (SCL)
    SDA I2C data line (SDA)
    PWM Interface - Negative power supply
    + Positive power supply (3.3V–5V)
    D PWM signal input pin
    Output Interface OUT Positive output signal (voltage/current) ranges: 0–10V, 0–12V, 10–0V, -12–0V, 0–24mA, 4–20mA
    GND Negative output signal
  • CE CE
  • RoHS RoHS
  • Was this article helpful?

    TOP