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 Shield Clavier LCD 1602 pour Arduino UNO - Bastelgarage Boutique en ligne d'électronique

Shield Clavier LCD 1602 pour Arduino UNO

Ce clavier Shield est parfait pour les premiers essais de pilotage d'un affichage avec un Arduino. Les 5 boutons sont également pratiques pour réaliser facilement une interface utilisateur. Pour contrôler l'écran, vous pouvez trouver la bibliothèque «LiquidCrystal» dans le gestionnaire de bibliothèques. Vous pouvez installer cette bibliothèque pour contrôler l'affichage. Lors de l'initialisation de la bibliothèque LiquidCrystal, vous devez utiliser la commande suivante pour que l'affectation des broches soit correcte:</span>
</p>

LiquidCrystal lcd(lcd (8,9,4,5,6,7);</p>

Les 5 boutons de contrôle sont tous connectés à l'entrée analogique A0, ce qui permet d'économiser beaucoup d'entrées que vous pouvez utiliser pour votre projet. Lorsqu'un bouton est pressé, une tension peut également être mesurée sur l'entrée A0, qui est différente pour chaque bouton. ;Si vous avez des questions ou des problèmes avec le contrôle, ou des suggestions pour la description du produit, vous pouvez simplement nous envoyer un e-mail ou utiliser la fonction d'évaluation. Nous serons heureux de vous aider.</span></p>


</div>

Les broches de connexion suivantes sont occupées par la Shield:</h4>

</p>

  • A0 Bouton (select, up, right, down et left)</span>
    </li>
  • D4 DB4</span>
    </li>
  • D5 DB5</span>
    </li>
  • D6 DB6</span>
    </li>
  • D7 DB7</span>
    </li>
  • D8 RS ;</span>
    </li>
  • D9 Enable</span>
    </li>
  • D10 Rétro-éclairage</span>
    </li></ul>

    </p>


    Exemple de programme:</h4>
    // inclure le code de la bibliothèque :
    #include <;LiquidCrystal.h>;
    // initialiser la bibliothèque avec les numéros des broches de l'interface
    LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
    void setup() {
      Serial.begin(115200);
      // configurer le nombre de colonnes et de lignes de l'écran :
      lcd.begin(16, 2);
      // Imprimer un message sur l'affichage 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   ");
      }
    }</span>
    </pre>


    </h4>

    Détails techniques:</h4>

    </p>

    • Modèle : 1602 Character LCD</span>
      </li>
    • Tension d'opération: 5V</span>
      </li>
    • Résolution des caractères : 5x8 points</span>
      </li>
    • Caractères : 2 lignes x 16 caractères</span>
      </li>
    • Rétro-éclairage : caractères blancs sur fond bleu</span>
      </li>
    • 5x touches de contrôle, 1x touche de réinitialisation</span>
      </li>
    • 1x Potentiomètre pour le contraste de l'écran</span>
      </li>
    • Taille : 80 x 57.5mm</span>
      </li>
    • Poids : 53g</span>
      </li></ul>

      </p>


      Contenu de l'emballage:</h4>

      1x Keypad Shield ;</p>


Rédiger une critique

Remarque : le HTML n'est pas traduit !
    Mauvais           Bon

Shield Clavier LCD 1602 pour Arduino UNO

  • Marque : purecrea
  • Code produit : 420098
  • Disponibilité : En stock
  • CHF11.90

  • Hors taxe : CHF11.01

Balises : Arduino, Shield, Affichage, LCD, Module, Analogique, Bouton, Bouton, Caractère, Affichage LCD, Bleu, Affichage, éclairé, Rétro-éclairage, Rétro-éclairage, 1602, 8x16,