“Sensor-Relay/zh”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
(Created page with "{{Language|Microduino-Relay }} {| style="width: 800px;" |- | 400px|thumb|right| Microduino-Relay Microduino-Relay是继电器模块,可用于...")
 
 
(未显示4个用户的9个中间版本)
第1行: 第1行:
{{Language|Microduino-Relay }}
 
 
{| style="width: 800px;"
 
{| style="width: 800px;"
 
|-
 
|-
|
+
|[[File: Microduino-Relay.jpg|300px|left|Sensor-Relay]] ||
[[File: Microduino-Relay.jpg|400px|thumb|right| Microduino-Relay]]
+
::<p style="color: #000000;font-size:200%"><br><br><br><br><br>'''Sensor-Relay'''</p>
 +
::产品编号:'''<big style="color: #00A0A6">MSDO11</big>'''
 +
|-
 +
|[[File: Add-to-cart.jpg|300px|left|link=https://shop108263663.taobao.com/?spm=a230r.7195193.1997079397.2.ek3cAW]]||
 +
::<p style="color: #000000;font-size:120%">Sensor-Relay是继电器模块,可用于隔离控制。
 +
</p>
 +
|}
 +
<br>
 +
<br>
 +
{| style="width: 800px;"
 +
<p style="color: #333333;font-size:155%">'''技术规格'''</p>
 +
{| class="wikitable"
 +
|-
 +
| '''原边输入'''||5V
 +
|-
 +
| '''副边输出'''||10A 250VAC/10A 30VDC
 +
|-
 +
| '''接口'''||D2~D13,A0~A7
 +
|-
 +
| '''接口'''||1.27mm间距的4Pin座
 +
|-
 +
| '''特色'''||可隔离控制高电压、大电流信号,体积小,易安装
 +
|}
 +
<br>
 +
----
 +
<br>
 +
<p style="color: #333333;font-size:155%">'''引脚'''</p>
 +
{| border="0" cellpadding="10" width="90%"
 +
|-
 +
|width="35%" valign="center" align="left"|
 +
*IN'''<big style="color: #00A0A6">(数字信号)</big>'''
 +
**PIN1:GND
 +
**PIN2:VCC
 +
**PIN3:数字信号输出
 +
**PIN4:NC(空)
 +
|width="35%" valign="top" align="center"|
 +
[[file: Sensor_backpin.png|130px|center]]
 +
|width="25%" valign="top" align="center"|
 +
|}
 +
<br>
 +
----
 +
<br>
 +
<p style="color: #333333;font-size:135%">'''编程手册'''</p>
 +
您可通过[[AVR核心:Getting_started/zh|Getting Started]]了解使用Arduino IDE编程控制模块。
 +
<p style="color: #333333;font-size:120%">'''普通用法'''</p>
 +
*1、将核心模块和传感器接口模块堆叠在电池盒模块上。
 +
*2、将继电器传感器通过排线接到传感器接口模块的6/7管脚上。
 +
*3、将USB连接线一段插入电池盒模块,另一端连接PC电脑,并打开电池盒模块的电源开关。
 +
*下载完毕你可以看到Relay模块上的STA灯间隔1秒钟闪烁一次,用万用表测量Relay模块上的2PIN压线端子,可以看到2PIN端子也是间隔1秒钟通断一次
  
Microduino-Relay是继电器模块,可用于隔离控制。
 
  
 +
<source lang="cpp">
 +
const int Relay =  6;      // the number of the LED pin
  
 +
void setup() {
 +
  pinMode(Relay, OUTPUT);
 +
}
  
 +
void loop() {
 +
  digitalWrite(Relay, HIGH);
 +
  delay(1000);
 +
  digitalWrite(Relay, LOW);
 +
  delay(1000);
 +
}
 +
</source>
 +
<br>
 +
----
 +
<p style="color: #333333;font-size:135%">'''文档'''</p>
 +
*传感器CAD图纸:'''[[File:Sensor_CAD.zip]]'''
 +
<br>
 +
----
 +
<br>
 +
<p style="color: #333333;font-size:135%">'''相关教程'''</p>
 +
[[智能温控电风扇]]<br>
 +
<br>
 +
----
 +
<br>
 +
<p style="color: #333333;font-size:135%">'''Q&A'''</p>
 +
<br>
  
 
+
----
 
+
<br>
 
+
<p style="color: #333333;font-size:135%">'''历史'''</p>
 
+
<br>
 
+
<br>
 
+
----
 
+
<br>
==特色==
+
<p style="color: #333333;font-size:135%">'''图库'''</p>
*可隔离控制高电压、大电流信号
+
{| border="0" cellpadding="10" width="100%"
 
+
|-
==规格==
+
|width="50%" valign="top" align="left"|
*原边输入5V工作电压;
+
[[file: Microduino-Relay-F.JPG|500px|center]]
*副边输出10A 250VAC/10A 30VDC
+
|width="50%" valign="top" align="left"|
*1.27mm间距的4Pin接口
+
[[file: Microduino-Relay -b.JPG|500px|center]]
 
+
|}
 
 
[[File: Microduino-Relay_rule1.jpg|600px|thumb|center]]
 
 
 
==文档==
 
 
 
*原理图:'''[[File: Microduino_Relay.Zip]]'''
 
 
 
==开发==
 
可利用继电器将弱电信号装换成高电压,大电流信号或者做隔离控制。
 
 
 
==应用==
 
*所需硬件:[[Microduino-Core/zh]]、[[Microduino-USBTTL/zh]]、[[Microduino-Sensorhub/zh]]、 杜邦线、USB数据线;
 
*软件:
 
**确认你搭建了Microduino的开发环境,否则参考:[[Microduino Getting start/zh]]
 
*把所有模块叠一起,将Relay模块通过转接线与sensorhub的D2口连接起来。
 
*打开Arduino IDE,选择File→Examples→Digital→BlinkWithoutDelay示例程序,在Tools→Board里面选择正确的板卡,然后进行编译。
 
*编译完成后在Arduino IDE的Tools→Serial Port里面选择正确的端口号,然后直接下载程序。
 
*下载完毕你可以看到Relay模块上的STA灯间隔1秒钟闪烁一次,用万用表测量Relay模块上的2PIN压线端子,可以看到2PIN端子也是间隔1秒钟通断一次。
 
 
 
==购买==
 
 
 
==历史==
 
 
 
==图库==
 
 
 
*正面
 
[[file: Microduino-Relay-F.JPG|thumb|600px|center|Microduino-Relay Front]]
 
*背面
 
[[file: Microduino-Relay -b.JPG|thumb|600px|center|Microduino-Relay Back]]
 
 
|}
 
|}
 +
[[MCookie 传感器系列|返回Sensor界面]]
 +
<br>
 +
<br>

2018年11月21日 (三) 09:10的最新版本

Sensor-Relay






Sensor-Relay

产品编号:MSDO11
Add-to-cart.jpg

Sensor-Relay是继电器模块,可用于隔离控制。



技术规格

原边输入 5V
副边输出 10A 250VAC/10A 30VDC
接口 D2~D13,A0~A7
接口 1.27mm间距的4Pin座
特色 可隔离控制高电压、大电流信号,体积小,易安装




引脚

  • IN(数字信号)
    • PIN1:GND
    • PIN2:VCC
    • PIN3:数字信号输出
    • PIN4:NC(空)
Sensor backpin.png




编程手册

您可通过Getting Started了解使用Arduino IDE编程控制模块。

普通用法

  • 1、将核心模块和传感器接口模块堆叠在电池盒模块上。
  • 2、将继电器传感器通过排线接到传感器接口模块的6/7管脚上。
  • 3、将USB连接线一段插入电池盒模块,另一端连接PC电脑,并打开电池盒模块的电源开关。
  • 下载完毕你可以看到Relay模块上的STA灯间隔1秒钟闪烁一次,用万用表测量Relay模块上的2PIN压线端子,可以看到2PIN端子也是间隔1秒钟通断一次


const int Relay =  6;      // the number of the LED pin

void setup() {
  pinMode(Relay, OUTPUT);
}

void loop() {
  digitalWrite(Relay, HIGH);
  delay(1000);
  digitalWrite(Relay, LOW);
  delay(1000);
}



文档




相关教程

智能温控电风扇



Q&A




历史





图库

Microduino-Relay-F.JPG
Microduino-Relay -b.JPG

返回Sensor界面