waveshare 24.9

Waveshare Triple LCD HAT for Raspberry Pi User Manual

Модел: 24.9

1. Вовед

The Waveshare Triple LCD HAT is an expansion board designed for Raspberry Pi series boards, including Raspberry Pi Zero, Zero W, Zero WH, 2B, 3B, 3B+, and 4B. It integrates a 1.3-inch IPS LCD main screen and two 0.96-inch IPS LCD secondary screens, along with two user-defined keys. All screens communicate via SPI, offering a versatile display solution for various embedded applications.

Waveshare Triple LCD HAT with text 'Triple LCD HAT For Raspberry Pi'

Image 1.1: Waveshare Triple LCD HAT overview.

2. Содржина на пакетот

Проверете дали сите артикли се присутни во вашиот пакет:

  • Zero LCD HAT (A) x1
  • Standoffs pack x1 (includes screws and nuts for mounting)

3. Клучни карактеристики

  • Standard Raspberry Pi 40PIN GPIO Header: Ensures compatibility with various Raspberry Pi models.
  • 1.3-inch IPS LCD Main Screen: Features a built-in ST7789 driver chip, SPI communication, 240x240 resolution, and supports 65K color display with a wide viewинголен агол.
  • Dual 0.96-inch IPS LCD Secondary Screens: Each screen has a built-in ST7735S driver chip, SPI communication, 160x80 resolution, and supports 65K color display. Ideal for displaying key information, status indicators, or small graphics.
  • Two User-Defined Keys: Onboard K1 and K2 keys allow for custom functionality in your applications.
  • Online Development Resources: Access to documentation and example code for Raspberry Pi, VisionFive2, Arduino, STM32, and other platforms.
Comparison of 1.3-inch main LCD and dual 0.96-inch secondary LCDs, showing specifications like size, resolution, color, communication interface, and driver chip.

Image 3.1: Detailed specifications of the main and secondary LCD screens.

4. Водич за поставување

4.1 Хардверска врска

  1. Align the 40-pin GPIO header of the Triple LCD HAT with the corresponding GPIO pins on your Raspberry Pi board.
  2. Gently press down to ensure the HAT is securely seated on the Raspberry Pi's GPIO header.
  3. Use the provided standoffs and screws to mechanically secure the HAT to the Raspberry Pi board, if desired, for added stability.
Waveshare Triple LCD HAT mounted on a Raspberry Pi board, connected via the GPIO header.

Image 4.1: Triple LCD HAT connected to a Raspberry Pi.

4.2 Конфигурација на софтвер

To enable the LCD screens and user keys, specific software drivers and libraries are required. Waveshare provides comprehensive online development resources and example code for various platforms, including Raspberry Pi OS.

  • Visit the official Waveshare Wiki or product page for the Triple LCD HAT to access the latest documentation and code exampлес.
  • Follow the instructions provided in the online resources to install the necessary drivers and configure your Raspberry Pi for SPI communication.
  • Example code typically includes demonstrations for displaying text, graphics, and reading input from the user-defined keys.

5. Операција

The Triple LCD HAT offers three independent display areas and two programmable input buttons.

5.1 Display Functionality

  • Main Screen (1.3-inch): This central display is suitable for primary graphical interfaces, detailed information, or larger visual elements. Its 240x240 resolution and IPS technology provide clear and vibrant output.
  • Secondary Screens (Dual 0.96-inch): Positioned on either side of the main screen, these 160x80 resolution displays are ideal for showing system status, sensor readings, small icons, or other auxiliary data.
  • All screens utilize SPI for communication, allowing for efficient data transfer from the Raspberry Pi.

5.2 User-Defined Keys (K1, K2)

The two onboard keys, K1 and K2, are connected to specific GPIO pins on the Raspberry Pi. These can be programmed to trigger various actions within your application, such as menu navigation, data toggling, or system commands.

Предна страна view of the Triple LCD HAT showing the 1.3-inch main screen displaying a desktop environment and two 0.96-inch secondary screens showing bar graphs and temperature readings, with K1 and K2 buttons visible.

Image 5.1: Triple LCD HAT in operation, displaying various data.

6. Дефиниција на игла

The Triple LCD HAT connects to the Raspberry Pi via its 40-pin GPIO header. Understanding the pin assignments is crucial for proper software development and custom wiring.

Detailed pinout diagram for the Waveshare Triple LCD HAT, showing GPIO pin numbers and their corresponding functions for power, SPI communication, LCD control, and user keys.

Image 6.1: Pinout diagram of the Triple LCD HAT.

Table 6.1: GPIO Pin Functions
Пин бр.ФункцијаПин бр.Функција
13V325V
3DCI45V
5SCLK06ГНД
7DCI8ГНД
9ГНД10RST0
11CS012BL0
13КЛУЧНИК 114ГНД
15CS116SCLK
17МОСИ18ГНД
19DC020ГНД
21DC122RST1
23CS224BL1
25ГНД26КЛУЧНИК 2

7. Сценарија за примена

The Triple LCD HAT's multi-screen capability and user-defined keys make it suitable for a variety of projects:

  • Multi-screen Collaboration: Display a primary interface on the 1.3-inch screen while using the 0.96-inch screens for real-time data, status updates, or secondary controls.
  • Флексибилна апликација: Ideal for Raspberry Pi projects, IoT applications, embedded systems, and DIY projects requiring compact and informative visual feedback.
  • Лесна интеграција: The standard 40-pin GPIO header allows for straightforward integration into existing Raspberry Pi setups.
Три поранешниamples of application scenarios: multi-screen collaboration showing different data on each screen, flexible application with the HAT on a Raspberry Pi, and easy integration highlighting the GPIO connection.

Слика 7.1: На пр.amples of how the Triple LCD HAT can be used in various projects.

8. Технички спецификации

КарактеристикаДетал
БрендWaveshare
Име на моделотTriple LCD HAT for Raspberry Pi
Број на модел на ставка24.9
Големина на главниот екран1.3 инчи
Резолуција на главниот екран240x240
Main Screen DriverST7789
Секундарна големина на екранот0.96 инч (x2)
Secondary Screen Resolution160x80 (x2)
Secondary Screen DriverST7735S
Комуникациски интерфејсСПИ
User Keys2 (K1, K2)
КомпатибилностRaspberry Pi Zero/Zero W/Zero WH/2B/3B/3B+/4B
Поддршка за оперативен системRaspberry Pi OS (based on Debian Linux)
Димензии на производот (ДxШxВ)2.55 x 1.22 x 0.39 инчи (65 x 31 x 10 мм)
Тежина на ставката0.352 унци

9. Димензии на контурата

The physical dimensions of the Triple LCD HAT are important for enclosure design and project planning.

Technical drawing showing the outline dimensions of the Triple LCD HAT in millimeters, including length, width, and height measurements.

Image 9.1: Outline dimensions of the Triple LCD HAT (Unit: mm).

The HAT measures approximately 65mm in length, 31mm in width, and 10mm in height (including the screens and components).

10 Смена на проблеми

  • Screens not displaying:
    • Ensure the HAT is correctly seated on the Raspberry Pi's GPIO header.
    • Verify that the SPI interface is enabled in your Raspberry Pi's configuration (e.g., via raspi-config).
    • Check your software code for correct initialization of the ST7789 and ST7735S drivers and proper SPI communication.
    • Confirm that the power supply to your Raspberry Pi is adequate.
  • User keys not responding:
    • Ensure your software is correctly reading the GPIO pins assigned to K1 and K2.
    • Check for any conflicts with other GPIO usage in your project.
  • Display artifacts or incorrect colors:
    • Review your display initialization code, especially parameters like color mode and orientation.
    • Ensure the correct driver (ST7789 for main, ST7735S for secondary) is being used for each screen.

11. Поддршка и ресурси

For further assistance, detailed documentation, and the latest code examples, please refer to the official Waveshare online resources. These resources typically include:

  • Product Wiki pages with setup guides and programming tutorials.
  • Може да се преземе прampкод за различни програмски јазици и платформи.
  • Technical support contact information.

If you encounter any issues not covered in this manual or the online resources, please contact Waveshare technical support for assistance.

Поврзани документи - 24.9

Предview 2inch LCD Module with ST7789 SPI Interface - Technical Guide
Technical documentation and usage guide for the 2inch LCD Module with ST7789 controller, featuring SPI interface, 240x320 resolution, and compatibility with Raspberry Pi, STM32, and Arduino platforms.
Предview Упатство за користење и технички водич за е-хартија Waveshare од 2.13 инчи HAT (B)
Сеопфатен водич за Waveshare 2.13-инчен е-хартија HAT (B), кој опфаќа хардверски поврзувања, поставување на софтвер, принципи на програмирање и решавање проблеми со Raspberry Pi, Arduino, Jetson Nano и STM32.
Предview Упатство за користење на Waveshare 2.4-инчен LCD модул
Сеопфатен водич за модулот Waveshare LCD TFT дисплеј од 2.4 инчи, со детали за неговите карактеристики, спецификации и употреба со Raspberry Pi, STM32 и Arduino. Дознајте повеќе за SPI интерфејсот, контролерот IL9341, хардверските врски и софтверот, на пр.amples за интегрирање на овој дисплеј со резолуција од 240x320 во вашите проекти.
Предview Упатство за користење на Waveshare 3.5-инчен RPI LCD (B) - Спецификации и упатство за поставување
Упатство за корисникот за Waveshare 3.5-инчниот RPI LCD (B) дисплеј, со детали за неговите спецификации, распоред на пиновите на интерфејсот, чекори за инсталација на драјверот за Raspberry Pi, упатства за поврзување и често поставувани прашања.
Предview Упатство за корисникот на HAT за драјвер за е-хартија Waveshare: Поврзување на дисплеите за е-хартија SPI со Raspberry Pi, Arduino, STM32
Упатство за корисникот за Waveshare e-Paper Driver HAT, со детали за неговите карактеристики, параметри на производот, спецификации на интерфејсот и поддржани модели на e-Paper. Вклучува водичи за поставување за развојни плочи Raspberry Pi, Arduino и STM32.
Предview Waveshare 3.5-инчен RPi LCD (A) Упатство за користење: Поставување и спецификации
Сеопфатно упатство за корисникот за модулот за дисплеј Waveshare од 3.5 инчи RPi LCD (A). Опфаќа спецификации, инсталација, поврзување со Raspberry Pi и решавање проблеми.