Difference between revisions of "Round-LCD-HAT"
From SB-Components Wiki
(→Pinout) |
(→Python) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
<li> Standard Raspberry Pi 40 Pins GPIO </li> | <li> Standard Raspberry Pi 40 Pins GPIO </li> | ||
<li> 4 directions + attached band Central press button Joystick Control </li> | <li> 4 directions + attached band Central press button Joystick Control </li> | ||
− | + | </br> | |
=== Specifications === | === Specifications === | ||
<li> Operating Voltage - 3.3 V </li> | <li> Operating Voltage - 3.3 V </li> | ||
Line 24: | Line 24: | ||
</div> | </div> | ||
<div class="large-4 column"> | <div class="large-4 column"> | ||
− | [[File: | + | [[File:Round_lcd_hat.png|thumb|left|alt=Pico 1.14 LCD HAT| Buy it From : ''[https://shop.sb-components.co.uk/products/round-lcd-hat-for-raspberry-pi Click Here]'']] |
</div> | </div> | ||
</div> | </div> | ||
== Pinout == | == Pinout == | ||
− | [[File:Round-lcd-pinmap.png|600 px]] | + | [[File:Round-lcd-pinmap.png|600 px]] [[File:Round_lcd_hat_pinout.PNG]] |
== Installation == | == Installation == | ||
==== Python ==== | ==== Python ==== | ||
+ | * Open a terminal and run the following commands to enable SPI: | ||
+ | <source lang="shell"> sudo raspi-config </source> | ||
+ | |||
+ | * 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 | ||
+ | |||
+ | [[File: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 | ||
+ | <source lang="shell"> git clone https://github.com/sbcshop/Round-LCD-HAT.git </source> | ||
+ | * Enter dowloaded directory | ||
+ | <source lang="shell"> cd Round-LCD-HAT </source> | ||
+ | * Now run demo.py by running below command. | ||
+ | <source lang="shell"> python3 demo.py </source> | ||
+ | * 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. | ||
+ | <source lang="shell"> python3 LcdDemo_Joystick.py </source> | ||
== Resources == | == Resources == | ||
+ | |||
+ | ''' Github ''' | ||
+ | * [https://github.com/sbcshop/Round-LCD-HAT Source Code] | ||
+ | |||
+ | <b> Datasheet </b> | ||
+ | * [https://github.com/sbcshop/Round-LCD-HAT/blob/main/lib/GC9A01A%20Datasheet.pdf GC9A01 Datasheet] |
Latest revision as of 09:37, 30 July 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
Specifications
Pinout
Installation
Python
- Open a terminal and run the following commands to enable SPI:
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
- 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
Github
Datasheet