welcome iCShop!     服務時間:週一 ~ 週五 9:00~12:00 / 13:00~17:00
4CH I2C雙向邏輯電平轉換 -BSS138
4CH I2C雙向邏輯電平轉換 -BSS138
4CH I2C雙向邏輯電平轉換 -BSS138
4CH I2C雙向邏輯電平轉換 -BSS138
4CH I2C雙向邏輯電平轉換 -BSS138
4CH I2C雙向邏輯電平轉換 -BSS138

4CH I2C雙向邏輯電平轉換 -BSS138

NT$ 150


產品貨號

368031000164

品牌

原廠貨號

757

數量

無庫存

運送方式

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

商品簡介

由於 Arduino(和 Basic Stamp)是 5V 設備,而且大多數現代感測器、顯示器、閃存卡和模式都只有 3.3V,因此許多製造商發現他們需要執行電平轉換/轉換以保護 3.3V 設備免受 5V 影響。
我們店裡還有其他一些方便的電平轉換器,從 DIP 74LVC245 到花哨的雙向 TXB0108。 然而,這些都不能與 I2C 一起工作,I2C 使用時髦的上拉系統來回傳輸資料。 該電平轉換器板結合了雙向 TXB0108 的易用性和 I2C 兼容的 FET 設計,遵循 NXP 的應用說明。
這個突破有 4 個帶有 10K 上拉的 BSS138 FET。 它的低端工作電壓低至 1.8V,高端工作電壓高達 10V。
與使用 TXB0108 或 74LVC245 相比,10K 確實使接口更加緩慢,因此如果您需要高速傳輸,我們建議檢查它們。
雖然我們將它設計為與 I2C 一起使用,但它非常適用於 SPI、TTL 串行和任何其他單向和雙向數字接口。 隨附組裝完成並經過測試的 PCB,帶有 4 條完整的雙向轉換器線路以及 2 塊 6 針接頭,您可以將其焊接到麵包板或穿孔板上。

下載文件

如何查詢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
}
出貨清單
  • 4CH I2C雙向邏輯電平轉換 -BSS138 x 1