Running LED Kit
Original price was: Rp25.000.Rp24.000Current price is: Rp24.000.
running led 20 buah lampu tidak di solder komplit kit strobo sirine
40 in stock
Description
Kit running LED ini dapat digunakan sebagai kit belajar dan hobby elektronika, lampu LED akan berputar rotasi dengan kecepatan bisa diatur.
Arah rotasi hanya 1 arah yaitu searah jarum jam Clockwise (CW)
Kit ini belum disolder jadi diperlukan waktu dan alat menyolder sebelum dapat menggunakannya.
Isi kit
1 x PCB
20 x lampu LED merah 5mm
1 x elko 47uF
1 x elko 22uF
1 x R. 180 ohm
1 x dioda
1 x potensiometer 20K ohm
1 x IC 555
1 x IC 4017
Belum termasuk batere dan catu daya, menggunakan tegangan 6Volt DC – 12 Volt DC (maksimal)
Contoh hasil yang didapat setelah disolder :
Aplikasi lanjutan : Penggunaan running led bersama dengan Arduino UNO R3 :
View this post on Instagram
Untuk menggunakan Arduino sebagai ganti dari IC Logic 4017 dan IC 555, kita hubungkan dari soket IC yang terdapat pada PCB, menggunakan kabel jumper male to male ke Arduino UNO.
Script Arduino :
/*
A sketch that will cycle the brightness of an LED using PWM
*/
int CTR = 1;
int brightness = 0; // Integer to hold the brightness value
const byte PWMpin1 = 2; // DIGITAL PWM-enabled pin
const byte PWMpin2 = 3; // DIGITAL PWM-enabled pin
const byte PWMpin3 = 4; // DIGITAL PWM-enabled pin
const byte PWMpin4 = 5; // DIGITAL PWM-enabled pin
const byte PWMpin5 = 6; // DIGITAL PWM-enabled pin
const byte PWMpin6 = 7; // DIGITAL PWM-enabled pin
const byte PWMpin7 = 8; // DIGITAL PWM-enabled pin
const byte PWMpin8 = 9; // DIGITAL PWM-enabled pin
const byte PWMpin9 = 10; // DIGITAL PWM-enabled pin
const byte PWMpin10 = 11; // DIGITAL PWM-enabled pin
void setup() {
pinMode(PWMpin1, OUTPUT);
pinMode(PWMpin2, OUTPUT);
pinMode(PWMpin3, OUTPUT);
pinMode(PWMpin4, OUTPUT);
pinMode(PWMpin5, OUTPUT);
pinMode(PWMpin6, OUTPUT);
pinMode(PWMpin7, OUTPUT);
pinMode(PWMpin8, OUTPUT);
pinMode(PWMpin9, OUTPUT);
pinMode(PWMpin10, OUTPUT);
}
void loop() {
Turn_them_all_off();
switch (CTR) {
case 1 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin1, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin1, brightness); delay(30);
}
CTR++; break;
case 2 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin2, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin2, brightness); delay(30);
}
CTR++; break;
case 3 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin3, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin3, brightness); delay(30);
}
CTR++; break;
case 4 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin4, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin4, brightness); delay(30);
}
CTR++; break;
case 5 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin5, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin5, brightness); delay(30);
}
CTR++; break;
case 6 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin6, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin6, brightness); delay(30);
}
CTR++; break;
case 7 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin7, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin7, brightness); delay(30);
}
CTR++; break;
case 8 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin8, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin8, brightness); delay(30);
}
CTR++; break;
case 9 :
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin9, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin9, brightness); delay(30);
}
CTR++; break;
case 10:
for (brightness = 0; brightness <= 255; brightness += 5) {
analogWrite(PWMpin10, brightness); delay(30);
}
for (brightness = 255; brightness >= 0; brightness -= 5) {
analogWrite(PWMpin10, brightness); delay(30);
}
CTR=1; break; // Reset the counter to start from the begining
};
}
void Turn_them_all_off(){
digitalWrite(PWMpin1, LOW);
digitalWrite(PWMpin2, LOW);
digitalWrite(PWMpin3, LOW);
digitalWrite(PWMpin4, LOW);
digitalWrite(PWMpin5, LOW);
digitalWrite(PWMpin6, LOW);
digitalWrite(PWMpin7, LOW);
digitalWrite(PWMpin8, LOW);
digitalWrite(PWMpin9, LOW);
digitalWrite(PWMpin10, LOW);
}
Additional information
Weight | 0,1 kg |
---|---|
Skill Programming | No Need |
Skill Elektrikal | Level 2 |
Skill Robotika | Level 1 |
Skill DIY - Do it yourself | Level 1 |
Skill Soldering | Level 1 |