2.8 inch Touch Screen for Pi zero

From All for Raspberry Pi, Arduino, Lattepanda, Orange Pi, Pine64 | by Geekworm
Jump to: navigation, search


Version-A 2.8 inch Touch Screen for Pi zero W
Version-A 2.8 inch Touch Screen for Pi zero W
Version-A 2.8 inch Touch Screen for Pi zero W
Version-B 2.8 inch Touch Screen for Pi zero W
Version-C 2.8 inch Touch Screen for Pi zero WH
Version-C 2.8 inch Touch Screen for Pi zero WH

Overview

Fastest 2.8 inch Touchscreen for Raspberry Pi Zero /W and Raspberry pi 3 model b+ /3B/2B/B+/CM3 etc,Super HD 640x480 Resolution,60+ fps

Perfect fit your Pi zero/ zero w, PORTABLE MONITOR

Customized circuit board for 2.8-inch

High speed Raspberry Pi screen

Working Current: 100 mA

Notice: Not including Raspberry Pi zero / Pi zero W board

In fact, this screen fits to Raspberry Pi 3B/2B/B+; but you must use the bread cables to connect them, because it's male pins on the this screen, and it's male pins on the pi 3B also;

Use Guide

Github project: https://github.com/tianyoujian/MZDPI

Setup screen via script (Recommend)

cd ~/
git clone https://github.com/tianyoujian/MZDPI.git
cd MZDPI/vga
sudo chmod +x mzdpi-vga-autoinstall-online
sudo ./mzdpi-vga-autoinstall-online
sudo reboot

How to solve the blue/yellow on Raspberry pi 4?

Please run the following shell or refer to above github project:

sudo raspi-gpio set 8 a2
sudo raspi-gpio set 7 a2

For linux kernel 4.9 (old)

Download File:Mzdpi-vga-4.9.x.zip, and unzip it;

Copy the mzdpi.dtbo to the directory /boot/overlays, and copy the the other files to directory /boot;

then restart the raspberry pi;

Note: We only test the screen on Raspbian OS and Retropie now;

How to check the kernel version?

uname -a


For linux kernel4.4 or Earlier (old)

Which GPIO Pins are Occupied by this screen? Please refer to here: File:PI ZERO W LCD PIN.ZIP

Picture

Raspberry-Pi-Zero-Screen.jpg

For Version-B

What is the purpose of the NEW 2.8 inch display pins VBAT, AUX (with jumper), PWM and left-side pins ?

1.VBAT and AUX are the ADC inputs of the XPT2046 and can be used to measure voltage. The XPT2046 is a touch control chip.

2.The PWM pin is the control pin of the backlight. The brightness of the PMW signal can be adjusted externally.

3.The left-side pins (on New Version B photo) is no use.

New 2.8 inch screen information.jpg

FAQ of Version-B

Question: 1. How is it possible to control the backlight brightness with the pins on the back? Can I use an adjustable resistor? Do I need to solder those pins to the raspberry and use some software?

/How is it possible to turn off the screen in software on the raspberry? Is there a command? An external switch with the pins on the back? Perhaps just turning down the brightness to 0 level?

Answer:

1. Please use the short circuiter to connect the pin of PWM and GPIO 18, then can control the backlight brightness by software.

2.The Raspberry Pi GPIO 18 can output the signal of PWM.

3.When the GPIO 18 output low level (PWM duty cycle is 0), the backlight is off.

Question:

2.Is this screen is SPI? Or HDMI? 16 bit color or 24 or 32?

Answer:

The 2.8inch screen is consist of display screen and touch screen, The display screen is DPI, and the touch screen is SPI.And it is 16 bit color and RGB565 mode.

For Version-C

2.8 inch Touch Screen for Pi zero WH-Version-C.jpg

Update of the Version C:

  • Ultra-thin Design, can directly use with Raspberry Pi Zero WH
  • Special design that can use with Chewing Gum Battery

FAQ of Version-C

Question 1:

Why the LCD cannot light up?

Answer:

This screen need configuration to be work. GPIO18 should be connected to the 12th pin of 40PIN.

And should add

gpio=18=op,dh,pd

in the config.txt.

Sudo raspi-gpio set 18 op dh turn on the backlight
Sudo raspi-gpio set 18 op dl turn off the backlight

Add your comment
All for Raspberry Pi, Arduino, Lattepanda, Orange Pi, Pine64 | by Geekworm welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #14

3 days ago
Score 0++
I tried using the Version C with a raspberry pi Zero W and it does not work at all

Anonymous user #12

16 days ago
Score 0++

Hi, I am also having the same issue with Rasbian Buster, yellow whites and blue blacks.

Anyone had luck fixing this? Perhaps the developer could assist?

Admin

11 days ago
Score 0++

Hi, Please run:

sudo raspi-gpio set 8 a2

sudo raspi-gpio set 7 a2

Anonymous user #13

11 days ago
Score 0++

Thank-you. That is much better. When I run those commands it is fixed!

Is there a way to fix the colour from start up? (the boot screen is still yellow/blue)

Admin

4 days ago
Score 0++

Hi, https://gith...stall-online

This installation script is be updated. and fix the color form start up.

Github: https://gith...oujian/MZDPI

Anonymous user #11

20 days ago
Score 0++
Is there any reason that this can't be used with a normal raspberry pi?

Admin

11 days ago
Score 0++

sudo raspi-gpio set 8 a2

sudo raspi-gpio set 7 a2

Anonymous user #10

24 days ago
Score 0++
Having the same problem on the latest Raspbian Buster with yellow tint to white colours and blue tint to black

Anonymous user #8

one month ago
Score 0++
Has anyone gotten this screen to work with Volumio? I was able to get it working with Raspbian, but with Volumio I get a blue screen and it fails to boot.

Anonymous user #6

one month ago
Score 0++

Hi,

My screen (Version-C) does not fully fit the diplay, they have border about 50px on each side. Also the display got a wrong color (Black goes blue, White go yellow and so on). I'm using recent raspbian buster version and download the latest drivers from GitHub. Thank you.

Anonymous user #7

one month ago
Score 0++
I figured out about the borders. I just disable the double pixel in raspi-config then this will be fine. But the color problem is still.

Anonymous user #9

25 days ago
Score 0++
I’ve got the same thing on a version A and version C screen. Disabling pixel doubling didn’t help. All the blacks are blue-ish, and it’s a bit yellow too. No idea how to fix. Using fresh install of Raspbian Buster.

Anonymous user #9

23 days ago
Score 0++
I've resolved both the blue/yellow shift and the borders by using 2019-04-08-raspbian-stretch image with Version C screen. Please fix these for Raspbian Buster, it's so much faster for a Pi Zero.

Anonymous user #5

2 months ago
Score 0++

Hi,

Does the version-A 2.8 inch Touch Screen for Pi zero W use SPI or I2C interfacing?

Also, are any of those interfacing pins directly being used by the driver?

Thank you in advance!

Anonymous user #4

3 months ago
Score 0++
Can you dim the backlight on the original version?

Anonymous user #3

4 months ago
Score 0++
Hey I've got the V00BR Version:B, which 565 Mode is this screen using? I'd need to use the other GPIOs...

Admin

4 months ago
Score 0++

Hello, The screen use 565 mode, please refer to the GPIO PIN list here: http://www.r..._LCD_PIN.ZIP

The NC pin is not occupied by the screen, you can use it!

Anonymous user #2

5 months ago
Score 0++
This is SPI? Or HDMI? 16 bit color or 24 or 32?

Admin

5 months ago
Score 0++

Hello, The 2.8inch screen is consist of display screen and touch screen, The display screen is DPI, and the touch screen is SPI. And the screen is 16 bit color and RGB565 mode.

Best regards,

Cindy

Anonymous user #1

5 months ago
Score 0++

Kindly include the instructions for this product on this same page for others

gpio pwmc 1 # set clock 1000 makes noise for me gpio -g mode 18 pwm # enable PWM on GPIO18 gpio -g pwm 18 1010 # change screen brightness to 975 range 0 - 1024

https://www....t_manual.pdf

Admin

5 months ago
Score 0++

Hi, Thanks for your file, but our 2.8 inch screen is not waveshare product, please note, thank you very much. Best regards,

Cindy/Geekworm