Study of LED Electronic Writing Screen based on Single Chip Dengjin Wu 1

Similar documents
Research on Mine Gas Monitoring System Based on Single-chip Microcomputer

Based on a Single Chip Microcomputer to Realize Electronic Clock Design and Analysis

Design and Implementation of LED Display Screen Controller based on STM32 and FPGA Chi Zhang 1,a, Xiaoguang Wu 1,b and Chengjun Zhang 1,c

Design and Simulation of Temperature Data Acquisition System based on Proteus. Jinghui Su

Temperature Control System of Cold Storage

Research of digital temperature measurement system in vacuum thermal test based on DS18B20

A Tentative Study on Ward Monitoring System based on Zigbee Technology Jifeng Liang

Research and Design of Universal Proportional Valve Controller

Design of Bicycle mileage Speed Meter

The Design of Wireless Data Collector based on WIA-PA Ligang Li 1,2,a, Zhongfeng Wang 1,2,b, Jianlong Huang 1,2,c

The engine temperature real-time monitoring instrument based on Microcontroller. Wang Jiayue, Yue Yuntao, Luan Ru, Zhang Jianghui Qin Xin

Research on Device Control System Design Based on Stepping Motor. Zhongyong Tian

PIC DESIGN (version 1) 2/11/2009

An intelligent LED landscape lighting system

Design of a Novel Circuit for Chinese Art Colored Lantern Based on Proteus Simulation Environment

Design and Research of Intelligent Remote Control Fan Based on Single Chip Microcomputer and Bluetooth Technology

Design of Digital Voltmeter for Microcontrollers

The Design of Electronic Color Screen Based on Proteus Visual Designer Ting-Yu HOU 1,a, Hao LIU 2,b,*

Human heart rate detector based on photoelectric volume

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

Input: is any data or instructions that are used by a computer.

International Power, Electronics and Materials Engineering Conference (IPEMEC 2015)

Professional Radio GM Series. Controlhead Service Information

World Scientific Research Journal (WSRJ) ISSN: Design and Implementation of Stepper Motor Control System

TFT-LCD Technology Introduction

Design of the Control System for Step Motor Based on MCU

GSM MODULE BASED SMART NOTICE BOARD

Keywords Digital IC tester, Microcontroller AT89S52

The Design of Embedded MCU Network Measure and Control System

Rear Distance Detection with Ultrasonic Sensors Project Report

Study of Smart Home System based on Zigbee Wireless Sensor System. Jie Huang 1

Parallel Display Specifications Revision 1.0

CHAPTER 5. Voltage Regulator

Parallel Display Specifications Revision 1.0

Parallel Display Specifications Revision 1.1

Design of Greenhouse Temperature and Humidity Monitoring System Based on ZIGBEE Technique Ming Xin 1,a, Wei Zhongshan 1,b,*

Study on the Application of CAN Technology in Elevator Control System

Wireless Multipoint Temperature Detection System Design

Research on Device Control System Design Based on Stepping Motor Wu Dongyan 1, Xu Wen 1, Wang Mingge 2, Jiang Ruochong 1, Jiang Lifeng 1

LED Matrix Scrolling using ATmega32 microcontroller

1519L Multifunction 15-inch Desktop Touchmonitor

UNIT II SPECIAL SEMICONDUCTOR DEVICES

Control System for Electrical Exploding Wire Opening Switch Experimental Equipment

Design of analog acquisition and storage system about airborne flight data recorder

A0021. Overview. Features. Ordering Information. HSS Touch Signature IC 6 Input - I 2 C. Part Number Format: A X Y Z

The Four Layers Elevator Control System Design Based on S7-200 PLC Xianjie Feng

Design of EIB-Bus Intelligent Control System Based on Touch Screen Control

A0061. Overview. Features. Ordering Information. HSS Touch Signature IC 15 Input - I 2 C. Part Number Format: A X Y Z

MiCOKit-3166 Development Kit Hardware Manual

APPLICATION NOTE 655 Supervisor ICs Monitor Battery-Powered Equipment

ARM 11 Based Industrial Dust Cleaner Using High Voltage Pulse Power Supply

The Design of the Sensor Node of IOT Based on SIM20 KUANG Xinghong 1, a,yao Zheyi 1, b, Huo haibo 1, c, Li junjun 1, d, Wu yanxiang 1, e

Basic Interface Techniques for the CRD155B

Design of Underground Current Detection Nodes Based on ZigBee

INTRODUCTION. Mechanical Considerations APPLICATION NOTE Z86E21 THERMAL PRINTER CONTROLLER ZILOG

PVK40. User's manual. Feature Rich Development and Educational Kit for 40-pin Microchip PIC microcontrollers

Mechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6

ECE Fall 2016

POWER SAVER METER USING MICROCONTROLLER TO SAVE ELECTRICITY UPTO 30-40%

EF-S1 SERIES. Continuously check invisible static electricity in lines. Constantly check static in lines!

Build Your Own Home Security System

LCD MODULE SPECIFICATION. Model : CT57M3224A _ - Revision 01 Engineering Jackson Fung Date 22 July 2016 Our Reference

Optoelectronics DESign guide

Connector Built-in U-shaped Micro Photoelectric Sensor. Approximately 60 % of previous model Detachable

Tube Liquid Sensor OPB350 / OCB350 Series (Calibration Circuit Available)

3.2inch SPI Module MSP3218 User Manual

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1

RA8806. Two Layers Character/Graphic LCD Controller Specification. Simplify Version 1.1 October 15, 2008

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

Capacitive Touch Based User Interfaces and Hardware-based Solutions

Optimum sensing capability for LCD manufacturing

Zone Pressure Touch (ZPT) Sensor - Standard Range

Design of Intelligent Garbage Bin

CHAPTER 1 MICROCOMPUTER SYSTEMS. 1.1 Introduction. 1.2 Microcontroller Evolution

The intelligent weather station system based on Arduino

DS2401 Silicon Serial Number

Supply voltage. Input current. Encoder supply. Memory SIMATIC S7-200, CPU 221 COMPACT UNIT, DC POWER SUPPLY 6 DI DC/4 DO DC, 4 KB CODE/2 KB DATA,

NPN output PNP output Cord connection Cord length: 2 m Through-beam 7 m Light-ON. 2 m. (selectable by wiring) Diffuse reflective 0.

Supply voltage. Input current. Encoder supply. Memory

DOCUMENT REVISION HISTORY 1:

The Design of Embedded Remote Intelligent Automotive Monitoring System based on GSM. Lijun Gao

Applications of 8051 Microcontrollers

TS04. 4-Channel Self Calibration Capacitive Touch Sensor SPECIFICATION V2.0

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

IST ULTRASTAB Power Supply for high precision transducers

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

AC : DESIGN OF DATA ACQUISITION SYSTEM FOR COMPUTER ENGINEERING EDUCATION

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

BMS: Installation Manual v2.x - Documentation

Layad Circuits Arduino Basic Kit B. Content Summary

Developement of Multi Interface Board for Educational Trainer Kit

This Part-A course discusses techniques that are used to reduce noise problems in the design of large scale integration (LSI) devices.

Hello, and welcome to this presentation of the STM32 Touch Sensing Controller (TSC) which enables the designer to simply add touch sensing

Design of the Storage Battery Online Monitoring System

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

The IIC interface based on ATmega8 realizes the applications of PS/2 keyboard/mouse in the system

Zone Pressure Touch (ZPT) Sensor with Attached Tube (-AT) - Low Pressure Range Unit Installation and Operation Instructions

Stellar Instruments. SC1 Controller & Display System. General User s Manual. Copyright 2013 Stellar Instruments 1

RT mA 5-Channel Charge Pump White LED Driver with Low Dropout Current Source. Features. General Description. Applications. Pin Configurations

Goal: We want to build an autonomous vehicle (robot)

Transcription:

4th National Conference on Electrical, Electronics and Computer Engineering (NCEECE 2015) Study of LED Electronic Writing Screen based on Single Chip Dengjin Wu 1 1 North China Electric Power University, Beijing, 10206 hunter2011@foxmail.com Keywords: STC89C52; LED Color Dot Matrix; Infrared Phototransistor Light Pen Abstract. LED display design hardware consists of STC89C52 smallest single-chip system, 32 32 dot matrix color display arrays, light pen, buttons, LCD display and other components. Color dot matrix red LED is always working in dimly lit scan status, lit STC89C52 microcontroller use homemade light pen infrared phototransistor to detect light strokes and position the red LED lights, calculate from the ranks of coordinate light pen position, and according to key settings different operating mode to control LED display, enable lit, scratch, reverse display, the screen is cleared, strokes drag, rotate display. Display according to ambient light intensity automatically adjusts the display brightness of the display, within a set time when the light pen is not touching the display or button is not pressed close all display and the system enters hibernation, reduce power consumption, when a key press the system resumes. Introduction LED closely watched since birth, LED is called the fourth generation light source or green light, energy saving, environmental protection, long life, small size and other characteristics, widely used in various directions, display, decoration, backlight, general urban landscape lighting and other fields. One especially in the 21st century, LED display as the leading flat panel display products will undoubtedly have a greater development, and there may be twenty-first century representation of mainstream flat panel display products. Dot matrix LED display module using the dot or pixel unit composed of the light-emitting diode display screen variable area with high reliability, long life, environmental adaptability, high cost performance, low cost, has been as many outdoor display media and electronic tools work displayed, widely used in railway stations, hotels, finance, securities, telecommunications and sports advertising or transportation and other industries. LED display current design has a variety of methods can be achieved, but the market can only be done using the electronic display simple display effect. Achieve more functionality on the PC to be in reality. This work is based on single-chip design STC89C52 the corresponding light pen detection module circuit and led the writing circuit diagram display modules, transistors induction led from the faint light emitted, thereby resistance to change, resulting in changes in high and low, the level of using SCM level analog signal into a digital signal, by program control, the signal is passed to each module, and then converted to an analog signal, through change in the potential of the corresponding led is lighted, and lcd led writing display screen the coordinates of the corresponding led is lit on the display, and control LED display depending on the mode button set to achieve lighting, zoned light, reverse display, the screen is cleared, strokes drag, rotate display. Make led display more controllable. System Design The Overall System Design. According to the photoelectric effect, PN junction in the excitation light can change its resistivity, while the LED is a PN junction, so the possibility of using PN junction characteristics LED dot matrix light-sensitive screen to complete it? After a simple experiment to explore, we find LED itself has good photosensitivity, this way, the screen can take full advantage of the photosensitive characteristics of the photosensitive LED to achieve. In this paper, the use of a 8 8 dot matrix screen, combined with a STC89C52 MCU having a photosensitive function of lattice screen, shown in Figure 1. 2016. The authors - Published by Atlantis Press 171

5 2 6 3 4 1 Fig. 1 LED writing display overall view Where: 1: Key Module 2: led dot matrix screen writing 3: light pen detection module 4: LCD Display Module 5: led writing display enclosure 6: Wiring mouth System consists of a microprocessor STC89C52, 32 32-color LED dot matrix display, a light pen and the detection circuit, the external light intensity detecting circuit, a key input circuit, the liquid crystal display module composed of several parts. There STC89C52 the microcontroller chip chip RAM 1KB, it is possible to save the four-screen display information to meet the requirements, the high cost microcontroller. System diagram shown in Figure 2. Fig. 2 System schematic Light Pen and Detection Circuit. Infrared phototransistor homemade is used to make light pen, light pen detection circuit shown in Figure 4. Q 2 is a figure with an infrared phototransistor, used to complete the detection of the 32 32 dot matrix red LED lights on or off; R_6, R_p1 for Q_2 be limiting, the other can also be adjusted to increase or decrease R_p1 value of the output voltage; 172

R_7, R_8 is used to U3A (comparator) phase ends with a reference voltage value, with the collection of information through its output voltage value Compare (U_2> U_3, U_1 = U_min), R_12 U3A is output on the pull-up resistor. It works as follows: when the popular light to infrared phototransistor, infrared phototransistor resistance becomes smaller, its emitter voltage increases, then the 2-pin voltage is higher than 3 feet voltage, the comparator output is low 1 side. After charging the capacitor C_11 period of time, the comparator 2 feet to 3 feet voltage low voltage comparator 1 output is high end. Thus, when the optical signal is detected, the circuit generates a pulse signal. Due to the addition of the coupling capacitance in the circuit, it can effectively prevent the impact of environmental light pen. In this system, light pen is a very important aspect, in order to better stabilize the work, you must add the appropriate anti-jamming measures. In terms of signal transmission using shielded coaxial soft copper wire, infrared phototransistor peripheral jacket with black shrink tube, infrared optical transistor is smaller than the diameter of a single LED lights to ensure less interference from outside infrared. Fig. 3 Light pen detection circuit LED Color Dot Matrix Display and Driver Circuit. LED color (red, green) lattice models are many, one of the most commonly used 4 4,8 8,16 16 modules, this design requires a 32 32-color display, the display brightness, the volume of the designers define their own. Taking into account the factor purchases, choose 32 32 dot matrix display screen by the 16 8 8-color dot matrix module, use the 74HC154 and 74HC595 chips to drive the display, working from the serial port in Mode 0 (speed) will be displayed information quickly into the 74HC595. LED is a non-linear component, both when it reaches a certain voltage value, by its own current will rise sharp. Consider 32 32 dot-matrix light-emitting diodes by the 1024, when the current is large when they are lit simultaneously, it must consider the power supply capacity. General LED current value of 5 ~ 20mA, taking the maximum 20mA, simultaneously lit two lines, there are: I = 20 64 = 1280mA. Ambient Light Detection Circuit. Ambient light detecting circuit is shown in Figure 4. R_p photoresistor circuit in series with a fixed resistor R_9, the illumination change is converted to voltage changes, this voltage signal to analog to digital converter (A / D) by chip AD833, by the 5 feet into the microcontroller processing to control the brightness adjustment. According to the partial pressure of principle, we are: Visible choose a different resistance R_9 can change the size of V_in of the input signal within the appropriate range. R_p photoresistor resistance change with changes in illumination is 3 ~ 4kΩ, by the above formula to calculate the R_9 is 3 ~ 4KΩ, take R_9 = 4KΩ. 173

Fig. 4 External light detection circuit Software Design. System software uses C language programming, software development and debugging in Keil uv3 programming environment. In order to facilitate writing and debugging, the program uses a modular design, based on the keys, light pen scanner, LED dot matrix display, LCD LCD, brightness adjustment and other functions are the design process, greatly simplifying the process design and commissioning work, save design cycle. The main program started internal function registers, ports, LCD initialization module, and then scanning the pen position in the main loop, LED display buffer data update, LED dot matrix output, the LCD module outputs, the visible brightness detection, low power consumption judgment and other functions. In the timer interrupt routine is carried out keypad scanning, complete the identification display mode, the corresponding information display mode and cursor coordinates are displayed on the LCD module. System Test The design of the test requirements and the results are shown in Table 1. By test results show that the system can achieve the lighting of the design requirements, zoned light, reverse display, the screen is cleared, strokes drag, rotate display, display brightness adjustment, sleep mode and other major functions. Table 1 Test results Test items Test Results Lit, of light, reverse display, the screen is clear, Complete lighting, zoned light, reverse display, the entire screen clears. Object Drag You can display the contents of the selected light pen on the screen as you drag. First light pen to draw on the screen in bright fashion delineation want dragging display objects, and then drag the stylus to move the image to another location on the screen. Ligatures multi-word Optional erase mode can be combined in the 30s internal screen with "scratched" wrote four Chinese characters, one by one (total not more than 30 strokes), and stored in the machine, and then will be stored in four words written on the screen by-turn display. When the ambient light intensity When the ambient light intensity changes, can automatically and changes, can automatically and continuously adjust the brightness of the display on the screen. continuously adjust the brightness of the display on the screen. Timeout off display power saving 1~5min (This time is set by the controller) can automatically turn off the display on the screen, and the entire system into hibernation, then the system working current less than 5mA. Conclusion LED display design hardware consists of AT89C52 minimum system, 32 32 dot matrix display arrays, light pen and detection circuit, ambient light intensity detection circuit, a key input circuit, a liquid crystal display and other components. Dot red led is always working in dimly lit scan status, AT89C52 microcontroller use lit homemade light pen infrared phototransistor to detect light strokes and position the red led lights, calculated from the ranks of coordinate light pen position, and 174

according to the key set led display control different operating modes, enabling lit, scratched, reverse display, clear the screen and other functions. Display according to ambient light intensity automatically adjusts the display brightness of the display, within a set time when the light pen is not touching the display or button is not pressed close all display, and the system enters hibernation, reduce power consumption, when a key Press when the system resumes. System software uses C language programming, software development and debugging in Keiluv3 programming environment. In order to facilitate writing and debugging, the program uses a modular design, based on the keys, light pen scanner, led dot matrix display, LCD, brightness adjustment and other functions are the design process, greatly simplifying the process design and commissioning work, save design cycle. Department of the main program started internal function registers, ports, LCD initialization module, and then scanning the pen position in the main loop, led display buffer data updating, led dot matrix output, the LCD module outputs, the visible brightness detection, low power consumption Analyzing and other functions. In the timer interrupt routine is carried out keypad scanning and complete the identification display mode, the corresponding information display mode and cursor coordinates are displayed on the LCD module. In the design process of the system, using a combination of software and hardware, full software programming flexibility, and maximize mining microcontroller hardware resources. The system is cost-effective, stable operation, low energy consumption, showing good results. References [1] J.X. Gao. National Undergraduate Electronic Design Contest Training Tutorial Series. Beijing: Electronic Industry Press, 2009. [2] Z.W. Huang. National Undergraduate Electronic Design Contest Training Course. Beijing: Electronic Industry Press, 2005. [3] X.C. He. 365 Cases of Common Electronic Applications. Beijing: Electronic Industry Press, 2006. [4] X. Zhang, C.P. Wang. C Language Program Design Basis. Beijing: Beijing Institute of Technology Press, 2006. [5] R.G. Xu, Z.Z. Liao. Single-Chip Microcomputer Application Technology. Beijing: Mechanical Industry Press, 2007. 175