31% OFF

en 24 meses de

IVA incluido

Envío a todo el país

Conoce los tiempos y las formas de envío.

Stock disponible

Envío gratis comprando 3 o más unidades

KLYCKIT

+100 Productos

MercadoLíder Gold

¡Uno de los mejores del sitio!

+5mil

Ventas concretadas

Brinda buena atención

Entrega sus productos a tiempo

Medios de pago

Meses sin Tarjeta

Mercado Crédito

Tarjetas de crédito

¡Paga en hasta 3 cuotas!

Mastercard
American Express
Visa

Tarjetas de débito

Visa Débito
Si Vale
Si Vale
Tengo
Edenred
Mastercard Débito
Sodexo Restaurant

Efectivo

PayCash
OXXO

Características del producto

Características principales

Marca
KLYCKIT
Modelo
Display 2.0" tft lcd controlador R61503 tactil

Otros

Tamaño de la pantalla
1 "
Resolución
0 Mpx
Color de la luz de fondo
Blanco
Cantidad de dígitos
220
Cantidad de líneas
176
Altura total
4 mm
Largo total
6 cm
Ancho total
4.3 cm

Descripción

---------------------- KLYCKIT ------------------------
Ingresa KLYCKIT en búsqueda ML y encuentra todas las OFERTAS

DESCRIPCION DEL PRODUCTO

Los pines de la pantalla TFT tienen una separación de 2,54mm para uso en protoboard.

Compatible con placas ARDUINO
- UNO R3
- Arduino Leonardo
- Micro
- Arduino Mega 2560 R3
- Arduino Nano
- Arduino Ethernet
- Arduino Yun R2
- Arduino Duemilanove
- Arduino Diecimila

Librerías compatibles con el driver R61503 UTFT y ADAFRUIT GFX, ejemplos uncluidos.

ESPECIFICACIONES Y CARACTERÍSTICAS

-Puede usarlo directamente para mostrar caracteres, gráficos e imágenes en formato BMP.
-Compatibilidad: debido a que el nivel lógico es de 3,3 V, es compatible con la placa de 3,3 V, necesita agregar un circuito de conversión de nivel si lo usa para Arduino UNO o MEGA.
-Biblioteca: UTFT, ADAFRUIT GFX
-Controlador IC: R61503
-Tipo de pantalla táctil: Pantalla táctil resistiva XPT2046.
-Lápiz táctil: La longitud es de 9cm;
-Resolución: color 176X220, 16 bits (262,000)
-Tamaño de la pantalla: 2.0 pulgadas
-Voltaje de funcionamiento: 3.3 V;
-Nivel lógico: 3.3 V;
-Corriente de funcionamiento: el máximo es de ma
-El pin LED se puede conectar al circuito de control de retroiluminación externo para controlar el brillo de la retroiluminación. Puedes conectarlo a GND para encender la luz de fondo todo el día.
-Muy adecuado para marco de fotos digital, osciloscopio, generador de funciones, monitor del sistema de detección

//Demo for 2.0" TFT LCD
//Demo Function: put the paper we ship to you at the bottom of the touch screen,
// and touch the screen with the pen or your finger, the monitor
// will print the number you touch.
// Touch screen library with X Y and Z (pressure) readings as well
// as oversampling to avoid 'bouncing'
// This demo code returns raw readings, public domain



#include
#include
#include

// Declare which fonts we will be using
extern uint8_t SmallFont[];
//***********************************************//
// Reconmmend you to add 5V-3.3V level converting circuit.
// The control pins for the LCD can be assigned to any digital or
// analog pins...but we'll use the analog pins as this allows us to
//----------------------------------------|
// -- Arduino UNO / Mega2560 / NANO / etc.
// GND -- GND
// 3V3 -- 3.3V
// CS -- A3
// RS -- A2
// WR -- A1
// RD -- 3.3V
// RST -- RESET
// LED -- GND
// DB0 -- 8
// DB1 -- 9
// DB2 -- 10
// DB3 -- 11
// DB4 -- 4
// DB5 -- 13
// DB6 -- 6
// DB7 -- 7

// These are the pins for the touch pannel!
#define YP A1 // must be an analog pin, use "An" notation!
#define XM A2 // must be an analog pin, use "An" notation!
#define YM 7 // can be a digital pin
#define XP 6 // can be a digital pin
#define TS_MINX 150
#define TS_MINY 150
#define TS_MAXX 850
#define TS_MAXY 880//you can debug to get the value
#define DEBUG_TS_VALUE 1

#define MINPRESSURE 10
#define MAXPRESSURE 1024

#define FRAME_WIDTH 10
#define RECT_WIDTH 100
#define RECT_HEIGHT 80

// Assign human-readable names to some common 16-bit color values:
#define BLACK 0x0000
#define BLUE 0x001F
#define RED 0xF800
#define GREEN 0x07E0
#define CYAN 0x07FF
#define MAGENTA 0xF81F
#define YELLOW 0xFFE0
#define WHITE 0xFFFF
// Remember to change the model parameter to suit your display module!

#define BOXSIZE 40
#define PENRADIUS 3
int oldcolor, currentcolor;
#define MINPRESSURE 10
#define MAXPRESSURE 2000
// For better pressure precision, we need to know the resistance
// between X+ and X- Use any multimeter to read it
// For the one we're using, its 250 ohms across the X plate
TouchScreen ts = TouchScreen(XP, YP, XM, YM, 450);

#define LCD_CS A3 // Chip Select goes to Analog 3
#define LCD_RS A2 // Command/Data goes to Analog 2
#define LCD_WR A1 // LCD Write goes to Analog 1
//#define LCD_RD A0 // LCD Read goes to Analog 0 the library not use read function

UTFT tft(R61503_8,LCD_RS,LCD_WR,LCD_CS);
void setup(void) {
Serial.begin(9600);
tft.InitLCD();
tft.setFont(SmallFont);
tft.fillScr(BLACK);
tft.fillRect(0, 0, BOXSIZE, BOXSIZE, RED);
tft.fillRect(BOXSIZE, 0, BOXSIZE, BOXSIZE, YELLOW);
tft.fillRect(BOXSIZE*2, 0, BOXSIZE, BOXSIZE, GREEN);
tft.fillRect(BOXSIZE*3,0, BOXSIZE, BOXSIZE, CYAN);
// tft.fillRect(BOXSIZE*4, 0, BOXSIZE, BOXSIZE, BLUE);
// tft.fillRect(BOXSIZE*5, 0, BOXSIZE, BOXSIZE, MAGENTA);

//erase button
tft.fillRect(BOXSIZE*4, 0, BOXSIZE, BOXSIZE, WHITE);
tft.setColor(BLACK);
tft.drawLine(BOXSIZE*4, 0,BOXSIZE*4+39,39);
tft.drawLine(BOXSIZE*4, 39,BOXSIZE*4+39,0);

tft.drawRect(0, 0, BOXSIZE, BOXSIZE, WHITE);
currentcolor = RED;
tft.print("TFT 2.0 TACTIL ARDUINO", CENTER, 150);
}
int erase = 0;
void loop(void) {
// a point object holds x y and z coordinates

TSPoint p = ts.getPoint();
pinMode(XM, OUTPUT);
pinMode(YP, OUTPUT);
// pinMode(XP, OUTPUT);
// pinMode(YM, OUTPUT);

// tft.fillRect(0, BOXSIZE, 319, 239-BOXSIZE);
// we have some minimum pressure we consider 'valid'
// pressure of 0 means no pressing!
if (p.z > MINPRESSURE && p.z < MAXPRESSURE) {

#ifdef DEBUG_TS_VALUE
Serial.print("X = "); Serial.print(p.x);
Serial.print("\tY = "); Serial.print(p.y);
Serial.print("\tPressure = "); Serial.println(p.z);
#endif
if (p.y < (TS_MINY-5)) {
Serial.println("erase");
tft.setColor(BLACK);
for(uint8_t i = 0;i < 136;i ++){
tft.drawHLine(0,40+i,220);

}
for(int16_t i = 0;i < 220;i ++){
tft.drawVLine(i,40,176);

}
return;
}
//tft.fillScr(BLACK);
int16_t temp = p.y;
p.y = map(p.x, TS_MINX, TS_MAXX, 176,0);
p.x = map(temp, TS_MINY, TS_MAXY,220,0);

if (p.y < BOXSIZE) {
oldcolor = currentcolor;

if (p.x < BOXSIZE) {
currentcolor = RED;

tft.drawRect(0, 0, BOXSIZE, BOXSIZE,WHITE);

} else if (p.x < BOXSIZE*2) {
currentcolor = YELLOW;
tft.drawRect(BOXSIZE, 0, BOXSIZE, BOXSIZE, WHITE);
} else if (p.x < BOXSIZE*3) {
currentcolor = GREEN;
tft.drawRect(BOXSIZE*2, 0, BOXSIZE, BOXSIZE, WHITE);
} else if (p.x < BOXSIZE*4) {
currentcolor = CYAN;
tft.drawRect(BOXSIZE*3, 0, BOXSIZE, BOXSIZE, WHITE);
}/* else if (p.x < BOXSIZE*5) {
currentcolor = BLUE;
tft.drawRect(BOXSIZE*4, 0, BOXSIZE, BOXSIZE, WHITE);
} else if (p.x < BOXSIZE*6) {
currentcolor = MAGENTA;
tft.drawRect(BOXSIZE*5, 0, BOXSIZE, BOXSIZE, WHITE);
}*/
else if (p.x < BOXSIZE*5) {
Serial.println("erase");
tft.setColor(BLACK);
for(uint8_t i = 0;i < 136;i ++){
tft.drawHLine(0,40+i,220);

}
for(int16_t i = 0;i < 220;i ++){
tft.drawVLine(i,40,136);

}
return;
}


if (oldcolor != currentcolor) {
if (oldcolor == RED) tft.fillRect(0, 0, BOXSIZE, BOXSIZE, RED);
if (oldcolor == YELLOW) tft.fillRect(BOXSIZE, 0, BOXSIZE, BOXSIZE, YELLOW);
if (oldcolor == GREEN) tft.fillRect(BOXSIZE*2, 0, BOXSIZE, BOXSIZE, GREEN);
if (oldcolor == CYAN) tft.fillRect(BOXSIZE*3, 0, BOXSIZE, BOXSIZE, CYAN);
if (oldcolor == BLUE) tft.fillRect(BOXSIZE*4, 0, BOXSIZE, BOXSIZE, BLUE);
if (oldcolor == MAGENTA) tft.fillRect(BOXSIZE*5, 0, BOXSIZE, BOXSIZE, MAGENTA);
}

}
if (((p.y-PENRADIUS) > BOXSIZE) && ((p.y+PENRADIUS) < 320)) {
tft.fillCircle(p.x, p.y, PENRADIUS, currentcolor);
}




}
}

LISTA DE PRODUCTOS:
https://listado.mercadolibre.com.mx/_CustId_175372945

ENVÍOS
* DHL Express, ESTAFETA ó Fedex mediante mercadoenvios
* Confirma tu pago de lunes a viernes antes de las 3:00 pm y tu paquete sale el mismo día.

COTIZACIONES
* Todos los precios ya incluyen IVA
* Una vez confirmada la compra se define el proceso para facturación
* Puedes hacer la compra de varios productos y pagar un solo envió.
En la sección de preguntas puedes resolver todas tus dudas.

GARANTIA
15 días por defectos de fabrica no aplica por mal uso.

HORARIO DE ATENCIÓN
Lunes a viernes de 9:00 am a 5:00 pm

Garantía del vendedor: 15 días

Preguntas y respuestas

¿Qué quieres saber?

Pregúntale al vendedor