Arduino TFT LCD scherm

(2 klantbeoordelingen)

23,95

Niet op voorraad

Voorraad notificatie email ontvangen?

SKU: A000096-410 Categorieën: , , Tags: , , Verzenden:

Beschrijving

Arduino TFT LCD scherm is een 1,77 inch TFT backlight scherm met een SPI interface. SD kleuren tot 18-bits per pixel en een resolutie van 160×128. Aan de achterzijde is micro SD card lezer waar je de afbeeldingen op kunt slaan om te tonen op het scherm. De header van het shield zijn zo gemaakt dat ze zowel op een Esplora of Robot passen, maar ook elke AVR gebaseerde Arduino zoals de Uno, Leonardo, Mega en Due.

Arduino TFT LCD scherm specificaties:
– 1,77 inch groot
– SPI interface
– 160×128 resolutie
– Werkt op 5 VDC
– Micro-SD slot via SD card library
– Backlight is te dimmen via PWM.

Meer info Arduino TFT LCD scherm

Arduino code voorbeeld:

/*
  Arduino TFT text example
  
  This example demonstrates how to draw text on the 
  TFT with an Arduino. The Arduino reads the value 
  of an analog sensor attached to pin A0, and writes 
  the value to the LCD screen, updating every
  quarter second.
  
  This example code is in the public domain

  Created 15 April 2013 by Scott Fitzgerald
 
  http://arduino.cc/en/Tutorial/TFTDisplayText
 
 */

#include <TFT.h>  // Arduino LCD library
#include <SPI.h>

// pin definition for the Uno
#define cs   10
#define dc   9
#define rst  8  

// pin definition for the Leonardo
// #define cs   7
// #define dc   0
// #define rst  1 

// create an instance of the library
TFT TFTscreen = TFT(cs, dc, rst);

// char array to print to the screen
char sensorPrintout[4];

void setup() {
  
  // Put this line at the beginning of every sketch that uses the GLCD:
  TFTscreen.begin();

  // clear the screen with a black background
  TFTscreen.background(0, 0, 0);
  
  // write the static text to the screen
  // set the font color to white
  TFTscreen.stroke(255,255,255);
  // set the font size
  TFTscreen.setTextSize(2);
  // write the text to the top left corner of the screen
  TFTscreen.text("Sensor Value :\n ",0,0);
  // ste the font size very large for the loop
  TFTscreen.setTextSize(5);
}

void loop() {

  // Read the value of the sensor on A0
  String sensorVal = String(analogRead(A0));
 
  // convert the reading to a char array
  sensorVal.toCharArray(sensorPrintout, 4);

  // set the font color
  TFTscreen.stroke(255,255,255);
  // print the sensor value
  TFTscreen.text(sensorPrintout, 0, 20);
  // wait for a moment
  delay(250);
  // erase the text you just wrote
  TFTscreen.stroke(0,0,0);
  TFTscreen.text(sensorPrintout, 0, 20);
}

2 beoordelingen voor Arduino TFT LCD scherm

  1. apm.de.haas (geverifieerde eigenaar)

    werkt goed.
    niet als shield, past niet.
    maar met breadboardje perfect.

  2. bornwird (geverifieerde eigenaar)

    Even aansluiten en een sketch uploaden, en er is beeld.
    Scherp beeld voor een TFT LCD.

Enkel ingelogde klanten die dit product gekocht hebben, mogen een beoordeling schrijven.

Verzending binnen Nederland

Dit product word bezorgd via PostNL briefpost in een bubbel envelop.
- € 3.45 verzendkosten voor orders onder de € 25,-.
- € 2.95 verzendkosten voor orders tussen € 25 - 45,-.
- Orders boven de € 45,- worden gratis verstuurd per PostNL briefpost.

  • Op werkdagen voor 16:30 uur besteld, zelfde dag verzonden!
    Klik hier voor de kosten buiten Nederland.
  • Product vraag?

      Uw naam (verplicht)

      Uw email (verplicht)

      Uw vraag