Giter VIP home page Giter VIP logo

st7735's Introduction

C Library for ST7735 1.8 TFT LCD display

ST7735 Description

Detailed information are described in Datasheet ST7735. New version 2.0 allow to connect more than 1 display.

Library

C library is aimed for driving ST7735 1.8 TFT LCD display 162x132 through SPI's Atmega328P / Atmega8 / Atmega16A.

Hardware connection ATMEGA328P -> LCD1

PORT LCD PORT ATMEGA328P Description
RST PORTD 7 Chip Reset Signal
CS PORTB 2 SPI Chip Select
D/C PORTB 0 SPI data / command; 1=Data, 0=Command
DIN PORTB 3 SPI Serial data in / MOSI
CLK PORTB 5 SPI Serial clock signal
UCC +5V Supply Voltage +5V
BL PORTB 1 Backlight control (with resistor 40-150 Ohm)
GND GND Ground

Hardware connection ATMEGA328P -> LCD2

PORT LCD PORT ATMEGA328P Description
RST PORTD 3 Chip Reset Signal
CS PORTD 0 SPI Chip Select
D/C PORTB 0 SPI data / command; 1=Data, 0=Command
DIN PORTB 3 SPI Serial data in / MOSI
CLK PORTB 5 SPI Serial clock signal
UCC +5V Supply Voltage +5V
BL PORTD 1 Backlight control (with resistor 40-150 Ohm)
GND GND Ground

Usage

Prior defined for MCU Atmega16 / Atmega8 / Atmega328P. Need to be carefull with SPI ports definition.

PORT Atmega16 Atmega8 / Atmega328
SS PB4 PB2
MOSI PB5 PB3
MISO PB6 PB4
SCK PB7 PB5

Tested

Library was tested and proved on a ST7735 1.8″ TFT Display with Atmega328P.

Demonstration

Links

st7735's People

Contributors

matiasus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

st7735's Issues

Contrubutions

Hi Marián!

Are you open to contributions for this project? I am planning on spinning a few custom boards with a 1.4" TFT using the ST7735 driver and this looks to be a good start point..

I tend to abstract my drivers a bit more so the MCU type is not "hard-coded" into the lib.. Would you be OK with me making some PRs with my improvements?

-Stephen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.