welcome iCShop!     服務時間:週一 ~ 週五 9:00~12:00 / 13:00~17:00
I2C DAC Breakout-MCP4725
I2C DAC Breakout-MCP4725
I2C DAC Breakout-MCP4725
I2C DAC Breakout-MCP4725
I2C DAC Breakout-MCP4725
I2C DAC Breakout-MCP4725

I2C DAC Breakout-MCP4725

NT$ 220


產品貨號

368030600794

品牌

原廠貨號

BOB-12918

數量

無庫存

關鍵字

運送方式

7-11取貨付款 郵寄(單一運費) 宅配 宅配貨到付款 外島郵寄 順豐快遞 順豐快遞貨到付款

商品簡介

MCP4725 是 I2C 控制的數模轉換器 (DAC)。 DAC 允許您從數字源(例如 Arduino 微控制器上的 I2C 接口)發送模擬信號,例如正弦波。數模轉換器非常適合聲音生成、樂器和許多其他創意項目!
此版本的 MCP4725 Breakout 修復了電路板的一些問題,包括 IC 佔位面積、I2C 引腳排列、更改了整體電路板尺寸以更好地適應您的項目,以及一些更小的調整。該電路板斷開了您需要訪問和使用 MCP4725 的每個引腳,包括 GND 和信號輸出引腳,用於連接到示波器或您需要連接到電路板的任何其他設備。板上還有 SCL、SDA、VCC 和另一個用於基本 I2C 引出線的 GND。此外,如果您希望在一條總線上有多個 MCP4725,可以禁用該板上的上拉電阻,只需查看下面文檔部分中的連接指南以獲取有關執行此操作的說明和提示。

商品特色

  • 12 位元 解析度
  • I2C 接口(支持標準、快速和高速)
  • 小包裝
  • 2.7V 至 5.5V 電源
  • 內部 EEPROM 用於儲存設置

下載文件

如何查詢I2C位址

操作流程

STEP 1. 將欲查詢的模組連接至Arduino UNO(附圖為腳位參考,實際請比對商品標示接線)

STEP 2. 開啟Arduino IDE並新增檔案

STEP 3. 貼入教學下方的範例文件,並上傳到Arduino UNO,即會開始掃描I2C位址

STEP 4. 開啟序列埠監控視窗,即可取得I2C位址

I2C掃描範例程式

/ ---------------------------------------------------------------- /
// Arduino I2C Scanner
// Re-writed by Arbi Abdul Jabbaar
// Using Arduino IDE 1.8.7
// Using GY-87 module for the target
// Tested on 10 September 2019
// This sketch tests the standard 7-bit addresses
// Devices with higher bit address might not be seen properly.
/ ---------------------------------------------------------------- /
#include //include Wire.h library
void setup()
{
Wire.begin(); // Wire communication begin
Serial.begin(9600); // The baudrate of Serial monitor is set in 9600
while (!Serial); // Waiting for Serial Monitor
Serial.println("\nI2C Scanner");
}
void loop()
{
byte error, address; //variable for error and I2C address
int nDevices;
Serial.println("Scanning...");
nDevices = 0;
for (address = 1; address < 127; address++ )
{
// The i2c_scanner uses the return value of
// the Write.endTransmisstion to see if
// a device did acknowledge to the address.
Wire.beginTransmission(address);
error = Wire.endTransmission();
if (error == 0)
{
Serial.print("I2C device found at address 0x");
if (address < 16)
Serial.print("0");
Serial.print(address, HEX);
Serial.println(" !");
nDevices++;
}
else if (error == 4)
{
Serial.print("Unknown error at address 0x");
if (address < 16)
Serial.print("0");
Serial.println(address, HEX);
}
}
if (nDevices == 0)
Serial.println("No I2C devices found\n");
else
Serial.println("done\n");
delay(5000); // wait 5 seconds for the next I2C scan
}
出貨清單
  • I2C DAC Breakout-MCP4725 x 1