HACKING CHEAP SMARTWATCHES (9BIT SPI LCD)

by varun.raj.r19 in Circuits > Arduino

1338 Views, 2 Favorites, 0 Comments

HACKING CHEAP SMARTWATCHES (9BIT SPI LCD)

HTB1NphHaW_ST1JjSZFqq6AQxFXa0.jpg_640x640q90.jpg

HELLO GUYS THIS IS MY FIRST INSTRUCTABLES HOPE YOU GUYS LIKE IT. IN THIS PROJECT I AM GOING TO HACK A CHEAP SMARTWATCH AND USE ITS LCD TO DRIVE THROUGH ARDUINO.

AS THIS LCD HAS ONLY 3WIRE SPI INTERFACE SO, WE HAVE TO USE SOFTWARE SPI (9BIT SPI).

I GET THE ORIGINAL ADAFRUIT LIABRARY AND TWEAKED IT A LITTLE BIT TO USE IT WITH 9BIT SPI LCD.

LATER ON I WILL USE IT FOR MY HOMEMADE RADIO CONTROLLER USING NRF24L01+ MODULE AND ARDUINO. WILL SHERE IT WITH YOU GUYS SOON......

Recognising Lcd Pinouts

download (1).jpeg
HTB1zmNsbzuhSKJjSspmq6AQDpXad.jpg_640x640q90.jpg
HTB128mjXTQMVeJjSZFMq6zVzpXar.jpg_640x640q90.jpg

first of all we have to know pinouts of this lcd that we have found in cheap smartwatch (dz09). as i have searches a lot on internet and finally found the lcd on aliexpress. (IPS 1.54 inch 24P SPI 262K COG TFT LCD Screen with Connector ST7789V Drive IC 240*240|LCD Modules| - AliExpress). here is the pinout.

we have to use

SDA

SCL

CS

RESET

LEDK

LEDA

GND

IOVCC

WIRING THE LCD

IMG_20210712_220943429.jpg
IMG_20210712_220507144.jpg
IMG_20210712_220501204.jpg

IN THIS STEP WE HAVE TO WIRE UP THE LCD TO MAKE IT EASY TO CONNECT

HERE WE WILL CONNECT

IOVCC -------- +3.3V

LEDA --------- +3.3V

GND -------- GND

LEDK -------- GND

SDA ------- SERIAL DATA

SCL ------- SERIAL CLOCK

CE -------- CHIP ENABLE (OR CONNECT IT TO GROUND)

RST -------- RESET

SO, FINALLY WE HAVE 6 WIRES, AND AFTER CONNECTING CE TO GND WE HAVE 5 WIRES.

NOW, WE WILL CONNECT IT TO ARDUINO

IOVCC+LEDA ------------ +3.3V

GND+LEDK -------------- GND

SDA(MOSI) ----------- D3

SCL ----------- D4

RST ---------- D5

LIBRARIES FOR DRIVING THE LCD

AFTER WIRING UP THE LCD WE NEED LIBRARY FOR DRIVING IT. HERE I HAVE TWEAKED THE ORIGINAL ADAFRUIT LIABRARY FOR DRIVING 9 BIT SPI LCD MODULE. YOU CAN DOWNLOAD IT HERE

https://drive.google.com/file/d/1M4GnCJ67WUDDl8M0L...

AFTER DOWNLOADING IT INSTALL IN ARDUINO IDE AND OPEN EXAMPLE --- TFT_LCD_FULL_CHECKUP

HERE WE HAVE ASSIGNES OUR PINS FOR CONNECTING LCD WITH ARDUINO. YOU CAN CONNECT AS PER THE CODE OR YOU CAN CHANGE THE PINS. AS WE ARE USING SOFTWARE SPI COMMUNICATION IT IS A BIT SLOW BUT HEY WE SALVEGED THE LCD FROM A CHEAP SMARTWATCH.

UPLOAD THE CODE AND ENJOY

UPLOAD THE COAD AND SEE THE MAGIC. THE LCD WILL GO THROUGH A FULL LCD CHECKUP AND GRAPHICS TEST.