Unknown: Creation of dynamic property Request::$request is deprecated in /home/bastelga/public_html/74/system/library/request.php on line 26Unknown: Creation of dynamic property mysqli::$report_mode is deprecated in /home/bastelga/public_html/74/system/library/db/mysqli.php on line 15Unknown: Creation of dynamic property Session\DB::$db is deprecated in /home/bastelga/public_html/74/system/library/session/db.php on line 8Unknown: Creation of dynamic property Proxy::$getTranslations is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: mysqli::real_escape_string(): Passing null to parameter #1 ($string) of type string is deprecated in /home/bastelga/public_html/74/system/library/db/mysqli.php on line 53Unknown: Creation of dynamic property Proxy::$getLanguage is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$getLanguages is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Cart\Customer::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/customer.php on line 14Unknown: Creation of dynamic property Cart\Customer::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/customer.php on line 15Unknown: Creation of dynamic property Cart\Customer::$request is deprecated in /home/bastelga/public_html/74/system/library/cart/customer.php on line 16Unknown: Creation of dynamic property Cart\Customer::$session is deprecated in /home/bastelga/public_html/74/system/library/cart/customer.php on line 17Unknown: Creation of dynamic property Proxy::$getCurrencyByCode is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$getCurrencies is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Cart\Currency::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/currency.php on line 7Unknown: Creation of dynamic property Cart\Currency::$language is deprecated in /home/bastelga/public_html/74/system/library/cart/currency.php on line 8Unknown: Creation of dynamic property Cart\Tax::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/tax.php on line 7Unknown: Creation of dynamic property Cart\Tax::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/tax.php on line 8Unknown: Creation of dynamic property Cart\Weight::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/weight.php on line 7Unknown: Creation of dynamic property Cart\Weight::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/weight.php on line 8Unknown: Creation of dynamic property Cart\Length::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/length.php on line 7Unknown: Creation of dynamic property Cart\Length::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/length.php on line 8Unknown: Creation of dynamic property Cart\Cart::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 7Unknown: Creation of dynamic property Cart\Cart::$customer is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 8Unknown: Creation of dynamic property Cart\Cart::$session is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 9Unknown: Creation of dynamic property Cart\Cart::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 10Unknown: Creation of dynamic property Cart\Cart::$tax is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 11Unknown: Creation of dynamic property Cart\Cart::$weight is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 12 LCD 1602 Keypad Shield für Arduino UNO - Bastelgarage Elektronik Online Shop

LCD 1602 Keypad Shield für Arduino UNO

Dieses Keypad Shield eignet sich perfekt für die ersten Versuche, um ein Display mit einem Arduino anzusteuern. Praktisch sind auch die 5 Taster mit denen du auf einfacher Weise eine Menüführung realisieren kannst. Für die Ansteuerung des Displays findest du unter dem Library Manager «LiquidCrystal». Diese Library kannst du iInstallieren um das Display anzusteuern. Bei der Initialisierung der LiquidCrystal musst du folgenden Befehl nutzen, damit die Pin Belegungen stimmen:

LiquidCrystal lcd(lcd (8,9,4,5,6,7);

Die 5 Steuertasten gehen alle auf den Analog Eingang A0 damit werden erheblich Eingänge gespart, die du für dein Projekt nutzen kannst. Wird eine der Tasten gedrückt, kann auch auf dem A0 Eingang eine Spannung gemessen werden, die bei jeder Taste anders ist. Falls du Fragen oder Probleme beim Ansteuern hast oder Anregungen zu der Produktebeschreibung, schreib uns einfach eine Mail oder nutze die Bewertungsfunktion. Wir helfen dir gerne weiter.


Folgende Anschluss Pins werden vom Shield belegt:

  • A0 Button (select, up, right, down und left)
  • D4 DB4
  • D5 DB5
  • D6 DB6
  • D7 DB7
  • D8 RS 
  • D9 Enable
  • D10 Hintergrund Beleuchtung


Programm Beispiel:

// include the library code:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
void setup() {
  Serial.begin(115200);
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.setCursor(0,0);
  lcd.print("LCD Key Shield");
  Serial.println("LCD Key Shield start");
  lcd.setCursor(0,1);
  lcd.print("Press Key:");
}
void loop() {
  int x;
  x = analogRead (0);
  lcd.setCursor(10,1);
  Serial.print("x=");
  Serial.println(x);
  if (x < 60) {
    lcd.print("Right   ");
  }
  else if (x < 200) {
    lcd.print("Up       ");
  }
  else if (x < 400){
    lcd.print ("Down    ");
  }
  else if (x < 600){
    lcd.print ("Left    ");
  }
  else if (x < 800){
    lcd.print ("Select   ");
  }
}


Technische Details:

  • Modell: 1602 Character LCD
  • Betriebsspannung: 5V
  • Auflösung Zeichen: 5x8 Punkte
  • Zeichen: 2 Zeilen x 16 Zeichen
  • Hintergrundbeleuchtung: weisse Zeichen auf blauem Hintergrund
  • 5x Steuertasten, 1x Resettaste
  • 1x Potentiometer für Displaykontrast
  • Größe: 80 x 57.5mm
  • Gewicht: 53g


Lieferumfang:

1x Keypad Shield 


+ Bewertung

Hinweis: HTML ist nicht verfügbar!
    Weniger Gut           Gut

LCD 1602 Keypad Shield für Arduino UNO

  • Hersteller purecrea
  • Artikelnr. 420098
  • Verfügbarkeit Lagernd
  • CHF11,90

  • Netto CHF11,01

Schnellsuche Arduino, Shield, Display, LCD, Modul, Analog, Taster, button, Character, LCD, Display, Blau, Anzeige, beleuchtet, Blacklight, Hintergrundbeleuchtung, 1602, 8x16,