Difference between revisions of "Round-LCD-HAT"

From SB-Components Wiki

Line 34: Line 34:
 
==== Python ====
 
==== Python ====
 
* Open a terminal and run the following commands to enable I2C and Serial:
 
* Open a terminal and run the following commands to enable I2C and Serial:
<pre> sudo raspi-config </pre>
+
<source lang="shell"> sudo raspi-config </source>
  
 
* Choose Interfacing Options -> SPI -> Yes
 
* Choose Interfacing Options -> SPI -> Yes
  
* You can also use GUI method to enable SPI Go to Menu > Preferences > Raspberry Pi Configuration > Interfaces , and enable SPI
+
* You can also use GUI method to enable SPI Go to Menu > Preferences > Raspberry Pi Configuration > Interfaces, and enable SPI
  
 
[[File:Spi_en_gui.png]]
 
[[File:Spi_en_gui.png]]
Line 45: Line 45:
 
* Make Sure SPI is Enabled (As mentioned above)
 
* Make Sure SPI is Enabled (As mentioned above)
 
* Now clone Round LCD HAT Github repository by running below command in terminal
 
* Now clone Round LCD HAT Github repository by running below command in terminal
<pre> git clone https://github.com/sbcshop/Round-LCD-HAT.git </pre>
+
<source lang="shell"> git clone https://github.com/sbcshop/Round-LCD-HAT.git </source>
 
* Enter dowloaded directory
 
* Enter dowloaded directory
<pre> cd Round-LCD-HAT </pre>
+
<source lang="shell"> cd Round-LCD-HAT </source>
 
* Now run demo.py by running below command.
 
* Now run demo.py by running below command.
<pre> python3 demo.py </pre>
+
<source lang="shell"> python3 demo.py </source>
* You can also run "LcdDemo_Joystick.py" file to display image and change color of arc using attached 5 input joystick.
+
* You can also run "LcdDemo_Joystick.py" file to display the image and change the color of the arc using the attached 5 input joystick.
<pre> python3 LcdDemo_Joystick.py </pre>
+
<source lang="shell"> python3 LcdDemo_Joystick.py </source>
  
 
== Resources ==
 
== Resources ==

Revision as of 06:11, 8 June 2021

Round LCD HAT

Round LCD HAT is a 1.28-inch display expansion board module of 240×240 resolution, 65K RGB colors, clear and colorful displaying effect, with a joystick, designed for Raspberry Pi to expand its engagement via SPI communication by providing standard 40 pins GPIO interface. The Round LCD HAT comes with an embedded GC9A01 Driver and SPI Interface that minimize the required IO pins. It is designed with a 5-input Joystick that will be internally connected to the Round LCD HAT via a stackable GPIO connector header.

Features

  • 240 x 240 Resolution
  • 32.4mm Diameter
  • IPS Display Panel
  • GC9A01 Driver
  • Raspberry Pi series compatibility
  • 4-wire SPI Communication
  • Standard Raspberry Pi 40 Pins GPIO
  • 4 directions + attached band Central press button Joystick Control

  • Specifications

  • Operating Voltage - 3.3 V
  • Pixel Size - 0.135 × 0.135mm
  • Board Dimension - 56mm × 65mm
  • Pixels - 240×240 resolution
  • Display Colour - 65K RGB
  • Driver - GC9A01
  • Pico 1.14 LCD HAT
    Buy it From : Click Here

    Pinout

    Round-lcd-pinmap.png Round lcd hat pinout.PNG

    Installation

    Python

    • Open a terminal and run the following commands to enable I2C and Serial:
    sudo raspi-config
    • Choose Interfacing Options -> SPI -> Yes
    • You can also use GUI method to enable SPI Go to Menu > Preferences > Raspberry Pi Configuration > Interfaces, and enable SPI

    Spi en gui.png

    • Stack Round LCD HAT on top of Raspberry Pi GPIO Header pins.
    • Make Sure SPI is Enabled (As mentioned above)
    • Now clone Round LCD HAT Github repository by running below command in terminal
    git clone https://github.com/sbcshop/Round-LCD-HAT.git
    • Enter dowloaded directory
    cd Round-LCD-HAT
    • Now run demo.py by running below command.
    python3 demo.py
    • You can also run "LcdDemo_Joystick.py" file to display the image and change the color of the arc using the attached 5 input joystick.
    python3 LcdDemo_Joystick.py

    Resources