当前位置:首页 > 科学研究 > 正文内容

​Arduino Project 047 - Relay Control Switch

RonWang1年前 (2024-12-13)科学研究661

Project 47 Relay Control Switch


47 Relay Control Circuit

47 Relay Control  Schematic

/* Project 47 Relay Control
 * Coding by Ronwang 
 * This example code is in the public domain
 * Hardware Support by Autaba Website :https://www.autabaec.com
 */
// The Arduino pin, which connects to the IN pin of relay
const int RELAY_LIGHT= 8; 
// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin as an output.
  pinMode(RELAY_LIGHT, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
  digitalWrite(RELAY_LIGHT, HIGH);
  delay(1000);
  digitalWrite(RELAY_LIGHT, LOW);
  delay(1000);
}


版权声明:本文为原创文章,版权归donstudio所有,欢迎分享本文,转载请保留出处!

本文链接:http://parentscn.com/?id=304

相关文章

The Robust Remote Control of the Manipulator

The Robust Remote Control of the Manipulator

This contribution deals with the design of the remote control of the manipulator Katana, which is an...

NETL发布氢气管道运输成本模型计算工具

NETL发布氢气管道运输成本模型计算工具

NETL发布了两个创新的成本模型,旨在计算使用新管道运输纯氢和通过现有天然气管道运输氢混合天然气的相关费用。这些关键工具将帮助参与蓬勃发展的氢经济的利益相关者做出更明智的决策,为国家的脱碳目标做出贡献...

中国大规模:氢能管网建设元年开启

中国大规模:氢能管网建设元年开启

随着可再生能源利用技术和装备的持续突破与迭代,可再生电力成本持续下降,促进可再生能源制氢(简称“绿氢”)成本不断下降,绿氢经济性的持续优化推动各领域绿氢应用需求快速扩大。据中国产业发展促进会氢能分会观...

构建核心团队,打造高端品牌—记中国机械设计领域领军人物王旭东

构建核心团队,打造高端品牌—记中国机械设计领域领军人物王旭东

我国著名的机械设计工程师王旭东,毕业于重庆理工大学机械设计及其自动化专业,后进入北京航空航天大学软件学院,攻读云计算专业的硕士研究生课程。他曾任职于陕西重型汽车有限公司、北京奔驰汽车有限公...

氢气管道与天然气管道的对比分析

氢气管道与天然气管道的对比分析

摘要利用氢气管道是长距离氢能输运最为高效的方式之一,但相较于成熟的天然气管网体系,氢气管道建设量相对较少,近年来将天然气管道改造成氢气管道的方式受到研究人员的广泛关注。从建设现状、规范标准、材料选择、...