LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580
|
|
- Oswald West
- 5 years ago
- Views:
Transcription
1 LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F OBJECTIVES: 1.1 To learn how to interface LCD 16x2, Keypad 4x4 and 7Segment Display to the microcontroller. 1.2 To program LCD using the assembly language. 1.3 To program Keypad 4x4 and LCD using the assembly language. 1.4 To program Keypad 4x4 and 7 Segment Display using the assembly language. 1.5 To program Keypad 4x4 and UART using the assembly language. 1.6 To draw the circuit and running the PROTEUS simulation. 1.7 To construct the hardware. 2. COMPONENTS AND EQUIPMENTS: 2.1 Mplab IDE 2.2 Sk4B/SK4C 2.3 Proteus 7.6 software 2.4 Resistor (4.7kΩ, 33Ω,1kΩ) 2.5 Led 2.6 Push Button Switch 2.7 Breadboard 2.8 AC-to-DC Adaptor (9V Selected Point) 2.9 Pickit2 programmer UICA 2.1 Pickit2 programmer software 2.11 Serial cable/usb serial port 2.12 HyperTerminal software 2.13 Virtual serial port software Segment Display 2.15 LCD 16x Keypad 4x Potential Meter 5kΩ N394 (NPN-Transistor) 3. INTRODUCTION: 3.1 LCD 16x LCD Pin Descriptions - 1 -
2 Pin Symbol I/O Description 1 GND -- Ground (V) 2 VDD -- +5V power supply 3 V -- Power Supply for LCD 4 RS I RS= to select COMMAND register (send command) RS=1 to select DATA register (send data) 5 R/W I R/W= for WRITE to LCD R/W=1 for READ from LCD 6 E I/O Enable 7 DB I/O The 8-bit data bus 8 DB1 I/O The 8-bit data bus 9 DB2 I/O The 8-bit data bus 1 DB3 I/O The 8-bit data bus 11 DB4 I/O The 8-bit data bus 12 DB5 I/O The 8-bit data bus 13 DB6 I/O The 8-bit data bus 14 DB7 I/O The 8-bit data bus 15 BL1 -- Backlight Power (+5V) 16 BL2 -- Backlight Power (V) LCD Pin Configurations Table1: LCD pin descriptions VSS VCC VEE RS R/W E DB DB1 DB2 DB3 DB4 DB5 DB6 DB7 LED+ LED- Table2: LCD pin configuration LCD Command Codes The 8-bit data pins D-D7 are used to send information to the LCD or read the contents of the LCD s internal registers. We send ASCII codes to display letters or numbers while making RS=1. Code (HEX) Command to LCD Instruction Register. 1 Clear display screen 2 Return home 4 Decrement cursor (shift cursor to left) 6 Increment cursor (shift cursor to right) 5 Shift display right 7 Shift display left 8 Display off, cursor off A Display off, cursor on C Display on, cursor off E Display on, cursor blinking off - 2 -
3 F Display off, cursor blinking on 1 Shift cursor position to left 14 Shift cursor position to right 18 Shift the entire display to the left 1C Shift the entire display to the right 8 Force cursor to beginning of 1 st line C Force cursor to beginning of 2 nd line 38 2 lines and 5x7 matrix Table3: LCD command codes LCD Connection PIC 18 LCD RD D VDD V RD7 D7 GND RS R/W E RC RC1 RC2 Figure1: LCD pin connections to microcontroller Sending Data and Command to LCD There are two ways to send characters (command/data) to the LCD: Use a delay before sending the next one. Use the busy flag to see if the LCD is ready for the next one
4 Using a time Delay The delay between issuing each character to the LCD is about 5-1mS (we call it simply DELAY). In programming an LCD, we also need a long delay for the power-up process, (we call it long delay LDELAY). In order to enable LCD s input, the short delay is needed to make the En signal wide enough. Using Busy Flag \ 3.2 KEYPAD 4x4 The busy flag is D7, and can be read when R/W=1 and RS=. When D7 =1 (busy flag=1), the LCD is busy taking care of internal operations and will not accept any new information. When D7=, the LCD is ready to receive new information. Usually keyboards organized in a matrix of rows and columns. The CPU accesses both rows and columns through ports. When a key pressed, a row and column make a contact; otherwise there is no connection between rows and columns. To interface keypad, we must have two processes a) key press detection, and b) key identification. There are two ways, to perform key press detection: The interrupt method (PortB-Change interrupt can be used) Scanning method Interrupt Method using PORTB Change Interrupt By using 4x4 matrix keypad connected to PORTB. The rows are connected to PORTB-Low (RB-RB3) and the columns are connected to PORTB-High (RB4-RB7), which is the PORTB-Change interrupt. Note: Refer your reference book at pages for details information using PORTB change interrupt A B C * # D
5 Figure 2: Matrix Keypad Connections to Ports Figure3: Keypad 4x4 KEYPAD 4x4 RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB C1 C2 C3 C4 R4 R3 R2 R A B C * # D PIC18F458 C1 C2 C3 C4 R1 R2 R3 R4 Figure 4: Keypad pin connections to microcontroller - 5 -
6 Figure 5: Key Press Detection Flowchart
7 3.2.2 Scanning Method Figure 6: Flowchart of Scanning Method for Key Press Detection - 7 -
8 3.3 7SEGMENT DISPLAY A seven-segment display (SSD), or seven-segment indicator, is a form of electronic display device for displaying decimal numerals that is an alternative to the more complex dot-matrix displays. Seven-segment displays are widely used in digital clocks, electronic meters, and other electronic devices for displaying numerical information. The SSD consists of 7 LED s described from figure 6 below. Usually SSD was made in two types which are common cathode and common anode but here we are focus in common anode only Segment Display Pin Connections +5V MSB G 1 PORTD7 ANODE F 2 PORTD6 E D DP C B 4 PORTD5 5 PORTD4 6 PORTD3 7 PORTD2 9 PORTD1 A 3,8 1 PORTD 7-SEGMENT LSB PIC18F458 Figure7: common anode 7segment display pin connections to microcontroller
9 Segment Display Label Figure8: 7Segment Visual Structure Segment Truth Table Common Anode MICRONTROLLER PORTD DATA POTRD7 POTRD6 POTRD5 POTRD4 POTRD3 POTRD2 POTRD1 POTRD DIPLAY G F E D DP C B A A 1 B 1 1 C D 1 1 E F Table 4: 7segment display truth table common anode - 9 -
10 4. PROCEDURES. a. Copy the source code from the source code file and design the circuit by using the PROTEUS has shown in Figure 9 and Table 5 at appendices. Load the program onto the simulation and running the simulation for LCD source code. b. Construct the hardware and prove the results by compare with simulation. c. Copy the source code from the source code file and design the circuit by using the PROTEUS has shown in Figure 1 and Table 6 at appendices. Load the program onto the simulation and running the simulation for Keypad and LCD source code. d. Construct the hardware and prove the results by compare with simulation. e. Copy the source code from the source code file and design the circuit by using the PROTEUS has shown in Figure 11 and Table 7 at appendices. Load the program onto the simulation and running the simulation for Keypad and 7Segment Display source code. f. Construct the hardware and prove the results by compare with simulation. g. Copy the source code from the source code file and design the circuit by using the PROTEUS has shown in Figure 12 and Table 8 at appendices. Load the program onto the simulation and running the simulation for Keypad and HyperTerminal source code. h. Construct the hardware and prove the results by compare with simulation. 5. APPENDICES
11 Components CAP CYSTAL Figure 9: Interfacing with LCD connection Values/Configurations 22pF X1 (2Mhz) PIC18f458(U1) FREQ = 2MHZ RES SWITCH LCD POT R1=4.7k SW RESET LM16L RV1=5k Table 5: Components Figure 1: Interfacing with Keypad 4x4 and LCD connection Components CAP Values/Configurations 22pF
12 CYSTAL X1 (2Mhz) PIC18f458(U1) FREQ = 2MHZ RES SWITCH LCD POT KEYPAD R1=4.7k SW RESET LM16L RV1=5k KEYPAD-SMALLCALC Table 6: Components Figure 11: Interfacing with Keypad 4x4 and 7segment display connection Components CAP Values/Configurations 22pF
13 CYSTAL X1 (2Mhz) PIC18f458(U1) FREQ = 2MHZ RES SWITCH Q1 POT R1=4.7k, R2-R9=33, R1=1k SW RESET 2N394 (NPN) RV1=5k 7 Segment 7SEGMENT-COM-AN-GREEN Table 7: Components Figure 12: Interfacing with Keypad 4x4 and HyperTerminal connection Components CAP CYSTAL Values/Configurations 22pF X1 (2Mhz)
14 PIC18f458(U1) FREQ = 2MHZ RES SWITCH COMPIM(P1) R1=4.7k SW RESET Port = com1, baud rate = 96, Data bits = 8, Parity = NONE. Table 8: Components Figure 13: Schematic and Pin Connection 2N
LCD. Configuration and Programming
LCD Configuration and Programming Interfacing and Programming with Input/Output Device: LCD LCD (liquid crystal display) is specifically manufactured to be used with microcontrollers, which means that
More informationINTERFACING 16 2 LCD WITH 8051
INTERFACING 16 2 LCD WITH 8051 LCD display is an inevitable part in almost all embedded projects and this article is about interfacing 16 2 LCD with 8051 microcontroller. Many guys find it hard to interface
More informationRFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.
PR8-B RFID: Read and Display V2010 Version 1.1 Sept 2010 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion
More informationInput/Output Ports and Interfacing
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning Basic I/O Concepts Peripherals such as LEDs and keypads are essential
More informationDEV-1 HamStack Development Board
Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,
More informationDisplay Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.
Display Real Time Clock (RTC) On LCD PR12 Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion
More informationCLCD1 Serial 1 wire RS232 LCD development board
CLCD1 Serial 1 wire RS232 LCD development board Can be used with most 14 pin HD44780 based character LCD displays Use with 1,2,3 or 4 line displays. (Four line LCD shown above) Shown assembled with optional
More informationSK40C ENHANCED 40 PINS PIC START-UP KIT. User s Manual V1.3. March 2012
SK40C ENHANCED 40 PINS PIC START-UP KIT User s Manual V1.3 March 2012 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be
More informationPIC 28 Pin Board Documentation. Update Version 5.0
PIC 28 Pin Board Documentation Update 2009.10 Version 5.0 Table of Contents PIC 28 Pin Board Documentation... 1 Table of Contents... 2 Introduction... 3 Circuit Schematic... 4 The following is the Circuit
More informationChapter 9. Input/Output (I/O) Ports and Interfacing. Updated: 3/13/12
Chapter 9 Input/Output (I/O) Ports and Interfacing Updated: 3/13/12 Basic Concepts in I/O Interfacing and PIC18 I/O Ports (1 of 2) I/O devices (or peripherals) such as LEDs and keyboards are essential
More informationApplications of 8051 Microcontrollers
Applications of 8051 Microcontrollers INTRODUCTION: A microcontroller is a versatile chip which can be used in various fields starting from simple consumer electronics, measuring devices to high end medical,
More informationLaboratory 10. Programming a PIC Microcontroller - Part II
Laboratory 10 Programming a PIC Microcontroller - Part II Required Components: 1 PIC16F88 18P-DIP microcontroller 1 0.1 F capacitor 3 SPST microswitches or NO buttons 4 1k resistors 1 MAN 6910 or LTD-482EC
More informationTic-Tac-Toe with mtouch. Version 1.0. June Cytron Technologies Sdn. Bhd.
Tic-Tac-Toe with mtouch PR28 Version 1.0 June 2010 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion only
More informationLCD MODULE 1x mm INCL. CONTROLLER HD 44780
12.2003 LCD MODULE 1x8-11.48mm INCL. CONTROLLER HD 44780 Issue 04.2011 no more mounting required Dimension 68 x 27 mm 11mm flat even with LED B/L FEATURES * HIGH CONTRAST LCD SUPERTWIST DISPLAY GRAY OR
More informatione-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interfacing External Devices using Embedded C Module No: CS/ES/22
e-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interfacing External Devices using Embedded C Module No: CS/ES/22 Quadrant 1 e-text In this lecture interfacing of external devices
More informationLCD MODULE 4x mm INCL. CONTROLLER SSD1803
LCD MODULE 4x20-3.75mm INCL. CONTROLLER SSD1803 Issue 4.2013 EA DIP203J-4NLW EA DIP203G-4NLED Dimension 68 x 27 mm EA DIP203B-4NLW Dimension 75 x 27 mm FEATURES * HIGH CONTRAST LCD SUPERTWIST DISPLAY *
More informationEngr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka
Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka INTRODUCTION Microcontroller vs General Purpose Microprocessor General-purpose microprocessors contains No RAM No
More informationDual Interface LCD Display Controller
Dual Interface LCD Display & Keypad Controller Product specification Nov 2013 V0.a ByVac Page 1 of 11 Contents 1. Introduction... 3 2. Features... 3 3. BV4618, Comparison... 3 3.1.1. BV4618... 3 3.1.2....
More informationLecture (09) PIC16F84A LCD interface LCD. Dr. Ahmed M. ElShafee
Lecture (09) PIC16F84A LCD interface PIC16F84A LCD interface Assignment 01, 4 Zones fire controller board Assignment 02, automatic water tank controller Dr. Ahmed M. ElShafee ١ ٢ LCD LCD (Liquid Crystal
More information中显液晶 技术资料 中显控制器使用说明书 2009年3月15日 北京市海淀区中关村大街32号和盛大厦811室 电话 86 010 52926620 传真 86 010 52926621 企业网站.zxlcd.com
http://wwwzxlcdcom 4 SEG / 6 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD June 2 Ver Contents in this document are subject to change without notice No part of this document may be reproduced or transmitted
More informationUniversity of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.
University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 08 UART Communication Goals: Learn about UART Communication and the
More informationSANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1
SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC
More informationSLCD1-IC Serial LCD Processor
SLCD1-IC Serial LCD Processor Diagram 1: LCD Pin 13 LCD Pin 14 1 2 18 17 LCD Pin 12 LCD Pin 11 N/C 3 16 8 MHz Osc DC 4 15 8 MHz Osc Ground 5 14 DC Serial Input True/Inverted 6 7 13 12 LCD Pin 6 LCD Pin
More informationAN1745. Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas. Introduction
Order this document by /D Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas Introduction More and more applications are requiring liquid crystal displays
More informationLCD AND KEYBOARD INTERFACING
LCD AND KEYBOARD The 8051 Microcontroller and Embedded Systems: Using Assembly and C Mazidi, Mazidi and McKinlay Chung-Ping Young 楊中平 Home Automation, Networking, and Entertainment Lab Dept. of Computer
More informationMechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6
Mechatronics and Measurement Lecturer:Dung-An Wang Lecture 6 Lecture outline Reading:Ch7 of text Today s lecture: Microcontroller 2 7.1 MICROPROCESSORS Hardware solution: consists of a selection of specific
More informationLABORATORY 1 INTRODUCTION TO 8085 MICROPROCESSOR DEVELOPMENT SYSTEM BOARD
LABORATORY 1 INTRODUCTION TO 8085 MICROPROCESSOR DEVELOPMENT SYSTEM BOARD 1. INTRODUCTION TO 8085 MICROPROCESSOR DEVELOPMENT SYSTEMS. The basic components of the 8085 Microprocessor Development System
More informationEXPERIMENT 4: Parallel Input/Output. Objectives Introduction to the Parallel Input/Output (I/O) Familiarization to Interfacing
EXPERIMENT 4: Parallel Input/Output Objectives Introduction to the Parallel Input/Output (I/O) Familiarization to Interfacing Components' List: 1. Protoboard 2. 4 x pushbutton 3. 4 x 330Ω resistor 4. 4
More informationThe FED PIC Flex 2 Development Boards
The FED PIC Flex 2 Development Boards THE FED PIC Flex Development board offers a host for 28 or 40 pin devices and includes LED's, switches, transistor switches, USB interface, serial port, support circuitry,
More informationEE389 EDL Report, EE Deptt., IIT Bombay, Nov RF linked Handheld Terminal
ABSTRACT EE389 EDL Report, EE Deptt., IIT Bombay, Nov. 2004 RF linked Handheld Terminal Group No.: D14 Shakti Prakash Chittara 01d07022, Dheeraj Sarwaiya 01d07021 Supervisor: Prof. P.C.Pandey There is
More informationBV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9
Product specification December 2008 V0.a ByVac 2006 ByVac Page 1 of 9 Contents 1. Introduction...3 2. Features...3 3. Electrical Specification...3 4. I2C set...4 5. The LCD Set...5 5.1. 1...5 5.2. 2...5
More information3.Absolute maximum ratings Item Symbol Standard Unit Power voltage VDD-VSS Input voltage VIN VSS - VDD
SPECIFICATIONS OF LCD MODULE 1.Features a) 240x128 dots graphic LCD module b) Built-in controller (T6963C) c) STN yellow-green mode, Transflective, Positive d) View angle: 6:00 o clock e) +5V power supply
More informationET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features
ET-PIC 24 WEB-V1 ET-PIC 24 WEB-V1 is PIC Board Microcontroller from Microchip that uses 16 Bit No.PIC24FJ128GA008 Microcontroller for processing data and develops board. The remarkable specification of
More informationUSB232 board EB Technical datasheet
USB232 board EB039-00-1 Technical datasheet Contents 1. About this document...2 2. General information...3 3. Board layout...4 4. Testing this product...5 5. Circuit description...7 Appendix 1 Circuit
More informationDevice: DSP-7S04H. This document Version: 1. Date: 23 March Description: 2.3 4x 7 segment display module with decimals
Device: DSP-7S04H This document Version: 1 Date: 23 March 2015 Description: 2.3 4x 7 segment display module with decimals Matches module hardware version: [28 Jan 2015 v2] Table of Contents DSP-7S04H HW
More informationDescription: 4x 7 segment display module with decimals and colon
Device: DSP-7S04B This document Version: 1.0 Date: 19 October 2013 Description: 4x 7 segment display module with decimals and colon Matches module hardware version: [30 Sep 2013 v3] Table of Contents DSP-7S04B
More informationLab 3 LCD Mar
Lab 3 LCD Mar. 2016 1 Objective 1. To be familiar with advanced output devices that can be connected to microcontroller. 2. To be able to work with many input/output devices together. Alphanumeric LCD
More informationmelabs Serial LCD Firmware Version 1.0 2/7/07
melabs Serial LCD Firmware Version 1.0 2/7/07 The melabs Serial LCD (SLCD) can display serial data from either asynchronous RS232-style or synchronous I 2 C input. A range of baud rates from 2400 to 57,600
More informationDepartment of Electronics and Instrumentation Engineering Question Bank
www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I
More informationMOPS/386A (P389) MOPS/MZ and MOPSlcdMZ (PMZ1) MOPS/520 (P489) DOT Matrix Display on PC/104 Products
Related Products MOPSplus (P386) MOPS/386A (P389) MOPS/MZ and MOPSlcdMZ (PMZ1) MOPS/520 (P489) Subject Document Name Usage DOT Matrix Display on PC/104 Products DotMatrixPC104_E111.doc Common 1. REVISION
More informationEmbedded Systems and Software. LCD Displays
Embedded Systems and Software LCD Displays Slide 1 Some Hardware Considerations Assume we want to drive an LED from a port. The AVRs can either source or sink current. Below is a configuration for sourcing.
More information1602 SMART LCD DISPLAY MODULE HCMODU0122
62 SMART LCD DISPLAY MODULE HCMODU22 Revision.. DISCLAIMER This document is provided "as is". Hobby Components Ltd makes no warranties, whether express, implied or statutory, including, but not limited
More informationFireloch 4 Digit 7 Segment Programmable Display Module
NeoLoch FLS-4D7S-1010 Fireloch 4 Digit 7 Segment Programmable Display Module Features: 3 to 11 wire operation. Breadboard compatible. Compact design. Count up / down. Count in Hex / Dec. Two character
More information16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
6COM/4SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION is a dot matrix LCD driver & controller LSI which is fabricated by low power CMOS technology It can display, 2-line with 5 x 8 or 5 x dots
More informationUNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017
TW30 UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017 MICROPROCESSOR BASED SYSTEMS MODULE NO: EEM7016 Date: Wednesday 17 May
More informationmelabs Serial LCD Firmware Version 1.1 3/5/07
melabs Serial LCD Firmware Version 1.1 3/5/07 The melabs Serial LCD (SLCD) can display serial data from either asynchronous RS232-style or synchronous I 2 C input. A range of baud rates from 2400 to 57,600
More informationLCD03 - I2C/Serial LCD Technical Documentation
LCD03 - I2C/Serial LCD Technical Documentation Pagina 1 di 5 Overview The I2C and serial display driver provides easy operation of a standard 20*4 LCD Text display. It requires only a 5v power supply and
More informationBolt 18F2550 System Hardware Manual
1 Bolt 18F2550 System Hardware Manual Index : 1. Overview 2. Technical specifications 3. Definition of pins in 18F2550 4. Block diagram 5. FLASH memory Bootloader programmer 6. Digital ports 6.1 Leds and
More information16COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
6COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION The is a dot matrix LCD driver & controller LSI which is fabricated by low power CMOS technology It is capable of displaying or 2 lines with
More information2. (2 pts) If an external clock is used, which pin of the 8051 should it be connected to?
ECE3710 Exam 2. Name _ Spring 2013. 5 pages. 102 points, but scored out of 100. You may use any non-living resource to complete this exam. Any hint of cheating will result in a 0. Part 1 Short Answer 1.
More informationLCDs. Embedded Systems Interfacing. 20 September 2011
20 September 2011 How Polarizers Work How work How Color Work Other Technologies Reflective Nematic (no back light) Cholesteric Liquid Crystal Organic LED/Polymer LED Vacuum Florescent Display Display
More informationUser's Manual. ACPL-796J Opto-Isolated A/D Converter Evaluation Kit. Description. Preparation
ACPL-J Opto-Isolated A/D Converter Evaluation Kit User's Manual Description The ACPL-J Isolated Modulator (optocoupler) uses sigma-delta modulation to convert an analog input signal into a high-speed single-bit
More informationMCP2120/MCP2150 DEVELOPER S KIT USER S GUIDE
MCP2120/MCP2150 DEVELOPER S KIT USER S GUIDE Information contained in this publication regarding device applications and the like is intended by way of suggestion only. No representation or warranty is
More informationLab 5: LCD and A/D: Digital Voltmeter
Page 1/5 OBJECTIVES Learn how to use C (as an alternative to Assembly) in your programs. Learn how to control and interface an LCD panel to a microprocessor. Learn how to use analog-to-digital conversion
More informationManual of Board ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22
ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22 is Board Microcontroller in a series of PIC18F87K22 80-Pin TQFP from Microchip. It designs I/O of MCU on board to interface with CONNECTOR in the format
More informationCOMP2121: Microprocessors and Interfacing. I/O Devices (II)
COMP2121: Microprocessors and Interfacing I/O Devices (II) http://www.cse.unsw.edu.au/~cs2121 Lecturer: Hui Wu Session 2, 2017 1 Overview Keyboard LCD (Liquid Crystal Display) 2 2 Input Switches (1/2)
More informationEmbedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester
Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,
More informationContents. The USB Logic Tool... 2 Programming... 2 Using the USB Logic Tool... 6 USB Logic Tool Features... 7 Device Hardware...
USB Logic Tool Contents The USB Logic Tool... 2 Programming... 2 Using the USB Logic Tool... 6 USB Logic Tool Features... 7 Device Hardware... 11 The USB Logic Tool The device is meant to be a prototyping
More informationECE 372 Microcontroller Design
!! "! E.g. Port A, Port B "! Used to interface with many devices!! Switches!! LEDs!! LCD!! Keypads!! Relays!! Stepper Motors "! Interface with digital IO requires us to connect the devices correctly and
More informationJE-AN ELECTRONICS CO.,LTD. Spec. No: WG240128A
JEAN ELECTRONICS CO.,LTD. Spec. No: WG240128A LCD Module Specification 1.0 Table of Contents Page 1. Cover & Contents 1 2. Record of revision 2 3. General specification 3 4. Absolute maximum ratings 4
More informationLaboratory Exercise 7 - Extended I/O & Parallel Processing
Laboratory Exercise 7 - Extended I/O & Parallel Processing The purpose of this lab is to make an LED blink first by using the extended I/O function of the Microcontroller, and then by parallel processing
More informationUSER'S MANUAL PICEBS2. Hes-so//Valais / ISI / sap - version 1.0 PICEBS2-1/10
USER'S MANUAL PICEBS2 sap@hevs.ch Hes-so//Valais / ISI / sap - version 1.0 PICEBS2-1/10 TABLE OF CONTENTS 1 INTRODUCTION... 3 2 HARDWARE... 4 2.1 The USB power supply... 4 2.2 The USB debug connection
More informationLCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS
LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide Copyright 2008 IMS CONTENTS 1 INTRODUCTION... 3 2 MODULE CONNECTION... 3 2.1 I2C/Serial interface connector...4 2.2
More information16COM / 40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD
INTRODUCTION KS0066U is a dot matrix LCD driver & controller LSI whichis fabricated by low power CMOS technology It can display 1or 2 lines with the 5 8 dots format or 1 line with the 5 11 dots format
More informationLCD03 - I2C/Serial LCD Technical Documentation
LCD03 - I2C/Serial LCD Technical Documentation 2YHUYLHZ The I2C and serial display driver provides easy operation of a standard 20*4 LCD Text display. It requires only a 5v power supply and the two data
More informationDOT MATRIX CHARACTER LCD MODULE USER S MANUAL
DOT MATRIX CHARACTER LCD MODULE USER S MANUAL OPTREX CORPORATION Apollo Display Technologies Inc. 194-22 Morris Ave. Holtsville NY 11742 Phone: (516) 654-1143 Fax: (516) 654-1496 www.apollodisplays.com
More informationLab Experiment 9: LCD Display
Lab Experiment 9: LCD Display 1 Introduction Liquid Crystal Displays (LCDs) provide an effective way for processors to communicate with the outside world. The LPC2148 board used in the lab is equipped
More informationDemo 8 - Programmable Timer. Introduction:
Introduction: This demo describes a complete project meant for industrial timing applications. This is a complete one with all the required features to manage various time-based operations in the industrial
More informationLCD6402-DEV Development/Evaluation Board for the LCD6402B LCD6402-DEV Development/Evaluation Board for the LCD6402B
DATA SHEET LCD6402-DEV Development/Evaluation Board for the LCD6402B LCD6402-DEV (Rev 1.001) Page 1 LCD6402-DEV Development/Evaluation Board INTRODUCTION The LCD6402-DEV is a chassis board (see Figure
More informationUsing the HT16K33 in DVD Player Panel Applications
Using the HT16K33 in DVD Player Panel Applications D/N:AN0363E Introduction The HT16K33 is a memory mapping and multi-function LED controller driver. The maximum display capacity in the device is 128 dots
More informationGraphical LCD Display Datasheet EB
Graphical LCD Display Datasheet EB043-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 6 4. Testing this product... 7 5. Circuit description... 8 Appendix 1 Circuit
More informationProject Final Report Encrypted Chat 17 April 2011 Nayan Nandihalli
Project Final Report Encrypted Chat 17 April 2011 Nayan Nandihalli Project Abstract Status Specification Parts Software Modules Overall Design Implementation & Construction LCD Interface PS/2 Interface
More information420 Series RS232 only Encoder for Keypad Applications Application / Engineering Manual
USA OFFICE UK OFFICE Suite 202 14 Bentinck Court 364 Pennsylvania Avenue, Bentinck Road Glen Ellyn West Drayton Illinois 60137 UB7 7RQ USA ENGLAND Tel +1 (630) 469 2981 Tel +44 (0) 1895 431421 www.keymat.com
More informationPIC KIT 2 BASIC-USERS GUIDE FEMTO ELECTRONICS
PIC KIT 2 BASIC-USERS GUIDE FEMTO ELECTRONICS SPECIFICATIONS: ICSP (In Circuit Serial Programmer). Compatible with PIC Microcontrollers (5V chips only). Compatible with MPLAB, MPLAB X and PIC KIT 2 software.
More informationLCD Module User Manual
LCD Module User Manual Customer : MASS PRODUCTION CODE DRAWING NO : TC1602J-01WB0 : M-TC1602J-01WB0_A00 Approved By Customer: Date: Approved By Checked By Prepared By Vatronix Holdings Limited ADD 4/F,No404
More informationEasyPIC5 Development System
EasyPIC5 Development System Part No.: MPMICRO-PIC-Devel- EasyPIC5 Overview EasyPIC5 is a development system that supports over 120 8-, 14-, 18-, 20-, 28- and 40-pin PIC MCUs. EasyPIC5 allows PIC microcontrollers
More informationCPLD/FPGA Development System
Chapter 1 CPLD/FPGA Development System As shown in Figure 1-1, CPLD (Complex Programmable Logic Device) and FPGA (Field-Programmable Gate Array) are the programmable logic devices (PLDs) whose internal
More informationSimPLC. User Manual.
SimPLC User Manual www.dizzy.co.za Contents Introduction... 4 Overview Top... 5 Power Circuitry... 6 Microcontroller... 7 Real-Time Calendar and Clock (RTCC)... 7 Reset Button... 7 Oscillator Socket...
More informationLab 8 RS232 October 22, 2015
Lab 8 RS232 October 22, 2015 In this lab you will use the Serial Communications Interface (SCI) system on the HCS12 microcontroller to send and receive characters using the RS232 signal format. You will
More informationInput/Output Devices. Lecturer: Sri Parameswaran Notes by: Annie Guo
Input/Output Devices Lecturer: Sri Parameswaran Notes by: Annie Guo 1 Lecture Overview Input devices Input switches Basics of switches Keypads Output devices LCD 2 Input Switches Most basic binary input
More informationUNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.
UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip
More information8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help
8051 Intermidiate Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6
More informationC and Embedded Systems. So Why Learn Assembly Language? C Compilation. PICC Lite C Compiler. PICC Lite C Optimization Results (Lab #13)
C and Embedded Systems A µp-based system used in a device (i.e, a car engine) performing control and monitoring functions is referred to as an embedded system. The embedded system is invisible to the user
More informationApplication Note. Interfacing to a Graphics LCD from PSoC. Summary This Application Note describes how to control a graphic LCD in a PSoC application.
Application Note AN2147 Interfacing to a Graphics LCD from PSoC Author: Pham Minh Tri Associated Projects: Yes Associated Part Family: CY8C27xxx PSoC Designer Version: 4.0 Associated Application Notes:
More informationCHAPTER 12 LCD AND KEYBOARD INTERFACING
CHAPTER 12 LCD AND KEYBOARD INTERFACING LCD Operation LCD is finding widespread use replacing LEDs The declining prices of LCD The ability to display numbers, characters, and graphics Incorporation of
More informationAPP-II PIC Development Kit by AWC
APP-II PIC Development Kit 2001-2003 by AWC AWC 1279 FM 518 #2 Kemah, TX 77565 (281) 334-4341 http://www.awce.com V1.3 7 Sep 2004 Table of Contents Overview...1 If You Need Help...1 What Else You'll Need...1
More informationParallel Display Specifications Revision 1.0
MOP-AL162A Parallel Display Specifications Revision 1.0 Revision History Revision Description Author 1.0 Initial Release Clark 0.2 Updates as per issue #333 Clark 0.1 Initial Draft Clark 1 Contents Revision
More informationMicrocontroller & Interfacing
Course Title Course Code Microcontroller & Interfacing EC406 Lecture : 3 Course Credit Practical : 1 Tutorial : 0 Total : 4 Course Objective At the end of the course the students will be able to Understand
More informationFPGA Interfacing of HD44780 Based LCD Using Delayed Finite State Machine (FSM)
FPGA Interfacing of HD44780 Based LCD Using Delayed Finite State Machine (FSM) Edwin NC Mui Custom R & D Engineer Texco Enterprise Ptd. Ltd. {blackgrail2000@hotmail.com} Abstract This paper presents a
More informationProduct Information. Features. Table of Contents EA DIP162 DN3LW EA DIP162 DHNLED EA DIP162 DNLED EA DIP162J DN3LW
LCD Module with included HD44780 controller Product Information EA DIP162 DNLED EA DIP162 DHNLED EA DIP162 DN3LW EA DIP162J DN3LW LCD Module with two 16-character rows 6.68mm in height Same as previous,
More informationﻢﯿﺣﺮﻟا ﻦﻤﺣﺮﻟا ﷲا ﻢﺴﺑ
بسم االله الرحمن الرحیم In the name of Allah 1 2 Graphical LCD for beginners and interfacing with PIC MCU By Eng. Mustafa H. Abyad Cairo, Egypt March 2009 Table of contents 3 Table of contents. 3 1. Introduction
More informationAX-12. PIC12F675 microcontroller Activity board
AX- PICF67 microcontroller Activity board Optional of AX- board DC adaptor 9-V Small stepper motor Microcontroller unit features : Microchip s 8-pin PIC microocntroller PICF67 on-board KWord Program memory
More informationEMBEDDED HARDWARE DESIGN. Tutorial Interfacing LCD with Microcontroller /I
EMBEDDED HARDWARE DESIGN Tutorial Interfacing LCD with Microcontroller 2009-10/I LCD (Liquid Crystal Display) has become very popular option for displaying in Embedded Applications. Since they are very
More informationMicroprocessors & Interfacing
Lecture Overview Microprocessors & Interfacing Input/Output Devices Input devices Input switches Basics of switches Keypads Output devices LCD Lecturer : Dr. Annie Guo S2, 2008 COMP9032 Week8 1 S2, 2008
More informationIntroduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.
Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project
More informationMicrocontroller Based Code Locking System with Alarm
IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE) e-issn: 2278-1676,p-ISSN: 2320-3331, Volume 9, Issue 1 Ver. II (Jan. 2014), PP 09-17 Microcontroller Based Code Locking System with Alarm
More informationMAINTENANCE MANUAL KEYPAD/DISPLAY PANEL ASSEMBLIES 19D902913G3, G4, G10 (CONVENTIONAL) 19D902913G5, G6 (EDACS)
A MAINTENANCE MANUAL KEYPAD/DISPLAY PANEL ASSEMBLIES 19D902913G3, G4, G10 (CONVENTIONAL) 19D902913G5, G6 (EDACS) TABLE OF CONTENTS Page SPECIFICATIONS............................................... Front
More informationSerial Communications
April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual
More informationLCM NHD-0440CI-YTBL. User s Guide. (Liquid Crystal Display Module) RoHS Compliant. For product support, contact NHD CI- Y- T- B- L-
User s Guide NHD-0440CI-YTBL LCM (Liquid Crystal Display Module) RoHS Compliant NHD- 0440- CI- Y- T- B- L- Newhaven Display 4 Lines x 40 Characters C: Display Series/Model I: Factory line STN Yellow/Green
More informationDemo 17 - Receiving data from Host through Serial Port. Introduction:
Introduction: This demo program gives an idea about receiving data from the host using the serial port in asynchronous mode at 500 baud using serial port 0. The received data will be stored in the RAM
More information