Skip to content

FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50

Repository files navigation

RaspberryPi_KeDei_35_lcd_v50

Raspberry Pi KeDei 3.5 inch TFT LCD module V5.0 SPI Control program


KeDei version V5.0 only

This program works only with KeDei 3.5 inch TFT LCD module V 5.0.
Other versions will not work .


Raspberry Pi用 KeDei 3.5インチ TFT液晶を自前のプログラムで制御する方法

http://www.neko.ne.jp/~freewing/raspberry_pi/raspberry_pi_3_tft_lcd_3_5inch_kedei_touch_xpt2046_2/

You can choose any control method .

  1. bcm2835 version
  2. The pigpio library version
  3. Linux spidev version
  4. WiringPi library version

FREE WING Homepage

http://www.neko.ne.jp/~freewing/


Other Resources

Orange Pi PC 2 Allwinner H5 FBTFT fbflex 3.5 inch TFT LCD module SPI Control program

https://github.com/FREEWING-JP/OrangePi_PC2_FBTFT_fbflex_35_lcd

Raspberry Pi FBTFT fbflex 3.5 inch TFT LCD module SPI Control program

https://github.com/FREEWING-JP/RaspberryPi_FBTFT_fbflex_35_lcd

Raspberry Pi KeDei 3.5 inch TFT LCD module V5.0 SPI Control program

https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50

tinydrm for KeDei 3.5 inch V5.0 LCD module

https://github.com/FREEWING-JP/tinydrm/tree/feature/kedei_35_v50/kedei_35_lcd_v50


References(参考文献)

KeDei 3.5 inch 480x320 TFT lcd from ali

https://www.raspberrypi.org/forums/viewtopic.php?p=1019562
by Conjur - Mon Aug 22, 2016 2:12 am - Final post on the KeDei v5.0 code.

l0nley/kedei35

https://github.com/l0nley/kedei35


Build bcm2835 version

# C library for Broadcom BCM 2835 as used in Raspberry Pi

# Enable SPI

sudo raspi-config

# build bcm2835 lib.

cd
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.52.tar.gz
tar -zxf bcm2835-1.52.tar.gz
cd bcm2835-1.52
./configure
sudo make install

# git clone

cd
git clone https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50.git

# compile

cd ~/RaspberryPi_KeDei_35_lcd_v50
gcc -o kedei_lcd_v50_pi kedei_lcd_v50_pi.c -lbcm2835

# execute !

sudo ./kedei_lcd_v50_pi


Build The pigpio library version

# The pigpio library

# Enable SPI

sudo raspi-config

# git clone

cd
git clone https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50.git

# compile

cd ~/RaspberryPi_KeDei_35_lcd_v50
gcc -o kedei_lcd_v50_pi_pigpio kedei_lcd_v50_pi_pigpio.c -lpigpio -lrt -lpthread

# execute !

sudo ./kedei_lcd_v50_pi_pigpio


Build Linux spidev version

# SPIdev - The Linux Kernel Archives

# Enable SPI

sudo raspi-config

# git clone

cd
git clone https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50.git

# compile

cd ~/RaspberryPi_KeDei_35_lcd_v50
gcc -o kedei_lcd_v50_pi_spidev kedei_lcd_v50_pi_spidev.c

# execute !

sudo ./kedei_lcd_v50_pi_spidev


Build WiringPi library version

# WiringPi - GPIO Interface library for the Raspberry Pi

# Enable SPI

sudo raspi-config

# git clone

cd
git clone https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50.git

# compile

cd ~/RaspberryPi_KeDei_35_lcd_v50
gcc -o kedei_lcd_v50_pi_wiringpi kedei_lcd_v50_pi_wiringpi.c

# execute !

sudo ./kedei_lcd_v50_pi_wiringpi


Picture

Raspberry Pi KeDei 3.5 inch LCD V5.0 module Control program

Raspberry Pi KeDei 3.5 inch LCD V5.0 module

About

Raspberry Pi KeDei 3.5 inch TFT LCD module V5.0 SPI Control program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages