jcvamp
Posts: 6
Joined: Fri Nov 06, 2015 9:05 pm

Using a 2.8" Nextion HMI LCD Touch Display with Raspberry Pi

Wed Nov 11, 2015 4:16 pm

Hi. I am building a portable gaming system using a Raspberry Pi 2 Model B, and I've found the 2.8" Nextion HMI LCD Touch Display online. It says it's compatible with the Pi, but I want to be sure that I know how to connect it before I buy it. Does anyone know where I can find information on how to connect it to my Raspberry Pi?

Thanks.

This is the device (http://www.robotshop.com/uk/28-nextion- ... wwodArIJLQ).

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Using a 2.8" Nextion HMI LCD Touch Display with Raspberr

Wed Nov 11, 2015 9:22 pm

It is a serial interface, so just connect it to the serial port of the RPi. From the datasheet I see it wants 5V power, the serial output is maxx 3.2V. So no need for a level shifter? Free the serial port of the RPi before your program can access the Nextion.

There is PC software , Windows iirc, to program the Nextion. And then write your program on the Pi. Itead website has more info.
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

jcvamp
Posts: 6
Joined: Fri Nov 06, 2015 9:05 pm

Re: Using a 2.8" Nextion HMI LCD Touch Display with Raspberr

Wed Nov 11, 2015 11:22 pm

Thanks for the response. Which port on the RPi is the serial port? The GPIO header?

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Using a 2.8" Nextion HMI LCD Touch Display with Raspberr

Sun Nov 15, 2015 1:09 pm

jcvamp wrote:Thanks for the response. Which port on the RPi is the serial port? The GPIO header?
GPIO 14 (TX) and 15 (RX). Note that the levels are 3.3V!
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

Return to “Graphics, sound and multimedia”