Skip to content

Juankcba/master-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1.)Step1, Install Raspbian official mirror

a)Download Raspbian official mirror:
https://www.raspberrypi.org/downloads/
b)Use“SDFormatter.exe”to Format your TF Card
c)Use“Win32DiskImager.exe” Burning mirror to TF Card

2.) Upgrade and Update your RPi and install git

sudo apt update && sudo apt full-upgrade -y
sudo apt-get install git -y

3.) Step2, Clone my repo onto your pi

Use SSH to connect the Raspberry Pi,
And Ensure that the Raspberry Pi is connected to the Internet before executing the following commands:

git clone https://github.com/Juankcba/master-gui.git
chmod -R 755 master-gui
```cd master-gui/LCD-drivers/``

4.)Step3, According to your LCD's type, excute the corresponding driver:

3.5” RPi Display(MPI3501):

Driver install:

sudo ./LCD35-showsudo ./LCD35-show

WIKI:

CN: http://www.lcdwiki.com/zh/3.5inch_RPi_Display
EN: http://www.lcdwiki.com/3.5inch_RPi_Display

for rotate, If the driver is already installed, execute the following command:

cd master-gui/LCD-drivers/
sudo ./rotate.sh 180

After execution, the system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally.
( ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)
(If the rotate.sh prompt cannot be found, use Method 1 to install the latest drivers)

5.) Installing X & Enabling the touchscreen via X

sudo apt install lightdm
sudo apt install raspberrypi-ui-mods
sudo reboot now

6.) Install VNC

sudo apt-get install realvnc-vnc-server
sudo raspi-config

active vnc option in Interfacing Options reboot then log with the vnc viewer

6.) Install Tinker && test

sudo apt-get install python-tk
sudo apt-get install python-tk

on vnc in the terminal put

sudo python lcd.py

now add to boot

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

@/usr/bin/python /home/pi/master-gui/lcd.py

master-gui

About

Todo lo necesario para que funcione una aplicación en Rpi con interfaz grafica

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors