Oferta!

KY-011 2-color LED module

R$ 32,81

Em estoque

wws Edmar / Dúvidas sobre o produto? Precisa de ajuda? Fale comigo.
SKU: 10290 - H7 Categoria:

Descrição

3mm red and green LED (common cathode) moduleColor: Green + RedDiameter: 3mmCase Color: NonePackage Type: DiffusionVoltage (V) :2.0-2 .5Using a current (MA): 10Viewing angle: 150Wavelength (NM): 571 +644Luminous intensity (MCD) :20-40; 40-80Stent type: long-leggedOur products are widely used in electronic dictionary, PDA, MP3, headphones, digital cameras, VCD, DVD, car audio, communications, computers, Chargers, power amplifier, instrumentation, gifts, electronic toys and mobile phones, and many other fields.SchematicArduino pin 10 –> resistor 330 Ohm –> Signal pin of the moduleArduino pin 11 –> resistor 330 Ohm –> Middel pin of the moduleArduino GND –> module -/GND————————————————Example Code————————————————// Arduino test code for KY011int redpin = 11; // select the pin for the red LEDint greenpin = 10; // select the pin for the green LEDint val;void setup () { pinMode (redpin, OUTPUT); pinMode (greenpin, OUTPUT);}void loop () { for (val = 255; val> 0; val–) { analogWrite (greenpin, val); analogWrite (redpin, 255-val); delay (15); } for (val = 0; val <255; val++) { analogWrite (greenpin, val); analogWrite (redpin, 255-val); delay (15); } }

Informação adicional

Peso 0.0000 kg
Dimensões 0.0000 × 0.0000 cm