Categorías

  • 10 SEGMENTOS BARRA LED ROJO 20PINS
  • 10 SEGMENTOS BARRA LED ROJO 20PINS
Ref. AKC-105.LED10BAR/RO

10 segmentos barra led rojo 20pins

Stock: 17  
Ref. AKC-105.LED10BAR/RO
Precio (IVA inc.) 1,17 €
Unidades ≥ 10 ≥ 20 ≥ 30 ≥ 40
DescuentoDescuentoprecio-3%-0,041,14-5%-0,061,12-7%-0,081,09-10%-0,121,06
Si tienes dudas envíanos un WhatsApp
Métodos de pago aceptados

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

Pago Seguro
Tarjeta, Bizum...

Garantía
Calidad asegurada

Especialistas
Consulta tus dudas

Especificaciones

LED Bar Graph
Number of pins: 20
Number of LEDs: 10
Colors of bars: 10 Red
Every 2 pins controls one bar of the bar graph
Works with TS-459 Bar Graph LED Driver chip

sAMPLE CODE PARA ARDUINO
/*
10-bar LED array

Connect the LED array to pins 11-2 and through a 220R resistor to ground on the other side.
01/14/2010
*/

void setup ()
{
for (int loop = 2; loop {
pinMode (loop, OUTPUT); // Set the pin IO mode
digitalWrite (loop, LOW);
}
}

void loop ()
{
// The loop has to start at 2 because 1 isn't an IO pin.
// Go from right to left
for (int loop = 2; loop {
// Switch the LED on for 10 milliseconds
digitalWrite (loop, HIGH);
delay (10);
digitalWrite (loop, LOW);
delay (20);
}

// And from left to right again
for (int loop = 11; loop > 1; loop--)
{
digitalWrite (loop, HIGH);
delay (10);
digitalWrite (loop, LOW);
delay (20);
}
}

And the second one changes the loop to be:

void loop ()
{
// Start on LED 6 and go up to 10 (remember, shifted by 1)
for (int loop = 7; loop {
// Light the LED on the LHS of middle and the matching one on the RHS
// This will light LEDs 6-5, 7-4, 8-3, 9-2, 10-1 (shifted by 1)
digitalWrite (loop, HIGH);
digitalWrite (13 - loop, HIGH);
delay (10);
digitalWrite (loop, LOW);
digitalWrite (13 - loop, LOW);
delay (20);
}

// And back down to the middle again
for (int loop = 11; loop > 6; loop--)
{
digitalWrite (loop, HIGH);
digitalWrite (13 - loop, HIGH);
delay (10);
digitalWrite (loop, LOW);
digitalWrite (13 - loop, LOW);
delay (20);
}
}

Datos técnicos

  • Número de LEDs: 10
  • Número de pines: 20
  • Color de LEDs: Rojo
  • Compatible con chip driver: TS-459
  • Código ejemplo: Incluido para Arduino

Preguntas frecuentes

¿Cuántos LEDs tiene la barra LED de 10 segmentos rojo?

Tiene 10 LEDs rojos distribuidos en 10 segmentos.

¿Con qué tipo de chip funciona esta barra LED?

Funciona con el chip driver TS-459 Bar Graph LED.

¿Es compatible con Arduino para proyectos electrónicos?

Sí, incluye código de ejemplo para Arduino.

¿Cuántos pines tiene la barra LED y cómo se controlan?

Tiene 20 pines, cada 2 pines controlan un segmento LED.

¿De qué color son los LEDs de esta barra gráfica?

Los LEDs son de color rojo.

OTROS PRODUCTOS RELACIONADOS