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

​Arduino Project 047 - Relay Control Switch

RonWang7个月前 (12-13)科学研究292

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

相关文章

输氢管道钢管研究进展

输氢管道钢管研究进展

摘要:简述了国内外纯氢及掺氢输送管道的建设现状、输氢管道技术规范的发展现状以及国内外氢气系统的储存、输送、管道设计、临氢材料的试验和评价等。指出随着材料的强度、易于形成偏析的化学元素含量、夹杂物的尺寸...

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

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

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

A methodology for quantitative risk assessment of a high-capacity hydrogen fueling station

A methodology for quantitative risk assessment of a high-capacity hydrogen fueling station

A methodology for quantitative risk assessment of a high-capacity hydrogen fueling station with li...

Hydrogen fueling cost analysis of various onboard  storage technologies

Hydrogen fueling cost analysis of various onboard storage technologies

基于各种车载氢燃料储存技术的成本分析 Hydrogen fueling cost analysis of various onboard storage technologiesAuthor :...

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...

Centos彻底删除文件夹、文件命令

Centos彻底删除文件夹、文件命令

本文将介绍在Centos下面底删除文件夹、文件命令(centos 新建、删除、移动、复制等命令:01.新建文件夹mkdir 文件名新建一个名为test的文件夹在home下view sourc...