waveshare 24.9

คู่มือผู้ใช้ Waveshare Triple LCD HAT สำหรับ Raspberry Pi

รุ่น : 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 ฟังก์ชันการแสดงผล

  • 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
3ดีซีไอ45V
5SCLK06ก.ย.ด.
7ดีซีไอ8ก.ย.ด.
9ก.ย.ด.10RST0
11ซีเอส012BL0
13คีย์ 114ก.ย.ด.
15ซีเอส116ส.ค.ส
17MOSI18ก.ย.ด.
19ดีซี020ก.ย.ด.
21ดีซี122RST1
23ซีเอส224BL1
25ก.ย.ด.26คีย์ 2

7. สถานการณ์การใช้งาน

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

  • การทำงานร่วมกันบนหลายหน้าจอ: 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. ข้อมูลจำเพาะทางเทคนิค

คุณสมบัติรายละเอียด
ยี่ห้อเวฟแชร์
ชื่อรุ่นTriple LCD HAT for Raspberry Pi
หมายเลขรุ่นสินค้า24.9
ขนาดหน้าจอหลัก1.3 นิ้ว
ความละเอียดหน้าจอหลักขนาด 240x240
Main Screen DriverST7789
ขนาดหน้าจอรอง0.96 inch (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.
  • ดาวน์โหลดอดีตample code for various programming languages and platforms.
  • 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 คู่มือผู้ใช้และคู่มือทางเทคนิคสำหรับ Waveshare 2.13inch e-Paper HAT (B)
คู่มือฉบับสมบูรณ์สำหรับ Waveshare 2.13inch e-Paper HAT (B) ครอบคลุมการเชื่อมต่อฮาร์ดแวร์ การตั้งค่าซอฟต์แวร์ หลักการเขียนโปรแกรม และการแก้ไขปัญหาสำหรับ Raspberry Pi, Arduino, Jetson Nano และ STM32
พรีview คู่มือผู้ใช้ Waveshare 3.5inch RPI LCD (B) - ข้อมูลจำเพาะและคู่มือการตั้งค่า
คู่มือผู้ใช้สำหรับจอแสดงผล LCD Waveshare ขนาด 3.5 นิ้วสำหรับ Raspberry Pi (B) ซึ่งประกอบด้วยรายละเอียดเกี่ยวกับคุณสมบัติ การจัดเรียงขาเชื่อมต่อ ขั้นตอนการติดตั้งไดรเวอร์สำหรับ Raspberry Pi คำแนะนำในการเชื่อมต่อ และคำถามที่พบบ่อย
พรีview คู่มือผู้ใช้โมดูล LCD ขนาด 2.4 นิ้วของ Waveshare
คู่มือฉบับสมบูรณ์เกี่ยวกับโมดูลจอแสดงผล LCD TFT ขนาด 2.4 นิ้วของ Waveshare พร้อมรายละเอียดคุณสมบัติ ข้อมูลจำเพาะ และการใช้งานร่วมกับ Raspberry Pi, STM32 และ Arduino เรียนรู้เกี่ยวกับอินเทอร์เฟซ SPI, ตัวควบคุม IL9341, การเชื่อมต่อฮาร์ดแวร์ และซอฟต์แวร์ampเพื่อบูรณาการจอแสดงผลความละเอียด 240x320 เข้ากับโครงการของคุณ
พรีview คู่มือผู้ใช้ไดรเวอร์ Waveshare e-Paper HAT: เชื่อมต่อจอแสดงผล SPI E-Paper เข้ากับ Raspberry Pi, Arduino, STM32
คู่มือผู้ใช้สำหรับ Waveshare e-Paper Driver HAT ซึ่งมีรายละเอียดเกี่ยวกับคุณสมบัติ พารามิเตอร์ผลิตภัณฑ์ ข้อมูลจำเพาะของอินเทอร์เฟซ และรุ่น e-Paper ที่รองรับ รวมถึงคู่มือการตั้งค่าสำหรับบอร์ดพัฒนา Raspberry Pi, Arduino และ STM32
พรีview คู่มือผู้ใช้ Waveshare 3.5-inch RPi LCD (A): การตั้งค่าและข้อมูลจำเพาะ
คู่มือผู้ใช้ฉบับสมบูรณ์สำหรับโมดูลจอแสดงผล LCD Waveshare ขนาด 3.5 นิ้ว RPi (A) ครอบคลุมข้อมูลจำเพาะ การติดตั้ง การเชื่อมต่อกับ Raspberry Pi และการแก้ไขปัญหา
พรีview Waveshare Pico-ResTouch-LCD-3.5: โมดูลจอแสดงผลแบบสัมผัส SPI ขนาด 3.5 นิ้ว สำหรับ Raspberry Pi Pico
รายละเอียดคุณสมบัติ แผนผังขาต่อ และคู่มือการเชื่อมต่อฮาร์ดแวร์สำหรับ Waveshare Pico-ResTouch-LCD-3.5 ซึ่งเป็นโมดูลจอแสดงผลแบบสัมผัส IPS ขนาด 3.5 นิ้ว พร้อมตัวควบคุม XPT2046 และไดรเวอร์ ILI9488 สำหรับ Raspberry Pi Pico