Questions? Call us: +1 760-918-6722

64128K-RGB and wiring

 

Hi guys,

Was seeing if anyone could give me some help with the 64128K-RGB module.   I have looked at your forums and even data sheets and couldn't find the help I needed.  What I want to know is how to wire your display the same way at the adafruit based on this forum http://www.ladyada.net/learn/lcd/st7565.html.

On pg 5 of the 64128K-RGB data sheet https://cdn.displaytech-us.com/sites/default/files/display-data-sheet/64128K-FC-BW-RGB-Displaytech-S..., it show's the description of the pins.  On the adafruit (ladyada), is shows how to connect the pins.  These are the pins they use.  

Here are the wire colors and the pins they go to:

/CS - Chip Select - White

/RST - Reset - Blue

A0 - sometiimes called RS - Green

SCLK - Serial clock - Yellow

SID - Serial Input Data - Orange

VDD - 3.3V power - Red

GND - ground - Black

K - LED cathode - Brown

A - LED anode - White

Check out the ladyada document to see the detail.

I guess what i'm saying is I want to connect 10 lcd's to and arudino Due using your lcds.  But unsure how to do this based on your pins and if it will work.  Your help would be mostly appreciated.  I really want to buy this product, but theres not point if I don't know if it's going to work and how to do it :)

 

Kind Regards,

 

Joey

Replies

jnh1277@gmail.com's picture
jnh1277@gmail.com
September 6, 2018

I want to use a combination of the lcd you guys sell https://www.displaytech-us.com/128x64-led-backlight-graphic-lcd-64128k-rgb with that of adafruit.  Both of these screens use the SPI protocol.  It shows how to hook it up on the http://www.ladyada.net/learn/lcd/st7565.html.

 

This is the data sheet I have.  Just trying to correlate these pins to the lady ada site.  

 

This is pins from the adafruit display.

CS - Chip Select - White

/RST - Reset - Blue

A0 - sometiimes called RS - Green

SCLK - Serial clock - Yellow

SID - Serial Input Data - Orange

VDD - 3.3V power - Red

GND - ground - Black

K - LED cathode - Brown

A - LED anode - White

 

Adafruit                   Displaytech

CS                          CS1 (pin 1)

RST                        /RES (pin 2)

A0                           A0 (Command Data Select), not sure what this is used for for both Adafruit and Displaytech

SCK                        Not sure what pin this is in Displaytech

SID                         Not sure what pin this is in Displaytech (Is SID the same as SDI or MOSI)                                                      (is this just a data line, then is this equivalent to DO to D7 on the displaytech?                 

VDD                        VDD pin 14

GND                        VSS

K                             VSS

A                             VDD

 

Just trying to correlate the two so I can use both screens.

Hope you can help :)

engineering_seacomp's picture
engineering_seacomp
September 6, 2018

Hi Joey,

A few things you need to know about the 64128K-RGB module to begin with. The module needs nine 1uF capacitors attached to the power supply pins (15 thru 26) to generate the ~9 Volts needed to drive the LCD pixels. The capacitor connections are shown on this schematic: https://www.displaytech-us.com/sites/default/files/reference-schematic/S64128K_L_M-tester-schematic-.... This is a device we use to test the displays in serial mode. You can find this schematic and other reference schematics here: https://www.displaytech-us.com/design-center/reference-schematic.

The A0 pin is used to tell the display controller (ST7565R) whether the data being clocked in is display data, or control (command) data. Usually, you will send a command first and then follow that with the display data needed by that command.  The command details are described in the ST7565R display driver datasheet: https://www.displaytech-us.com/sites/default/files/driver-ic-data-sheet/Sitronix-ST7565R.pdf.

SCK is called SCL (pin-12, D6) on the 64128K-RGB display. This is the serial clock line.

SID is called SI (pin-13, D7) on the 64128K-RGB display. This is the serial input data line. There is no serial data output line.

The backlight connections for the 64128K-RGB display are different than the Adafruit monochrome display. The anode (A) pin should be connected to a 5 Volt power source. Each of the cathode pins (KR, KG, and KB) should be connected to ground through a 30 ohm resistor. The resistor limits the backlight LED current to 60 mA per color ( (5V - 3.2V)/0.060A = 30 ohm). You might be able to get away with hooking the LED anode to 3.3V, but the series resistor for each cathode would be small (~2 ohm) and won't regulate the current very well. If you do this, you might notice the display colors don't appear correct.The ST7565R datasheet describes the initialization sequence you will need to perform to setup the display power supply and other needed registers. You can download the assembly code that our test devices run on by clicking the "Sample Code" button on the main 64128K-RGB display web page. You will probably be using C on your microcontroller, so you will only be able to use this code as a reference.

Getting this display to work will not be as easy as the Adafruit display as the 64128K-RGB display is intended for OEM manufacturers. It should be possible to breadboard it and run it parallel with the Adafruit display. Bear in mind that each has it's own code requirements as one is monochrome and the 64128K-RGB display is color.

 Hope this helps.