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.
2.2 Pin Description
Table 1 is the pin function description of VGG12864E-S001.
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.
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.
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
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Showing goods + Qualcomm original QCA4020 development board
- CC2540 CC2541 low power consumption test and summary
- CRC (Cyclic Redundancy Check) Calculation Tool
- How to enable TI 15.4-Stack to support 470M frequency band
- EEWORLD University - SimpleLink Wi-Fi CC3120 Project Introduction
- How to communicate between ARM and DSP (non-multi-core SOC)
- OC5501-OC5502-LED automotive high and low beam solutions (no diode design, applied to automotive lights, MR16, architectural lighting)
- Share: About the working principle of fast charging
- Xiaomi 22.5W 10000 mAh fast charging power bank disassembly
- I would like to ask you guys, do I need to draw PCB in electronic competitions?