Files
2021-02-18 21:15:57 +08:00

117 lines
3.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DAC HAT
<el-tag effect="plain">SKU:U068</el-tag>
<div class="product_pic"><img src="assets\img\product_pics\hat\dac_hat\dac_hat_01.webp"><img src="assets\img\product_pics\hat\dac_hat\dac_hat_02.webp"></div>
## Description
**DAC HAT** is also a type of C-HAT specifically design for M5StickC controller. Same as DAC unit, this is a voltage output DAC converter for stickc. It can generate a voltage of 03.3V.
<br>
Packed with a DAC converter chip MCP4725, which is low-power, high accuracy, single-channel, 12-bit buffered voltage output Digital-to-Analog Converter (DAC) with a non-volatile memory (EEPROM). Its on-board precision output amplifier allows it to achieve rail-to-rail analog output swing.
<br>
The DAC input and configuration data can be programmed to the non-volatile memory (EEPROM) by the user using the I2C interface command.
I2C address: 0x60
## Product Features
- Output: 03.3V
- Software Development Platform: Arduino, UIFlow(Blockly, Python)
- MCP4725
- 12-BitResolution
- External A0 Address Pin
- NormalorPower-DownMode
- Fast Settling Time of 6 μs (typical)
- ExternalVoltageReference(VDD)
- Rail-to-RailOutput
- LowPowerConsumption
- Single-SupplyOperation:2.7V to 5.5V
- I2C Interface: address 0x60
- ExtendedTemperatureRange:-40°Cto+125°C
## Include
- 1x DAC HAT
- 1x 2 Pin 3.96 Pitch Terminal
## Applications
- SetPointorOffsetTrimming
- SensorCalibration
- Closed-LoopServoControl
- LowPowerPortableInstrumentation • PCPeripherals
- DataAcquisitionSystems
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>Net weight</td>
<td>6g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>19g</td>
</tr>
<tr>
<td>Product Size</td>
<td>24*25*13mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>67*53*12mm</td>
</tr>
</table>
## Related Link
- **Datasheet** - [MCP4725](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/MCP4725_en.pdf)
### Pin Map
<table>
<tr><td>M5StickC</td><td>GPIO0</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
<tr><td>HAT ADC</td><td>SDA</td><td>SCL</td><td>5V</td><td>GND</td></tr>
</table>
## Schematic
<img src="assets/img/product_pics/hat/dac_hat/dac_hat_04.webp" width="80%" height="80%">
## EasyLoader
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_M5StickC_logo.webp" width="100px" style="margin-top:20px">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/HAT/DAC/EasyLoader_DAC_HAT.exe"><el-button type="primary">download EasyLoader</el-button></a>
>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.
>2. 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**)
## Example
### 1. Arduino IDE
- [Click here to download the Arduino example](https://github.com/m5stack/M5StickC/blob/master/examples/Hat/DAC)
### 2. UIFlow
Open http://flow.m5stack.com and Load Demo
<img src="assets/img/product_pics/hat/dac_hat/dac.webp">
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/m5stickc-dac-hat-mcp4725';
anchor_search(purchase_link);
scrollFunc();
</script>