7 Colors LED Blinking/Flashing Module (KY-034)

7 Colors LED Blinking/Flashing Module (KY-034)
7 Colors LED Blinking/Flashing Module (KY-034)7 Colors LED Blinking/Flashing Module (KY-034)7 Colors LED Blinking/Flashing Module (KY-034)7 Colors LED Blinking/Flashing Module (KY-034)7 Colors LED Blinking/Flashing Module (KY-034)
รหัสสินค้า AS00245
หมวดหมู่ LED / LED Drive
ราคา 30.00 บาท
สถานะสินค้า พร้อมส่ง
จำนวน
ชิ้น
หยิบลงตะกร้า
หนังสือรับรองบริษัท
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

Technical data / Short description

If you connect this module with a power supply, a LED will light up which changes its colour automatically. It includes 7 different colours.

Voltage range: 3,3V - 5V

Pinout

3 G NC S.png

Code example Arduino

This code example shows how you can switch a LED on for 4 seconds and than off for 2 seconds via defined output pin.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
int Led = 13;
 
void setup ()
{
  pinMode (Led, OUTPUT); // Initialization of the LED output pin
}
 
void loop () // main program loop
{
  digitalWrite (Led, HIGH); // LED will be switched on
  delay (4000); // waitmode for 4 seconds
  digitalWrite (Led, LOW); // LED will be switched off
  delay (2000); // waitmode for another 2 seconds
}

Connections Arduino:

Sensor Signal = [Pin 13]
Sensor [N.C] =  
Sensor GND = [Pin GND]

Example program download:

KY-034_7-color-led-flash-module

Code example Raspberry Pi

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Needed modules will be imported and configured
import RPi.GPIO as GPIO
import time
  
GPIO.setmode(GPIO.BCM)
  
# Declaration of the input pin which is connected with the sensor.
# Additional to that the pull up resistor from the input will be activated.
LED_PIN = 24
GPIO.setup(LED_PIN, GPIO.OUT, initial= GPIO.LOW)
  
print "LED-Test [press ctrl+c to end]"
 
# main program loop
try:
        while True:
                print("LED is on for 4 seconds")
                GPIO.output(LED_PIN,GPIO.HIGH) #LED will be switched on
                time.sleep(4) # Waitmode for 4 seconds
                print("LED is off for 2 Sekunden")
                GPIO.output(LED_PIN,GPIO.LOW) #LED will be switched off
                time.sleep(2) # Waitmode for another 2 seconds
  
# Scavenging work after the end of the program
except KeyboardInterrupt:
        GPIO.cleanup()

Connections Raspberry Pi:

Sensor Signal = GPIO24 [Pin 18]
Sensor [N.C] =    
Sensor GND = GND [Pin 6]

Example program download

KY-034_7-color-led-flash-module_RPi

To start, enter the command:

1
sudo python KY-034_7-color-led-flash-module_RPi.py

วิธีการชำระเงิน

ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB

กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ

 

ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ

https://www.arduitronics.com/informpayment

 

บมจ. ธนาคารกสิกรไทย สาขาเซ็นทรัล แจ้งวัฒนะ ออมทรัพย์
ธนาคารไทยพาณิชย์ จำกัด (มหาชน) สาขาเซ็นทรัล แจ้งวัฒนะ ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาเซนทรัล พระราม 3 สะสมทรัพย์
ธนาคารทหารไทยธนชาต จำกัด (มหาชน) สาขาเซนทรัล พระราม 3 กระแสรายวัน

เพิ่มเพื่อน

@rfm0967y

ติดต่อสอบถาม

เพิ่มเพื่อน

CATEGORY

Sensors / Modules [1695]

CONTACT US

มือถือ 0887823467 แฟกซ์ 02-0153201

Join เป็นสมาชิกร้านค้า

ร้านArduitronics
ร้านArduitronics
/www.arduitronics.com/
Join เป็นสมาชิกร้าน
2118
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ

STATISTICS

หน้าที่เข้าชม15,375,394 ครั้ง
ผู้ชมทั้งหมด5,878,472 ครั้ง
เปิดร้าน21 พ.ค. 2556
ร้านค้าอัพเดท5 ก.ย. 2568

MEMBER

พูดคุย-สอบถาม