(SKU:DFR0438) Bright LED 高亮LED模块

来自DFRobot Product Wiki
跳转至: 导航搜索
高亮LED模块 SKU:DFR0438

目录

简介

Hi,大家好!我叫“Bright LED”。身高30mm,腰围22mm,有一颗明亮的大眼睛(3528LED)。我的特长是将电能转化为光能,我对能源的需求是DC-5V。亲~记住我了吗?


产品参数

  • 工作电压:5V
  • 工作电流:15-20mA
  • 尺寸:30*22mm


引脚说明

Bright LED
表名
标号 名称 功能描述
1 signal 控制信号输入
2 VCC 5v 电源+
3 GND 5v 电源-


使用教程


准备

  • 硬件
    • UNO x1
    • Bright LED 高亮LED模块 x1
    • 杜邦线 若干
  • 软件


接线图

Bright LED连线图.png


样例代码

/***************************************************
* Bright LED   
* ****************************************************
*  Turns on an LED on for one second, then off for one second, repeatedly.
  
* @author Dongzi(1185787528@qq.com)
* @version  V1.0
* @date  2016-5-26
* All above must be included in any redistribution
* ****************************************************/
void setup() {
  // initialize digital pin 13 as an output.
   pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);    // turn the LED on (HIGH is the voltage level)
   delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}


结果

程序烧录好后,会看到LED亮1秒,熄灭1秒,循环变化。


常见问题

还没有客户对此产品有任何问题,欢迎通过qq或者论坛联系我们!


更多问题及有趣的应用,可以 访问论坛 进行查阅或发帖!


更多

Schematic
3528 LED datasheet


DFshopping car1.png DFRobot商城购买链接
个人工具
名字空间

变换
操作
导航
工具箱