pdf-icon

DAC

SKU:U012

Description

DAC, is a unit with the ability to convert digital signal to analog signal (voltage waveform signal) with support for audio waveform and more. It integrates a 12-bit high resolution DAC chip named MCP4725 which has an on-board non-volatile memory (EEPROM). The unit communicates with the M5Core using the I2C protocol.

The DAC input and configuration data can be programmed to the EEPROM in order for the data to be saved after reboot or system shutdown.

The device I2C address is 0x60 by default unless changed manually.

Product Features

  • Up to 12 bits of resolution
  • Output 0~3.3V voltage GROVE interface, support UIFlow and Arduino
  • Two Lego-compatible holes

Include

  • 1x DAC Unit
  • 1x Grove Cable

Applications

  • MP3 Audio Player
  • mini Oscilloscope

Specification

Resources Parameter
Resolution 12 bit
voltage range 0-3.3V
Communication protocol I2C: 0x60
Net weight 4g
Gross weight 19g
Product Size 32.2*24.2*10.3mm
Package Size 67*53*12mm

EasyLoader

download EasyLoader

1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.

  1. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)

PinMap

M5Core(GROVE A) GPIO22 GPIO21 5V GND
DAC Unit SCL SDA 5V GND

Schematic

Example

Arduino

The code below is incomplete (just for reference). To get the complete code, please click here

UIFlow

Feature Introduction

Perform DA conversion and output voltage, up to 3.7V

  • output voltage save Output voltage 0-3.3, and confirm whether to save to EEPROM

  • output voltage with raw data save Output voltage 0-4096, and confirm whether to save to EEPROM

Usage