led – Sonrobots https://sonrobots.com Robots para ti Thu, 18 Apr 2024 19:23:32 +0000 es hourly 1 https://wordpress.org/?v=6.5.3 https://sonrobots.com/wp-content/uploads/2021/01/cropped-DSC_0288-1-32x32.jpg led – Sonrobots https://sonrobots.com 32 32 39789093 Probador 6 leds de código arduino https://sonrobots.com/producto/probador-6-leds-de-codigo-arduino/ https://sonrobots.com/producto/probador-6-leds-de-codigo-arduino/#respond Sat, 26 Nov 2022 20:21:50 +0000 https://sonrobots.com/?post_type=product&p=6201 Este probador de código sirve para comprobar que estamos enviando correctamente las salidas que deseamos.

 

Está diseñado para conectar la tierra del arduino y los pines que le siguen con leds ya integrados, así cuando en el código mandemos un HIGH en el arduino veremos que se enciende el led, esto sin necesidad de conectar motores u otros actuadores.

 

 

El siguiente código sirve para jugar y se pueden conectar dos de estos probadores:

int D1 = 9;
int D2 = 8;
int D3 = 7;
int D4 = 6;
int D5 = 5;
int D6 = 4;

void setup() {
// initialize the digital pin as an output.
pinMode(D1, OUTPUT);
pinMode(D2, OUTPUT);
pinMode(D3, OUTPUT);
pinMode(D4, OUTPUT);
pinMode(D5, OUTPUT);
pinMode(D6, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {

digitalWrite(D1, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a 200 Millisecond
digitalWrite(D1, LOW); // turn the LED off by making the voltage LOW

digitalWrite(D2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a Millisecond
digitalWrite(D2, LOW); // turn the LED off by making the voltage LOW

digitalWrite(D3, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a Millisecond
digitalWrite(D3, LOW); // turn the LED off by making the voltage LOW

digitalWrite(D4, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a Millisecond
digitalWrite(D4, LOW); // turn the LED off by making the voltage LOW

digitalWrite(D5, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a Millisecond
digitalWrite(D5, LOW); // turn the LED off by making the voltage LOW

digitalWrite(D6, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a Millisecond
digitalWrite(D6, LOW); // turn the LED off by making the voltage LOW

digitalWrite(D7, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a Millisecond
digitalWrite(D7, LOW); // turn the LED off by making the voltage LOW

digitalWrite(D8, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a Millisecond
digitalWrite(D8, LOW); // turn the LED off by making the voltage LOW

}

]]>
https://sonrobots.com/producto/probador-6-leds-de-codigo-arduino/feed/ 0 6201
Matriz Led 8×8 Max7219 https://sonrobots.com/producto/matriz-led-8x8-max7219/ https://sonrobots.com/producto/matriz-led-8x8-max7219/#respond Fri, 18 Nov 2022 00:23:55 +0000 https://sonrobots.com/?post_type=product&p=6161 El MAX7219 es un controlador de displays que puede manejar 8 segmentos en hasta 8 digitos o bien 64 leds individuales, esto lo hace ideal para manejar una matriz de led de 8 x 8. En este módulo el MAX7219 viene conectado a una matrix de cátodo comun, por lo que podemos controlar los 64 leds con solamente 3 lineas de un microcontrolador. Este tipo de módulos son de gran utilidad para experimentar con matrices de led, pues simplifican en gran medida las conexiones que hay que realizar para poder controlar el arreglo de leds.

El módulo MAX7219 con matriz de led se entrega listo para funcionar, puede usarse simplemente conectandolo a un arduino, raspberry pi o cualquier otro dispositivo que pueda comunicarse a través de una interfaz SPI o pueda amular su funcionamiento. En la plataforma arduino ya existen librerías para realizar la interfaz con el MAX7219 de forma muy sencilla y mostrar cualquier patrón en la matriz de leds. Incluso pueden conectarse varios módulos para formar un anuncio de leds.

Característica del MAX7219 Módulo de Matrix de Led 8×8

MAX7219 controlador de displays con 8 segmentos y 8 digitos

Controlan hasta 64 leds individuales

Intensidad de iluminación de leds se puede controlar mediante software a través de la interfaz serial

Interfaz serial similar a SPI de 10 Mhz

Se controla solamente con 3 señales: DIN, CS, SCK

]]>
https://sonrobots.com/producto/matriz-led-8x8-max7219/feed/ 0 6161
Led RGB https://sonrobots.com/producto/led-rgb-red-green-blue/ https://sonrobots.com/producto/led-rgb-red-green-blue/#respond Sat, 02 Jan 2021 21:16:34 +0000 https://sonrobots.com/producto/led-rgb-red-green-blue/ LED ultra brillante o LED camaleón de 5 milímetros de colores.

RGB significa Red Green Blue

Ideal para indicar diferentes funciones en tus equipos o proyectos electrónicos.

Su conexión es cátodo común, que es la tierra o negativo común y positivos para activar cada color, es el mas fácil de usar con arduino.

También tenemos de ánodo común, que es el positivo común y activar los colores con negativos, es un poco mas difícil de usar con arduino.

  • Encapsulado transparente
  • Diámetro: 5 mm
  • Corriente de consumo: 20 mA
  • Ángulo de apertura del haz luminoso: 18°
  • Potencia de disipación: 100 mW
  • Rango de temperatura de operación: -40°C a 65°C
  • Peso: 1 gr

INTENSIDAD LUMINOSA

  • Rojo: 1000 mcd
  • Azul: 600 mcd
  • Verde: 2800 mcd

LONGITUD DE ONDA

  • Rojo: 620 nm
  • Azul: 465 nm
  • Verde: 515 nm

VOLTAJE DE OPERACIÓN

  • Rojo: 1.8 Vcc
  • Azul: 2.8 Vcc
  • Verde: 2.8 Vcc

RETO 10: LED RGB, JUGANDO CON LOS COLORES PRIMARIOS DE LA LUZ | EDUCAR para el CAMBIO

]]>
https://sonrobots.com/producto/led-rgb-red-green-blue/feed/ 0 1929