Application of OLED display based on single chip microcomputer

Publisher:MusicLover123Latest update time:2012-01-03 Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction

Organic Light Emitting Display (OLED) is a new type of light-emitting and display device. OLED is essentially a thin-film device, and its light-emitting layer is an organic material layer. When current passes through, these organic materials will emit light. Compared with traditional liquid crystal displays (LCDs), in addition to not requiring a backlight source, OLED displays can achieve a thickness of less than 1mm, which makes it possible to realize soft display. In addition, the viewing angle is larger, the brightness is higher, and the colors are richer. OLED can be widely used in handheld devices, communication terminals, instrumentation and other fields.

2 Module Structure

The following uses Visionox VGG12864E-S001 module as an example to introduce the module structure of OLED.

2.1 Module Block Diagram

The OLED display screen of the VGG12864E-S001 module has a structure of 128 columns and 64 rows. It uses two column driver controllers, each with 64 outputs, to drive columns 1-64 and 65-128 respectively; it uses a row driver with 64 row outputs. Figure 1 is a block diagram of the module logic circuit and interface circuit.

Module Block Diagram


2.2 Pin Description

Table 1 is the pin function description of VGG12864E-S001.

VGG12864E-S001 pin function table

Table 1 VGG12864E-S001 pin function table


3 Application Examples

In practical applications, there are two ways to connect the VGG12864E-S001 module to the microprocessor, one is direct access and the other is indirect access. The following takes the direct access method as an example to introduce the connection circuit with 8031.

Interface Circuit


3.1 Design of driving power conversion circuit

In most embedded systems, only a single +5V power supply is provided externally, so a driving power conversion circuit must be provided for the OLED. LTC3459 is a boost chip launched by Linear Technology. Its input voltage is +1.5V to +5.5V, and its output voltage is +2.5V to +10V. Its maximum quiescent current is 20mA, and when the converter is in shutdown mode, its remaining operating current is less than 1mA. Figure 2 shows its typical circuit, with an output voltage of +10V, which meets the driving voltage input requirements of the VGG12864E-S001 module of +9V to +11V.

3.2 Interface Circuit

The direct access mode is to directly hang the module interface on the computer bus as a memory or I/O device, and the computer operates the module in the same way as accessing a memory or I/O device. Figure 3 is a practical circuit diagram of the direct access mode interface.

3.3 Application Program Example

This program displays the characters "Tel:62780866"

ORG 0000H
AJMP MAIN
COM EQU 20H ; instruction register
DAT EQU 21H ; data register
PAGE EQU 31H ; page address register D2, D1, D0
; the following read and write address allocation is omitted
MAIN: MOV SP, #60H
ACALL INT
ACALL CLEAR
MOV PAGE, #85H
MOV COLUMN, #30H ; the starting column is the 48th column
MOV CODE, #00H ; T
ACALL CWPR
MOV PAGE, #85H
MOV COLUMN, #01H ; e
MOV CODE, #45H
ACALL CWPR
MOV PAGE, #85H
MOV COLUMN, #02H
MOV CODE, #4CH ; l
ACALL CWPR
MOV PAGE, #85H
MOV COLUMN, #03H
MOV CODE, #1AH ; :
ACALL CWPR
MOV R7,#00H
MOV R6,#60H
LOOP: MOV A,R7
MOV DPTR,#TAB
MOVC A,@A+DPTR
MOV CODE,A
MOV PAGE,#05H
MOV COLUMN,R6
ACALL CWPR
INC R7
MOV A,#06H
ADD A,R6
MOV R6,A
CJNE R7,#08,LOOP
SJMP $
TAB: DB 04H,0 5H,06H,07H,08H,07H,09H,09H
; Subroutine

(A) Left half control driver (1-64 columns) driver subroutine

; (1) Write instruction code subroutine

PRR0: PUSH DPL
PUSH DPH
MOV DPTR,#CRADD2 ;Set the read status word address
PRR01: MOVX A,@DPTR ; Read status word
JB ACC.7,PRR01 ;Judge "busy" flag as "0" No, read again
MOV DPTR,#CWADD2 ;Set the write instruction code address
MOV A,COM ;Get instruction code
MOVX @DPTR,A ;Write instruction code
POP DPH
POP DPL
RET

; (2) Write the display data subroutine (omitted)

; (3) Read display data subroutine

PRR2: PUSH DPL
PUSH DPH
MOV DPTR,#CRADD2 ;Set the read status word address
PRR21: MOVX A,@DPTR ;Read the status word
JB ACC.7,PRR21 ;Judge the "busy" flag as "0" or not, if not, read again
MOV DPTR ,#DRADD2 ;Set the read display data address
MOV A,COM ;Get the instruction code
MOVX @DPTR,A ;Write the instruction code
POP DPH
POP DPL
RET

; (B) Right half control driver (65-128 columns) driver subroutine (omitted)

; (C) Initialization subroutine

INT: MOV COM,#0C0H ; Set the display start line to the first line
ACALL PRL0
ACALL PRR0
MOV COM,#3FH ; Turn on the display setting
ACALL PRL0
ACALL PRR0
RET

; (D) Clear display area subroutine (omitted)

4 Conclusion

As OLED technology continues to mature, OLED is partially replacing LCD and LED with its excellent display characteristics and is widely used in embedded systems with microcontrollers and DSP as the core.

Keywords:MCU Reference address:Application of OLED display based on single chip microcomputer

Previous article:PIC microcontroller software development skills
Next article:Data protection method when 51 single chip microcomputer system is powered off

Recommended ReadingLatest update time:2024-11-16 23:54

Teach you to learn 51 single chip microcomputer step by step: advanced functions and buttons
1. MCU minimum system The minimum system of a single-chip microcomputer consists of a power supply, a crystal oscillator, and a reset circuit. (1) The common power supply voltage is 5V, and the typical working voltage is 3.3V. (2) Crystal oscillators are usually divided into two types: passive crystal oscillators
[Microcontroller]
Teach you to learn 51 single chip microcomputer step by step: advanced functions and buttons
51 MCU Learning Notes (V)_C51 Implementation of MCU Serial Communication Simulation
1. Rendering     2. Virtual Serial Port Use VSPD virtual serial port tool to virtualize two serial ports for communication VSPD virtual serial port tool download: http://download.csdn.net/detail/leytton/7565589     3. Serial port debugging Open two serial port debugging tools, the first one opens
[Microcontroller]
51 MCU Learning Notes (V)_C51 Implementation of MCU Serial Communication Simulation
STM8L151C8 MCU learning routine (2) - CLK switching
STM8L_2_CLK: 1.User: Project and main files 2.Hardware:CLK,LED,Delay 3.STM8L15x_StdPeriph_Driver: STM8 comes with library files 4.Debug: The hex file is stored in the EXE folder 5.Function: LED flashes at different CLK /** ****************************************************************************** * @file    ma
[Microcontroller]
STM8L151C8 MCU learning routine (2) - CLK switching
Analysis of 51 MCU keyboard scanning program
/********************************************Keyboard_No timer_No delay Features: The key is effective after releasing the hand, high sensitivity, low resource consumption, high operating efficiency Independent keyboard: K01=P2^4; K02=P2^5; K03=P2^6; K04=P2^7; Matrix keyboard: Row (up to down)_P2.3_P2.2_P2. /*******
[Microcontroller]
Analysis of 51 MCU keyboard scanning program
STC89C52 microcontroller digital tube static display
Digital tube display principle Digital tubes are divided into common cathode and common anode according to different internal connections. There are 8 LEDs inside the eight-segment digital tube. If you want to display a specific font, you only need to control the corresponding LED to light up and the other LEDs to t
[Microcontroller]
STC89C52 microcontroller digital tube static display
Design of peripheral interface circuit of single chip microcomputer based on FPGA
0 Introduction Single-chip microcomputers have the characteristics of high cost performance, flexible functions, easy human-computer dialogue, and strong data processing capabilities. Single-chip microcomputer application systems are usually composed of keyboards, displays, communication interfaces, memory, A/D
[Microcontroller]
Design of peripheral interface circuit of single chip microcomputer based on FPGA
Microcontroller keyboard detection and application
The keyboard is an important input device in the microcontroller application system and is the link to realize human-computer dialogue. Keyboards are mainly divided into two categories: coded keyboards and non-coded keyboards. The key opening and closing recognition is realized by a hardware encoder, which is called a
[Microcontroller]
1-wire system TM card single chip equivalent replacement
1 TM Card Introduction TM (Touch Memory) card is a patented product of Dallas Company in the United States. It uses single-line protocol communication and completes data reading and writing through instant touch. It has the ease of operation of contactless IC cards and the cheapness of contact IC cards. It
[Microcontroller]
1-wire system TM card single chip equivalent replacement
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号