3.5 inch TFT 800x480@60fps

From Geekworm Wiki
Jump to navigation Jump to search
3.5 inch TFT 800x480@60fps sku:441223

3.5 inch TFT 800x480@60fps sku:441223

Overview

3.5 inch HD-TFT Display shield for Raspberry pi 3B/2B/B+ With Keyboards and Remote IR

[update]:This LCD supports raspberry pi 4 computer model b, you only need to modified the config.txt to use this lcd. please refer to 3.5 inch TFT 800x480@60fps#How to use this screen on Pi 4B

Video

Features

  • Demensions: 85mm×56.5mm;
  • Resolution: 800 x 480, 3.5 inch;
  • 267ppi High PPI display screen;
  • 11ms High Response Time(more than 60 fps);
  • 160° Wide Viewing Angle;
  • 900:1 High Contrast Ratio;
  • Sunlight Readable;
  • Backlight can change;
  • With 2 keyboards;
  • With IR function;
  • With I2C Master;
  • Without touch
  • DC 5V, 80~120mA

How to use this screen on Pi 4B

config.txt difference

[Update]:You can use this script tool to use this LCD now: https://github.com/geekworm-com/22LCD-script

or download this File:Config.zip, then unzip it, and move it to /boot/

How to use this screen for PI 3B+/3B/2B

We update the user method for the old raspberry pi board such as 3B+/3B/2B etc. Only append the following comment to the end of config.txt file;

We test it on the official Rasdpbian 2018-11-13-raspbian-stretch verson.

#for raspberry pi 3b+/3b/2b+/b+
dtoverlay=dpi18
overscan_left=0
overscan_right=0
overscan_top=0
overscan_bottom=0
framebuffer_width=800
framebuffer_height=480
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f005
hdmi_timings=480 0 16 16 24 800 0 4 2 2 0 0 0 60 0 32000000 6
display_rotate=3

How to change the backlight, push the button

35inch-HD-TFT1.png

How to use 2 keys,like gpio

35inch-HD-TFT2.png

How to use the I2C master(I2C_3)

you can use this module by the following step

step 1. Download the official firmware, then upgrade to the latest kernel

sudo rpi-update

step 2. Config file to enable i2c_3

sudo nano /boot/config.txt

Add the following line:

dtoverlay=i2c-gpio,i2c_gpio_scl=24,i2c_gpio_sda=23framebuffer_height=480

step 3. Make and install the pigpio

sudo git clone git://github.com/joan2937/pigpio
cd pigpio
sudo python setup.py install
sudo make
sudo make install

step 4. install the I2C tools

sudo apt-get install i2c-tools python-smbus

step 5. Config file to /etc/modules

sudo nano /etc/modules

Add the following line:

i2c-bcm2708
i2c-dev

step 6. Config file to /etc/ rc.loacl

sudo nano /etc/ rc.loacl

Add the following line:

raspi-gpio set 23 pu
raspi-gpio set 24 pu

step 7. Save then restart;

How to use the IR function

Description: IR receiver function:

  • Operating frequency: 38K HZ
  • Receiving distance: 18-20m
  • Reception angle: +/- 45 degrees

The infrared transmitter function

  • Wavelength: 940nm
  • Transmitting distance: 7-8m

Preparation: Burn into raspbian system;

1. Start the Raspberry Pi, login Raspberry Pi through SSH, the user name: pi, default password: raspberry

2. Update and install lirc software, run the following command:

sudo apt-get update
sudo apt-get install lirc

35inch-hd-tft3.jpg

35inch-hd-tft4.jpg

3. Edit the config.txt, and add configuration. use GPIO PIN 26;

sudo nano /boot/config.txt

Add the following line into the config.txt file:

dtoverlay=lirc-rpi, gpio_in_pin=26

35inch-hd-tft5.png

4. Edit LRIC config file to enable infrared function; sudo nano /etc/lirc/hardware.conf

Modify the following lines:

LIRCD_ARGS=”--uinput”
DRIVER=”default”
DEVICE=”/dev/lirc0″
MODULES=”lirc_rpi”

5. Run "sudo reboot" to restart the Raspberry Pi, then run "ls / dev / l *" to view the infrared device is enabled

35inch-hd-tft7.jpg

It's enabled if you can view the above red mark;

6. Record Button

sudo  /etc/init.d/lirc stop
sudo irrecord -n -d /dev/lirc0 ~/lircd.conf

Record your IR remote control Follow the prompts, such as “pause”,“nextsong”,“prevsong”,“stop”,“volumeup”,“volumedown” etc.

35inch-hd-tft8.jpg then you can get a lircd.conf file; override the old lircd.conf file;

sudo cp ~/lircd.conf /etc/lirc/lircd.conf

7. Startup lirc software;

sudo /etc/init.d/lirc start

35inch-hd-tft9.jpg

8. Run the following command to view & check record result

sudo irw

Then press those record button;

9. You can view those button name to run irsend command;

irsend LIST /home/pi/lircd.conf “”

maybe it's following content:

irsend: 000000000000c837 pause
irsend: 00000000000048b7 nextsong

10. Now you can use the infrared transmitter, recorded before launching the remote control key coding, use that will extend the board as a rotary tool.Launch the command reference command:

irsend SEND_ONCE /home/pi/lircd.confpause
irsend SEND_ONCE /home/pi/lircd.confnextsong
irsend SEND_ONCE /home/pi/lircd.conf KEY_VOLUMEDOWN
irsend SEND_ONCE /home/pi/lircd.conf KEY_VOLUMEUP

Appendix

  1. LIRC http://www.lirc.org/
  2. APP http://www.datscharf.dk/amote/

Packing List

1 x HD 3.5 inch TFT screen

GPIO Pin

GPIO PIN

Download

P9680069100 en2.jpg

Matching CNC Case

1. Support camera module(official original camera), with a camera acrylic box.

2. Reserve interface of battery compartment(soon coming).
3. Excellent heat sink to ensure heat dissipation.

File:How to Assemble.pdf

IMG 2031.jpg IMG 1995.jpg

Matching Acrylic Case

Install guide:

IMG 2069-w800.jpg

IMG 2067-w800.jpg

IMG 2066-w800.jpg

IMG 2060-w800.jpg

BACK TO TOP

Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #11

59 months ago
Score 0++

Can't get Xorg to work. Get this error:

[ 87.003] (==) No Layout section. Using the first Screen section. [ 87.003] (==) No screen section available. Using defaults. [ 87.003] (**) |-->Screen "Default Screen Section" (0) [ 87.004] (==) No monitor specified for screen "Default Screen Section". [ 87.094] (EE) no screens found(EE)

Do you guys have a xorg.conf file for reference?

Anonymous user #10

60 months ago
Score 0++
pls update regarding the lirc setting,still cant use the ir

Anonymous user #9

63 months ago
Score 0++

Can't get this to work on my Pi 3B+ running Rasbian-buster.

No need to install a driver? really?

Anonymous user #8

64 months ago
Score 0++

Hi!

I'm using this screen on Raspberry 4 and works as charm if I plug it directly into GPIO. However, If I use a cable to get the screen away from board (20cm, pretty short one), the screen lights up, but does not work. Is there any suggestion why this can be?

Thanks!

Anonymous user #7

66 months ago
Score 0++

Trying to run this screen with Arch Linux but keep getting booting errors. Is there a fix to run it with other Linux variants?

Using a Pi 3B, also have a Pi 3B+

Anonymous user #6

66 months ago
Score 0++
Is there support for Raspberry Pi 3A+?

Anonymous user #5

68 months ago
Score 0++

Dimming the backlight via I2C is possible. It is also possible to switch the display off and on again. But there seems to be a problem with the standby mode: After waking from standby the display is extremely sensitive on touching the boarder. It flickers in different colors and looses contrast. I testet with two pieces. The only way to stop this behaviour ist disconnecting from power and power on again. So the standby mode is not useful. To test: double click the dimming switch to go to standby. Tap again to wake up, then touch the boarder of the display

Work around for standby: Show black screen and dimm to the lowest value.

Admin

68 months ago
Score 0++
Thanks very much for your feeback!

Anonymous user #5

69 months ago
Score 0++

Hi,

is there a possibility to disable/enable the back light with software

Admin

69 months ago
Score 0++
Hello, sorry, there is no information show the back light can be controled by software, hope to get your understanding!

Anonymous user #3

71 months ago
Score 0++

Hi,

with enabling the I2C master functionality the display module is shown as I2C slave with address 0x1C.

Executing an i2cdump returns some data like 'Single Click.Button Status : ', 'sleep.Screen' etc. It looks as if it would be possible to talk to the display via I2C. Is this right? Do you have a manual what information can be exchanged between Raspberry Pi and the display?

I've also seen that one switch is not populated on the board. If it should be possible to expand the board with a GPIO controlled via I2C it would be very helpful because DPI needs a lot of GPIOs.

Anonymous user #2

72 months ago
Score 0++

""Note: If you are using Pi 3, please add this to the config.txt files;(This setting is to shield the interference of Bluetooth interface. We will update the system later.)

[DON'T USE IT IF YOU USE PI 3B+]

dtoverlay=vga666 dtoverlay=pi3-disable-bt-overlay""

Hello!

Is there some fix/update for this?

Admin

72 months ago
Score 0++

Hello, We do not get any update information. What problem have you met? Best regards,

Cindy/Geekworm

Anonymous user #1

74 months ago
Score 0++

Could you describe how to do the easy method without using Windows? I tried 7za and that extracted an img file but using dd to put that on /dev/sdx leads to there being no partition table on the sd card. What do all these "may contain malware" windows utilies actually do ?

In the not-so-easy method, what leads to the blob file being used? Should I run update grub or something?

So far i have a completely black screen.

Anonymous user #4

69 months ago
Score 0++
For Raspberry 3B plus need add sting "dtoverlay=dpi24" in config.txt for 24-bit RGB