Categorías
Ref. AKC-108.KS0310
Modulo experimento semaforo de trafico
Stock: 28 Ref. AKC-108.KS0310
Precio (IVA inc.) 3,51 €


Envío Rápido
en 14h o 24/48h

Pago Seguro
Tarjeta, Bizum...

Garantía
Calidad asegurada

Especialistas
Consulta tus dudas
Especificaciones
IntroducciónCuando aprenda el microcontrolador, normalmente puede usar tres LED, a saber, rojo, verde y amarillo para simular el parpadeo del semáforo a través de una conexión externa. Así que diseñamos especialmente este módulo que es muy conveniente para el cableado, y en el módulo puede ver el LED rojo, amarillo y verde. Este módulo es totalmente compatible con el microcontrolador Arduino y el sistema raspberry pi.
Especificación
Voltaje de trabajo: 3.3-5v
Tipo de interfaz: digital
SAMPLE CODE
int redled =5; // initialize digital pin 5.
int yellowled =4; // initialize digital pin 4.
int greenled =3; // initialize digital pin 3.
void setup()
{
pinMode(redled, OUTPUT);// set the pin with red LED as “output”
pinMode(yellowled, OUTPUT); // set the pin with yellow LED as “output”
pinMode(greenled, OUTPUT); // set the pin with green LED as “output”
}
void loop()
{
digitalWrite(greenled, HIGH);//// turn on green LED
delay(5000);// wait 5 seconds
digitalWrite(greenled, LOW); // turn off green LED
for(int i=0;i {
delay(500);// wait 0.5 seconds
digitalWrite(yellowled, HIGH);// turn on yellow LED
delay(500);// wait 0.5 seconds
digitalWrite(yellowled, LOW);// turn off yellow LED
}
delay(500);// wait 0.5 seconds
digitalWrite(redled, HIGH);// turn on red LED
delay(5000);// wait 5 seconds
digitalWrite(redled, LOW);// turn off red LED
}
OTROS PRODUCTOS RELACIONADOS
- Ref.: AKC-108.CP0004/ROMódulo matriz de puntos 8x8 de 4 modulos color rojo max7219Stock: 0Precio (IVA inc.) 9,874 €
- Ref.: AKC-105.LED07X2CC/ROLed display 2x7 seg. catodo comun 0.56" 10 pin color rojoStock: 929Precio (IVA inc.) 0,460 €
Unidades ≥ 20 ≥ 50 ≥ 100 ≥ 200 DescuentoDescuentoprecio -3%-0,010,45 -5%-0,020,44 -10%-0,050,41 -15%-0,070,39 - Ref.: AKC-105.LED07X4ACC/ROLed display 4x7 seg. tipo reloj anodo comun 0.56" 14pin color rojoStock: 71Precio (IVA inc.) 1,573 €
- Ref.: AKC-108.MD0067Modulo lcd1602 monitor 1602 5vdc pantalla azul y cod. blanco para fun/arduinoStock: 15Precio (IVA inc.) 2,904 €
Unidades ≥ 15 ≥ 30 ≥ 50 ≥ 70 DescuentoDescuentoprecio -3%-0,092,82 -5%-0,152,76 -7%-0,202,70 -10%-0,292,61 - Ref.: AKC-108.MD9158/AMAmperimetro led amarillo de panel 0-100amp.Stock: 47Precio (IVA inc.) 10,709 €
- Ref.: AKC-108.MD9003/AZULModulo lcd 2004 5vdc con driver i2c fondo azul (20x4 caracteres)Stock: 11Precio (IVA inc.) 9,329 €
Unidades ≥ 3 ≥ 5 ≥ 10 DescuentoDescuentoprecio -3%-0,289,05 -5%-0,478,86 -10%-0,938,40 - Ref.: AKC-108.MD9113Módulo de semáforo led 10mm 5v para arduino y raspberryStock: 29Precio (IVA inc.) 0,750 €
Unidades ≥ 20 ≥ 40 ≥ 60 ≥ 100 DescuentoDescuentoprecio -3%-0,020,73 -5%-0,040,71 -7%-0,050,70 -10%-0,080,68 - Ref.: AKC-108.MD9137/2Rc4004a pantalla lcd fstn positiva 40x4 gris 18pinStock: 4Precio (IVA inc.) 33,239 €
- Ref.: AKC-108.MD0687Svp916 protector de sobretensión ajustableStock: 9Precio (IVA inc.) 32,561 €
Unidades ≥ 2 ≥ 3 ≥ 4 DescuentoDescuentoprecio -3%-0,9831,58 -5%-1,6330,93 -7%-2,2830,28












