Upload
pratyush-srivastava
View
11
Download
1
Tags:
Embed Size (px)
Citation preview
MOVING MESSAGE DISPLAY ON LCD
MADE BY - PRATYUSH (1110434100)
PRASHANT SRIVASTAVA (1110434099)MOHAMMAD ASIF (1110434079)
Objective of Mini Project ExtensionCircuit DiagramTheorySoftwareList of PartsPCB LayoutApplications
CONTENTS
To interface an LCD with AVR microcontroller and display the moving message on to the LCD with help of AVR Studio and winAVR software
OBJECTIVE
PCB layout will be constructed as a major project in forthcoming Even Semester (Eighth semester)
Hardware and Software both are essential parts of this project
Software realization is to be done as mini project and hardware realization is to be done as major project
EXTENSION
CIRCUIT DIAGRAM
Fig. 1 shows the circuit for AVR ATmega16-based moving-message display on an LCD.
To derive the power supply for the circuit, 230V AC mains is stepped down by a 9V, 250mA secondary transformer, rectified by bridge rectifier module BR1A and filtered by capacitor C1.
The voltage is regulated by a 7805 regulator.
THEORY
LED1 glows to indicate the presence of power in the circuit.
The regulated 5V DC powers the entire circuit including SPI6 connector.
Port-C pins PC4 through PC7 of the microcontroller (IC2) are connected to data lines D4 through D7 of the LCD. The LCD control lines—read/write (R/W), register-select (RS) and enable (E)—are connected to PD6, PC2 and PC3 of IC2, respectively.
THEORY(CONTD.)
This project demonstrates sending the text to the LCD controller and scrolling it across the LCD.
AVR Studio 4 and WINAVR software need to be installed in your PC.
Three program codes are used here—movm.c, lcd2.c and lcd2.h.
The movm.c contains the text message to be scrolled on the LCD.
The programming technique given here may not be the best as it uses a simple logic, but it work sprety fine.
SOFTWARE
LIST OF PARTS
Semiconductors
• IC1 -7805, 5V regulator
• IC2-Atmega 16 AVR microcontroller
• LCD1- 16x2 LCD display module
• BR1A-1 amp bridge rectifier module
• LED1-5mm light emitting diode
Capacitors
• C1-100µF,25V
electrolytic• C2-0.1µF,
ceramic• C3,c4-
22pF,ceramic• C5-10µF,16V
electrolytic
Resistors
• R1-470 ohm• R2-10 kilo ohm• R3-47 ohm• VR1-10 kilo
ohm preset
Miscellaneous
• S1-Tactile switch
• X-16 MHz crystal
• SPI6-6 pin bergship male connector
• X1-230V ,AC primary to 9V
250mA, Secondary transformer
PCB LAYOUT
Advertisement Boards Airports Auctions outlets Cinemas theaters Buses Hotels & Restaurants Petrol Stations Railway Stations Bulletins
APPLICATIONS
www.electronicsforu.com http://
honeyteq.in/digital-display.aspx http://www.howstuffworks.com/ M. Morris Mano, “Digital logic
design”, PHI
REFERENCES
THANKS