LCD Velleman VMA412 not work!

Hi,
I bought an LCD 2.8 inch touch for Arduino UNO, Velleman VMA412 (ILI9341)
I installed it directly on the Arduino board. All the pins are connected.
The Arduino Board is successfully connected to the computer via a USB port. It works normally (I tried using the "LED Blink" basic sample application)
When I load the LCD test code (ST7781, DisplayString, ... etc), the LCD display does not work. All the time only the backlight is lit and the screen is white and clear!
What's the problem
Thank you!

1 Like

I would not expect a program written for a Sitronix ST7781 to work on a display with an Ilitek ILI9341 controller.

Post a link to your actual display.
Post a link to the library you are using.

I guess that it is a "Mcufriend-style" Uno shield. In which case install the MCUFRIEND_kbv library via the IDE Library Manager. All MCUFRIEND_kbv examples detect the controller first.

David.

This is link original web site Velleman, and Code & Library update in Download content for this display:
https://www.velleman.eu/support/downloads/?code=VMA412

There are many examples for this display and the Arduino Uno / Mega microcontroller. One of them is _ST7781uno.ino
I upload this file and upload to Arduino, but nothing happens!
I would ask you to look at all files that are packed in zip and tell me if I should install something else.

Thank you!

Exactly, there is a MCUFRIEND_kbv folder in ZIP folder, but I do not know how to install it! : Smiley-zbuniti:

  1. Identify your Arduino IDE. e.g. from the Title on an Edit Window.

  2. Current IDE is 1.8.5. You do not need to have the most recent version.

  3. Update your IDE if it says 1.7.x or if older than 1.6.5

  4. You can download the IDE software by clicking on the turquoise menu icon at the top right of the Forum screen.

  5. the MCUFRIEND_kbv library in your ZIP file is obsolete.

  6. Install/Update MCUFRIEND_kbv via the IDE Library Manager e.g. Sketch->Include Library->Manage Libraries.

  7. Install/Update Adafruit_GFX via the IDE Library Manager e.g. Sketch->Include Library->Manage Libraries.

  8. If the Manager finds a "Version Unknown" it is best to leave IDE and delete that folder from the libraries directory.

  9. Start the IDE and Library Manager. It will install that library from scratch.

If you have a problem, just ask.

Oh. Your LCD test code (ST7781, DisplayString, ... etc) from the Velleman ZIP is a bit of a mess.
If you want to try a specific example, please say which one. I will try the sketch with MCUFRIEND_kbv and post a "tested" sketch.

David.

After installation MCUFRIEND-kbv and Adafruit_GFX via Manage Libraries Everything is doing great!
In the library manager's content there are a lot of plug-ins, I do not know what I need to install in the future for everything to work, or to install everything?

I'm waiting for the ordered Can bus Shield (DFRobot manufacturer) to be delivered to me.:
https://www.ebay.com/itm/CAN-BUS-Shield-for-Arduino/282626150034?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2648

I would like CAN data from the vehicle to be used for various analog functions.
But this is a story for another topic in the Forum.

Once again, thank you for helping me!
:slight_smile:

IMG_0767.jpg

You must take great care when connecting multiple shields.

The TFT Shield uses A0-A4, D2-D9 pins.
If you are not using the microSD you can use A5, D10-D13 for an external MCP2515.

You will have to check the CAN Shield documentation. Your link does not have a schematic.

Your photos show the "testcard" sketch. Remove the plastic film for best picture.
The Library Manager is "easier" to search if you type "TFT" or "MCP2515" in the Filter Search field.

David.

Here is detailed specification :slight_smile:

Thanks for the link. This is the schematic

It will not be possible to use the CAN Shield with the TFT shield without hardware modification.
The CAN shield uses digital #2, #4 that are needed by the TFT.

You could re-route the CAN INT, and CAN SD_CS to different pins on a Mega2560. The official Uno does not have enough spare pins.

It is perfectly possible to use any pin as a PIN_CHANGE interrupt but the Arduino core only supports INT0, INT1
A Uno clone with TQFP-32 has access to Analog#6, Analog#7 pins. Which can be polled as a low-res analog.

David.

Hello,

Sorry, but I don't speak french very well but you can do it now

For IDE 1.8.12 ARDUINO

for the VMA412, (VELLEMAN) you can go to the site :

https://www.velleman.eu/support/downloads/?code=VMA412&type=

And download the file :

Code & Library Update

"update: 8-12-2016"

But it will not work.

However, you can go to the site:

Écran tactile Elegoo Arduino 2.8 '' TFT and dowload ZIP.

When you are going to copy / paste the libraries in the Arduino software, you will be able to start trying out the sample programs, and be able to start working.

Not all programs work, because you have to do research, depending on the codes you want to implement.

Have a nice day