Welcome to Certabo forum

Both posts in italian and in english are accepted on the forum to help everybody to provide contribution irrespective to geographical location. Object of the forum is to provide technical information on various items and help developer and users to personalise software for Certabo chessboards. User explicitly accepts the conditions of use of this forum here reported.

A brief introduction of user is always appreciated in section Welcome to….

Benvenuti nel forum di Certabo

Sul forum possono essere postati articoli sia in lingua italiana che inglese per permettere a tutti di dare il proprio contributo da diversi luoghi geografici. Il forum ha come scopo fornire informazioni tecniche in generale e aiutare gli sviluppatori ed utenti a personalizzare software per le scacchiere Certabo. L’utente accetta esplicitamente le condizioni del presente forum consultabili qui.

Un breve saluto del nuovo utente è sempre gradito nella sezione Benvenuti a….

Please or Register to create posts and topics.

Running Da Vinci on 5 inches touch screen (800x480) on Raspberry pi

PreviousPage 2 of 3Next

Here is my main.py, with extension py the forum does not allow uploading.

 

https://drive.google.com/file/d/1HoqwNVcJeRxTcjqoYPawhoRWM7Oj8qCk/view?usp=sharing

figured my mistake out, forget that part :

cfg.xresolution = xresolution
cfg.x_multiplier = screen_width / 533 (instead of 480)
cfg.y_multiplier = screen_height / 320

Tought this was not important, but it is 🙂

I adapted the guide accordingly.

Nacho has reacted to this post.
Nacho

Super guide, Marie. Thank you so much.

While my 7“ LCD was configured in 5 min, my second display, a 5“ was not so easy. Fortunately I remembered your post here. So it was done in only a few more minutes and it works great 👍🏻

G4LLY has reacted to this post.
G4LLY

When I use the DaVinci software with my 5" LCD running on my Raspberry Pi 4 , all I get is half a screen of vertical lines (see photo).

Any suggestions would be very grateful.

 

screen

Hello Bryan,

I had the same behaviour. If I remember properly you need to install the drivers of your screen. Mine was a waveshare one and here are the instructions. Of course you need to check your own brand/model:

https://www.waveshare.com/wiki/5inch_HDMI_LCD

specifically this part :

 

3) After the image has finished writing, open the config.txt file in the root directory of the TF card. Add the following code at the end of config.txt, then save and quit the TF card safely:

max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1

Note: If you use the LCD with Raspberry Pi 4B, you also need to remove or comment out the line dtoverlay=vc4-fkms-V3D from config.txt file.

4) Connect the TF card to the Raspberry Pi, start the Raspberry Pi.The LCD will display after booting up, and then log in to the Raspberry Pi terminal (you can connect the Raspberry Pi to the HDMI display or log in remotely with SSH).

5) Then open the terminal of Raspberry Pi to install the touch driver which can be found in the /boot/ directory. Note: The Raspberry Pi must be connected to the network, or else the touch driver won't be successfully installed. The result is that a small area at the border cannot be touched. If you have installed the touch driver but without a network connection, how to solve the problem? See: #Touch screen calibration part.

git clone https://github.com/waveshare/LCD-show.git
cd LCD-show/
chmod +x LCD5-show
./LCD5-show

The touch function will work after restart. For ease of use, you can set the screen orientation, see: #Screen orientation settings.

 

Regards,

 

Hi Marie

Yes I did all of that. The lcd works perfectly as a Pi desktop, it just won't run the DaVinci image.

Regards

Bryan

 

Do you have the line at boot or once the Application launch? (after raspbian has booted)

Sorry I don't understand!

Right I understand now, sorry.

It is when the application launches

Then I would say your screen may have a different resolution than the one I used, do you have the exact reference of yours ?

Maybe something to adapt in the resolutions in the main.py file

PreviousPage 2 of 3Next