|
This Serial:UART/I2C/SPI Adapter can drive 128*64 dots LCD which on board controller is ST7920/KS0108/ST7565,
BACKLIGHT adjustable from 0%~100%
Easy to use. Automatic detect ST7920, KS0108 and ST7565 (SPI) chip, no setting needed in most of case, also support ST7565 Parallel mode.
Firmware upgrade able
The demo video on youtube
Specification:
- Automatically detect ST7920(Parellel mode only), KS0108 and ST7565 (SPI), no config needed
- Also support ST7565 Parallel mode by using "SLCD3" command following with 8 bytes init parameters
- Power Supply: 4.85V to 5.5V (for 5V LCD display) or 3.3V to 7.5V (for 3.3V LCD display)
- Power consumption of adapter:2mA @ 5.0V
- Communication mode: UART/I2C/SPI, detect your setting automatically
- Receiving buffer: 256 bytes
- Work with all microcontroller and microprocessor
- Communication signal can work on 3.3V and 5.0V TTL
- Default setting: UART baud 9600bps, I2C 0x27 address
- UART baud (bps): 300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200, 203400, 406800.
|
- Driving Pixels: 128x64
- Product size: (WxHxD):52x34x3.1mm (2.0X1.35x0.12")
- Simple command sets, easy to remember
- Graphics engine integrated, draw Line, Circle, Rectangle, can set pattern for Line (Dot, Dash...)
- 7 preloaded fonts, font’s data structure full compatible with U8Glib
- 4 uploadable user fonts, can display any characters and graph very simple
- Draw characters or graph in 4 direction
- Back light can be adjusted by software
- 3 individual out put pins with High current sink/source 25 mA/25 mA, can drive LED/relay and more
- ~900 bytes eeprom for data, 16K bytes flash for splash screen and user font
|
Design the interface on this display by using Digole's online emulator in few minutes(https://www.digole.com/digole-emu.php)


HIGHLIGHT FUTURE:
- Works with 2.7V/3.3V/5.0V logic systems, 4bit/8bit/16bit/32bit micro-controllers. it EVEN works stand-alone.
-
Support serial (Hardware or Software): UART, I2C and SPI, set by the jumpers on PCB, support all four SPI mo.
-
7 fonts and graphic engine embedded, touch screen and flash chip drivers embedded(if touch screen or 2 to 16MB flash chip installed), custom fonts can be downloaded to the module's flash.
-
Firmware upgrade-able and custom-able: Visit Digole's firmware upgrade page.
-
High level commands set (61 commands total) are easy to remember and understand, eg.: send 5 bytes: "CCabc" will draw a ratio=c pixels circle at coordinate (a,b) on the screen; 5 bytes "DNALL" will put the module to sleep mode(<0.1mA), and more...
-
Online forum and technical support: Visit the Forum of Digole Serial Dispaly Module
-
Video clips on youtube.
-
Program manual, sample code and library for multiple platform.
-
Multiple online tools to make custom fonts, convert images and more, accelerate product development.


Arduino code for above screen:
/*
* compiled code size is about 5K
*/
#define _Digole_Serial_UART_ //To tell compiler compile the special communication only,
//other available is: _Digole_Serial_I2C_ and _Digole_Serial_SPI_
#include <DigoleSerial.h>
//--------UART setup, if you don't use UART, use // to comment following line
DigoleSerialDisp mydisp(&Serial, 9600); //UART:Pin 1(TX)on arduino to RX on module
//--------I2C setup, if you don't use I2C, use // to comment following 2 lines
//#include <Wire.h>
//DigoleSerialDisp mydisp(&Wire,'\x27'); //I2C:SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5
//--------SPI setup, if you don't use SPI, use // to comment following line
//DigoleSerialDisp mydisp(8,9,10); //SPI:Pin 8: data, 9:clock, 10: SS, you can assign 255 to SS, and hard ground SS pin on module
void setup() {
mydisp.begin();
mydisp.clearScreen();
mydisp.setMode('!'); //set graphic Drawing Mode to NOT
mydisp.setLinePattern(0xff);
mydisp.drawHLine(0, 31, 127); //draw horizontal LiNe
mydisp.setPrintPos(0, 31, 1); //Set Graphic position
for (uint8_t i = 1; i <= 127; i = i + 6) //this loop will draw sin graph
{
mydisp.drawLineTo(i, (uint8_t) (32 - (float) (sin(i * 3.14 / 63)*28)));
}
mydisp.setMode('C'); //set graphic Drawing Mode to COPY
mydisp.setLinePattern(0xaa); // set line pattern as dots
mydisp.drawLine(0, 0,127,0); //draw 4 horizontal dot lines
mydisp.drawLine(0, 15,127,15);
mydisp.drawLine(0, 47,127,47);
mydisp.drawLine(0, 63,127,63);
mydisp.setFont(10);
mydisp.drawStr(10, 0, "SIN Singal");
mydisp.setFont(6);
delay(300); //for ST7920, due to this kind of display is slower thant others
for (uint8_t i = 0; i <= 127; i +=16 ) //this loop will draw vertical lines and Coordinate values
{
mydisp.setLinePattern(0x72);
mydisp.drawVLine(i,0,63); //draw one vertival line use pattern 0x72 (dash)
mydisp.setRotation(1); //rotate to 90 degree
mydisp.setTextPosAbs(32, 127-i+3); //set text position as pixel
mydisp.print(i); //draw Coordinate value
mydisp.undoRotation(); //set rotation back to 0
delay(100); // for ST7920 or other slow LCD
}
}
void loop() {
}
Because the ST7565 chip used widely in 12864 LCD panels, and it’s very flexible of configuration, you need set at least 8 bytes of init parameters, if the ST7565 (SPI) not working well with this adapter, please use command “SLCD2” following by 8 bytes of init parameters also:

Download Programing Manual
Download Arduino lib and demo code
Other lib and sample code
Online tools:
Convert image to Digole(u8g) user fonts
All other online tools from Digole
Watch Arduino Demo Code Video on Youtube
Digole Serial Display List
|