welcome iCShop!     服務時間:週一 ~ 週五 9:00~12:00 / 13:00~17:00
M5Stack RS485可程式控制插座-K031【限量1個】

停售

M5Stack RS485可程式控制插座-K031【限量1個】

停售

M5Stack RS485可程式控制插座-K031【限量1個】

停售

M5Stack RS485可程式控制插座-K031【限量1個】
M5Stack RS485可程式控制插座-K031【限量1個】
M5Stack RS485可程式控制插座-K031【限量1個】

M5Stack RS485可程式控制插座-K031【限量1個】

NT$ 此商品已停售


產品貨號

368031600024

品牌

原廠貨號

K031

數量


運送方式

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

本商品為研發實驗用的模組,無法隨插即用,須經專業背景人士(如:工程師、研究生、師生)撰寫程式、燒錄、接線等二次加工後,才具備訊號傳輸功能。 並非直接插電後可直接使用之射頻模組,非屬電信管制射頻器材,購買前請詳閱商品說明。

商品簡介

AC Socket 是一款增強性AC插座.支持定制RS485通信方式,將多個AC插座串聯在同一RS485總線上,通過串行通信能夠同時控制多個AC插座,能夠應用於一般的工業應用場景.

AC Socket的整體構造由插座面板與BASE26底座拼接而成,底座側面嵌入了一個3pin接口,這是AC插座的電源入口.


頂部是AC插頭接口,其內部的繼電器控制將開啟和關閉電源


為了讓更多的AC插座串聯,插座的另一側提供了HT3.96端子連接器.(圖中的橙色端子)

底部的電路板主要負責將AC電源220V轉換為DC 5V,為微處理器STM32F030F4和RS485相關電路供電,從圖中可以看出,這兩部分通過M-Bus插座和一對電源線連接.在插座的頂部提供了一顆紅色LED指示燈

商品特性

● RS485 接口
● 串行通信協議:ModBUS-RTU
● 支持多個設備串行連接
● 內置STM32F030F4
● 採用BASE26底座
● 內嵌4x M3螺母
● 輸入: 100-240V
● 輸出: 10A
● 電源狀態指示燈

商品規格

商品應用

● 智能AC插座

規格 參數
淨重 120g
產品尺寸 52x 52x 60 (mm)

Easy Loader



1-EasyLoader是一個簡潔快速的程序燒錄器,每一個產品頁面裡的EasyLoader都提供了一個與產品相關的案例程序,通過簡單步驟將其燒錄至主控,能夠進行一系列的功能驗證.(目前EasyLoader僅適用於Windows操作系統)

程序燒錄前,請根據設備類型安裝相應驅動程序. M5Core型主機請點擊此處查看CP210X安裝程序,M5StickC/V/T/ATOM系列可免驅動使用)
範例文件

1.Arduino IDE
文件下載


更多相關文件,請點擊此處前往

如何查詢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
}
出貨清單
  • M5Stack RS485可程式控制插座-K031 x 1