<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.jw-tech.eu/index.php?action=history&amp;feed=atom&amp;title=WSAL18366_%E2%80%93_2.4inch_LCD_Module%2Fen</id>
	<title>WSAL18366 – 2.4inch LCD Module/en - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.jw-tech.eu/index.php?action=history&amp;feed=atom&amp;title=WSAL18366_%E2%80%93_2.4inch_LCD_Module%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.jw-tech.eu/index.php?title=WSAL18366_%E2%80%93_2.4inch_LCD_Module/en&amp;action=history"/>
	<updated>2026-10-23T22:24:09Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in JW Tech Wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.jw-tech.eu/index.php?title=WSAL18366_%E2%80%93_2.4inch_LCD_Module/en&amp;diff=1766&amp;oldid=prev</id>
		<title>JWTechPublisher: Freigegebene technische Dokumentation veröffentlicht; Text-only und noindex</title>
		<link rel="alternate" type="text/html" href="https://wiki.jw-tech.eu/index.php?title=WSAL18366_%E2%80%93_2.4inch_LCD_Module/en&amp;diff=1766&amp;oldid=prev"/>
		<updated>2026-09-05T22:36:23Z</updated>

		<summary type="html">&lt;p&gt;Freigegebene technische Dokumentation veröffentlicht; Text-only und noindex&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOINDEX__&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Documentation notice:&amp;#039;&amp;#039;&amp;#039; 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.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
Technical overview of the Waveshare 2.4-inch TFT LCD with IL9341 controller and SPI interface for Raspberry Pi, STM32, and Arduino.&lt;br /&gt;
&lt;br /&gt;
== Related products at JW Tech ==&lt;br /&gt;
* [https://shop.jw-tech.eu/p/WSAL18366 WSAL18366 – 240×320, General 2.4inch LCD Display Module, 65K RGB]&lt;br /&gt;
&lt;br /&gt;
== Technical overview ==&lt;br /&gt;
* Resolution: 240 (vertical) × 320 (horizontal) pixels; display area 36.72 mm (H) × 48.96 mm (V); module size 70.5 × 43.3 mm&lt;br /&gt;
* Operating voltage: 3.3 V or 5 V; with a 5 V supply the logic level is 5 V, with a 3.3 V supply it is 3.3 V&lt;br /&gt;
* Driven by the on-board IL9341 controller through a four-wire SPI interface&lt;br /&gt;
* Supported per-pixel color formats: 12-bit RGB444, 16-bit RGB565, 18-bit RGB666; the demo uses RGB565&lt;br /&gt;
* Raspberry Pi wiring: VCC→3.3 V, GND→GND, DIN→MOSI (BCM 19), CLK→SCLK (BCM 23), CS→CE0 (BCM 24), DS/DC→BCM 22, RST→BCM 13, BL→BCM 12&lt;br /&gt;
* STM32 example based on STM32F103RBT6: DIN→PA7, CLK→PA5, CS→PB6, DC→PA8, RST→PA9, BL→PC7&lt;br /&gt;
* Arduino UNO example: DIN→D11, CLK→D13, CS→D10, DC→D7, RST→D8, BL→D9, VCC→5 V&lt;br /&gt;
* Default SPI mode: SPI0 (CPHA=0, CPOL=0); CSX enables the chip when low, D/CX distinguishes command (0) from data (1)&lt;br /&gt;
* On Raspberry Pi, enable the SPI interface via raspi-config and reboot&lt;br /&gt;
* Available demos: C (BCM2835, WiringPi), Python (RPi.GPIO + spidev), STM32, and Arduino&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Commands and examples – verify before use:&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
sudo raspi-config&lt;br /&gt;
sudo reboot&lt;br /&gt;
sudo wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.71.tar.gz&lt;br /&gt;
sudo tar zxvf bcm2835-1.71.tar.gz&lt;br /&gt;
cd bcm2835-1.71/&lt;br /&gt;
sudo ./configure &amp;amp;&amp;amp; sudo make &amp;amp;&amp;amp; sudo make check &amp;amp;&amp;amp; sudo make install&lt;br /&gt;
sudo apt-get install wiringpi&lt;br /&gt;
wget https://files.waveshare.com/wiki/common/wiringpi-latest.deb&lt;br /&gt;
sudo dpkg -i wiringpi-latest.deb&lt;br /&gt;
gpio -v&lt;br /&gt;
sudo git clone https://github.com/WiringPi/WiringPi&lt;br /&gt;
cd WiringPi&lt;br /&gt;
sudo ./build&lt;br /&gt;
sudo su&lt;br /&gt;
wget https://github.com/joan2937/lg/archive/master.zip&lt;br /&gt;
unzip master.zip&lt;br /&gt;
cd lg-master&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install python3-pip -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes and version constraints ==&lt;br /&gt;
* Pin mapping varies by target system and board revision; verify the exact pin assignment before connecting&lt;br /&gt;
* On bookworm-based systems only the lgpio library is available; BCM2835 and WiringPi cannot be installed or used&lt;br /&gt;
* The Python demo requires no extra libraries beyond RPi.GPIO and spidev; PIL may optionally be needed for image display&lt;br /&gt;
* Different SPI modes (CPHA/CPOL) must match the controller; default is SPI0&lt;br /&gt;
* If the display stays blank: verify that SPI is enabled and consider disconnecting the BL pin if it has no output&lt;br /&gt;
* To change orientation: use Paint_SetRotate(Rotate) in C (only 0°, 90°, 180°, 270°); in Python, rotate(Rotate) allows any angle&lt;br /&gt;
* Incorrect use of GPIO libraries can cause refresh issues; rebooting the Raspberry Pi typically resolves this&lt;br /&gt;
&lt;br /&gt;
== Source and revision record ==&lt;br /&gt;
* [https://www.waveshare.com/wiki/2.4inch_LCD_Module 2.4inch LCD Module - Waveshare Wiki]&lt;br /&gt;
* Source revision: 110851&lt;br /&gt;
* Captured: 2026-09-01T03:21:47+00:00&lt;br /&gt;
* SHA-256: &amp;lt;code&amp;gt;696a35a9b35460b4ca0a4c1f7f7cfd4d3eedf46014b41b4526438c540ded93d0&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>JWTechPublisher</name></author>
	</entry>
</feed>