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:

FAQ of Version-C

Question 1:

Why the LCD cannot light up?

Answer:

(1)It is directly control via software:

sudo raspi-gpio set 18 op dh (turn on the backlight)

sudo raspi-gpio set 18 op dl (turn off the backlight)

(2)Or you could add

gpio=18=op,dh

into the config.txt. then the backlight will be turned on as soon as the system is running.

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 #22

27 days ago
Score 0++

Finally got a solution to make sudo raspi-gpio set 8 a2 sudo raspi-gpio set 7 a2 get executed boot


Add those lines right before "EXIT" Block of file "/etc/rc.local"

Anonymous user #21

one month ago
Score 0++

Hello, my display is a Version B - MZP280V00BR. I have installed the drivers like it is explained on this page, but only the backlight turns on. The image of the display is still black.

Which driver should i take for online installation of the MZP280V00BR display?

Anonymous user #20

one month ago
Score 0++

How can I use rechargeable battery board like this one: https://bit.ly/32pqyj6

with Version-C

Anonymous user #19

2 months ago
Score 0++
Hi, try to get rid of the blue/yellow tint with no success. followed the instruction and also check /boot/mzp280v01br.txt already with "gpio=0-8=a2". but the screen does change back normal if i type the raspi-gpio command manually after boot up ... strange, any advice? setup is rp0w, version a screen, 07-10-buster

Anonymous user #18

2 months ago
Score 0++
Are any GPIO pins available for use when using this display, for example using a PIR motion sensor on one of the gpio pins simultaneously?

Anonymous user #17

3 months ago
Score 0++

Hi, I can fix the blue and white colors by running: sudo raspi-gpio set 7 a2 sudo raspi-gpio set 8 a2

but how can I change it at boot time? I added to config.txt this 2 lines: gpio=7=a2 gpio=8=a2

but doesnt work.

Thanks

Anonymous user #16

3 months ago
Score 0++

Hello There,

My setup are: - MZDPI-VGA-ZERO 2017.11.20 - VERSION: B - Raspberry PI ZERO WH

I cloned "tianyoujian/MZDPI.git" and then run all commands. But my screen doesn't work. Display backlights on. But no screen. Can you help me ?

Admin

3 months ago
Score 0++

Hello friend, Could you please follow the user guide:http://www.r...ro#Use_Guide Best regards,

Cindy/Geekworm

Anonymous user #16

3 months ago
Score 0++

Hello friend,

I run all commands but it still doesn't work. Do you have any other advice ? Is there a way to debug it ?

cd ~/ git clone https://gith...an/MZDPI.git cd MZDPI/vga sudo chmod +x mzdpi-vga-autoinstall-online sudo ./mzdpi-vga-autoinstall-online

sudo reboot

Anonymous user #15

3 months ago
Score 0++

I also tried using version C with raspberry pi zero w (Raspbian Buster) and it didn't work.

Is there a way to test the display without plugging into raspberry pi? i.e how do i tell if it's a fault display or driver issue?

Admin

3 months ago
Score 0++

Hi friend, Do you mean the LCD cannot light up? (1)It is directly control via software: sudo raspi-gpio set 18 op dh (turn on the backlight) sudo raspi-gpio set 18 op dl (turn off the backlight)

(2)Or you could add

gpio=18=op,dh

into the config.txt. then the backlight will be turned on as soon as the system is running.

Best regards,

Abby / Geekworm

Anonymous user #14

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

Admin

3 months ago
Score 0++

Hi, Do you mean 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

Best regards,

Abby / Geekworm

Anonymous user #12

4 months 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

4 months ago
Score 0++

Hi, Please run:

sudo raspi-gpio set 8 a2

sudo raspi-gpio set 7 a2

Anonymous user #13

4 months 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

3 months 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

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

Admin

4 months ago
Score 0++

sudo raspi-gpio set 8 a2

sudo raspi-gpio set 7 a2

Anonymous user #10

4 months 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

4 months 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

4 months 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

4 months 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

4 months 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

4 months 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

5 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

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

Anonymous user #3

8 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

8 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

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

Admin

8 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

9 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

9 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