Graphic LCM ERC192x64-1

Hello,

I am having problems with connecting ERC192x64-1 display module (http://www.buydisplay.com/download/manual/ERC19264-1_Series_Manual.pdf) to Arduino Nano. I am using level shifter to supply 3.3V for everything (Logic Level Converter Module Bi-Directional Shifter 5V to 3.3V TTL 8-Channel | eBay). Communication protocol is 4-wire SPI.

So far have connected:

LCM Arduino
Pin 2 to GND
Pin 15 to 3.3V
Pin 16 to GND
Pin 17 to D11
Pin 18 to D13
Pin 27 to D9
Pin 28 to D8
Pin 29 to D10
Pin 30 to GND

Schematic --> http://www.buydisplay.com/download/interfacing/ERC19264-1_Interfacing.pdf

I tried to run following code:

#include <Arduino.h>
#include <SPI.h>
#include <U8g2lib.h>

/* Constructor */

U8G2_IST3020_ERC19264_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

/* u8g2.begin() is required and will sent the setup/init sequence to the display */
void setup(void) {
  u8g2.begin();
}

/* draw something on the display with the `firstPage()`/`nextPage()` loop*/
void loop(void) {
  u8g2.firstPage();
  do {
    u8g2.setFont(u8g2_font_ncenB14_tr);
    u8g2.drawStr(0,20,"Hello World!");
  } while ( u8g2.nextPage() );
  delay(1000);
}

So far nothing is showing up on display.

Do I have to connect Pin 1-14 as shown in schematic?
How do I control contrast of LCD?

I guess there is a lot of mistakes so far... :slight_smile:
I hope you could help me and guide me in the right direction.
Previously I have worked only with 16x2 Character LCD, so I am pretty inexperienced.

Robert.

Your interface wiring looks correct.

Obviously you should connect all the capacitors for the on-chip voltage generators i.e. 1-14

I suspect that the display will produce "something" even if you don't select the font signals.

As a general rule: buy a display that comes on a pcb with all the ancilliary electronics. And with a pin headers.

You have already got to wire up level-shifters. Just add all the other stuff onto your protoboard or pcb.

Life is much simpler if you use a proper 3.3V MCU and "display with pcb".

David.

Thank you for quick reply!

I bought LCM without PCB because those PCBs are always bigger than screen and that is a problem for me cause I am limited in space. I need screen with Visual Area approximately 102.89(W) × 36.06(H) and Outline Dimension approximately 106.49(W) × 46.66(H) (dimensions in millimeters). If anyone knows such screen that's already on PCB than please give me a link.

I didn't do proper research before buying everything that's why I ended up with 5V MCU.

I ordered all the necessary capacitors. I will try to connect everything as shown in schematics as soon as I get all the components.

Finally got it to work! I can print text on display.

It turned out that pin numbering on display cable and datasheet were different. Flipped everything around and that fixed the problem (see picture).

That is very naughty, I hope you have had a full and frank discussion with BuyDisplay.