Zum Inhalt springen

9201 – 3.2inch RPi LCD (B)/en

Aus JW Tech Wiki
Version vom 6. September 2026, 00:34 Uhr von JWTechPublisher (Diskussion | Beiträge) (Freigegebene technische Dokumentation veröffentlicht; Text-only und noindex)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.

Summary

The 3.2-inch display connects via the Raspberry Pi's GPIO pins and uses SPI plus a resistive touch panel. It is compatible with all common Raspberry Pi generations.

Related products at JW Tech

Technical overview

  • Resolution: 320 × 240 pixels
  • Interface: SPI over the 40-pin GPIO header; the display has 26 pins
  • Touch: Resistive film with an IRQ input (TP_IRQ), active low when pressed
  • Connection: Direct plug-in on the Raspberry Pi GPIO header
  • Operating voltage: 3.3 V and 5 V via the corresponding pin positions
  • Reset signal (RST): reset triggered by low level
  • Chip select: LCD_CS selects the LCD (low); TP_CS selects the touch panel (low)
  • Data transfer: LCD_SI/TP_SI for data, LCD_SCK/TP_SCK as clock, TP_SCL for touch data
  • Compatibility: Works with any Raspberry Pi model since the header plugs in directly
  • Driver: FBCP software driver supports configurable resolution and dual-display operation

Commands and examples – verify before use: 

sudo apt-get install unzip -y
sudo apt-get install cmake -y
wget https://files.waveshare.com/wiki/common/Waveshare32b.zip
unzip ./Waveshare32b.zip
sudo cp waveshare32b.dtbo /boot/overlays/
sudo nano /boot/firmware/config.txt
dtparam=spi=on
dtoverlay=waveshare32b
hdmi_force_hotplug=1
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 640 480 60 6 0 0 0
hdmi_drive=2
display_rotate=0
sudo nano ~/.bash_profile
export FRAMEBUFFER=/dev/fb1
startx 2> /tmp/xorg_errors
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.~
Section "Device"

Notes and version constraints

  • The calibration values in the example (3795 171 168 3913) are device-specific and must be re-measured on site.
  • The config.txt configuration contains conflicting lines (hdmi_mode=1 and hdmi_mode=87); it must be confirmed which line is valid.
  • The driver file name “Waveshare32b.zip” may vary by system version; download the latest version if issues occur.
  • Automatic login requires the username to be “pi”; it will not work with other users.
  • After applying the configurations, system restart takes longer and SSH needs a moment to become available.
  • When powering the Pi through a PC USB port, insufficient power may prevent proper startup; recommended supply: 5 V / 2.5 A.

Source and revision record