3.5 inch TFT 800x480@60fps

From raspberry pi wiki
(Redirected from Rpi HD 3.5 inch TFT)
Jump to: navigation, 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

[NEW]: This LCD supports raspberry pi 3 model B+, but you need use the new dt-blob.bin file. please refer to File:For-3B+.zip or http://raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/dt-blob-For-3B-plus.bin (You need to change file name to db-blob.bin after you download it)

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

Easy method (advised!!)

Use the full firmware with driver from: https://sourceforge.net/projects/u-geek/files/HATs/Raspi_HD-TFT/ or http://raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/, download 2016-05-27-raspbian-jessie-HD.7z file,

We advise you verify the big image file via MD5 file after yor download the file;

MD5.txt: http://www.raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/md5.txt

(Easy method, and this is the advised use method;

How to write firmware into your TF card please refer to How to install the image to your pi)

DIY method

step 1.

Download the official firmware, then upgrade to the latest kernel

sudo rpi-update

step 2.

Down the file from url: http://raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/, select the different db-bloc.bin by your pi version, then run the following command

For pi 3b/2b

 wget http://www.raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/dt-blob.bin

For pi 3b+

 wget http://www.raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/dt-blob-For-3B-plus.bin
 mv dt-blob-For-3B-plus.bin dt-blob.bin

For pi zero or zero w

 wget http://www.raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/for-zero-w/dt-blob.bin

Or

Copy the file( File:Dt-blob.zip, unzip it)in the /boot

PS:

Please use File:Dt-blob-for-zero-w.zip if you use raspberry pi zero w

Please use File:For-3B+.zip if you use raspberry pi 3 model b+;

sudo cp  dt-blob.bin  /boot

step 3. Config file to enable HD-TFT

sudo nano /boot/config.txt

or

 sudo vi /boot/config.txt

Add the following line:

framebuffer_width=800
framebuffer_height=480
dtparam=spi=off
dtparam=i2c_arm=off
enable_dpi_lcd=1
display_default_lcd=1
dpi_output_format=0x6f015
dpi_group=2
dpi_mode=87
hdmi_timings=480 0 16 16 24 800 0 4 2 2 0 0 0 60 0 32000000 6
display_rotate=3

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 

step 4.

Save then restart;

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

File:3.5HD-TFT HAT User Guide v1.0.docx

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
raspberry pi wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #1

one month 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.