Volver a Shield

Shield Multifuncion para Arduino Uno R3

S/30.00

Shield Multifunción para aprendizaje con arduino uno R3

Características:

  • Display 7 segmentos de 4 digitos.
  • 3 Botones
  • 1 Buzzer
  • Soporte para 4 servos
  • Soporte para sensor DS18B20, LM35, IR receptor
  • Soporte para bluetooth hc-05
  • 4 led
  • 1 potenciometro
  • Boton de reset

Agotado

SKU: SHMU0004 Categoría: Etiquetas: , , ,

Descripción

El shield Multifuncion compatible con Arduino Uno y Leonardo y tiene una amplia gama de características que lo hace ideal para principiantes que sólo quieren experimentar y aprender, o simplemente como un escudo de propósito general para usos más avanzados. Además de la amplia gama de componentes instalados en el blindaje, también hay una gama de cabezales de expansión para la conexión conveniente de módulos y componentes externos. El escudo incluye cabeceras de tipo R3 para una fácil conexión a su placa Arduino. Si usted tiene un diseño pre Arduino R3, por favor compruebe la compatibilidad antes de la compra.

Características:

  • 4 digit 7-segment LED display module driven by two serial 74HC595’s
  • 4 x surface mount LED’s in a parallel configuration
  • 10K adjustable precision potentiometer
  • 3 x Independent push buttons
  • Piezo buzzer
  • DS18B20 temperature sensor interface
  • LM35 temperature sensor interface
  • Infrared receiver interface
  • Serial interface header for convenient connection to serial modules such as Bluetooth, wireless interface, voice module, a voice
  • recognition module etc
  • Example sketches and schematic available on our support forum here.

Código ejemplo Read Pot and Display 7Seg:

/* Define shift register pins used for seven segment display */
#define LATCH_DIO 4
#define CLK_DIO 7
#define DATA_DIO 8

#define Pot1 0

/* Segment byte maps for numbers 0 to 9 */
const byte SEGMENT_MAP[] = {0xC0, 0xF9, 0xA4, 0xB0, 0x99, 0x92, 0x82, 0xF8, 0X80, 0X90};
/* Byte maps to select digit 1 to 4 */
const byte SEGMENT_SELECT[] = {0xF1, 0xF2, 0xF4, 0xF8};

void setup () {
  Serial.begin(9600);
  /* Set DIO pins to outputs */
  pinMode(LATCH_DIO, OUTPUT);
  pinMode(CLK_DIO, OUTPUT);
  pinMode(DATA_DIO, OUTPUT);
}

/* Main program */
void loop() {
  int PotValue;
  PotValue = analogRead(Pot1);
  Serial.print(“Potentiometer: “);
  Serial.println(PotValue);
  /* Update the display with the current counter value */
  WriteNumberToSegment(0 , PotValue / 1000);
  WriteNumberToSegment(1 , (PotValue / 100) % 10);
  WriteNumberToSegment(2 , (PotValue / 10) % 10);
  WriteNumberToSegment(3 , PotValue % 10);
}

/* Write a decimal number between 0 and 9 to one of the 4 digits of the display */
void WriteNumberToSegment(byte Segment, byte Value) {
  digitalWrite(LATCH_DIO, LOW);
  shiftOut(DATA_DIO, CLK_DIO, MSBFIRST, SEGMENT_MAP[Value]);
  shiftOut(DATA_DIO, CLK_DIO, MSBFIRST, SEGMENT_SELECT[Segment] );
  digitalWrite(LATCH_DIO, HIGH);
}

 

Información adicional

Peso 0.1 kg
Dimensiones 7.5 × 5.3 × 2 cm

Valoraciones

No hay valoraciones aún.

Sé el primero en valorar “Shield Multifuncion para Arduino Uno R3”