Question: Solve the following problem using ATMEL programming : a system to control scenario as mentioned below and write an AVR program to display text on

Solve the following problem using ATMEL programming : a system to control scenario as mentioned below and write an AVR program to display text on a 2-line WH2002 LCD display based on the HD44780 controller by apply the following:
Starting the microcontroller your name will appear on str_O and it must monitor a secured door by sensor connected to PCS and will be active when the door is opened and give a message as given in str_1 below.
The LCD instruction/data bus is connected to PORTB, and control bus is connected to PORTC (RS is connected to PCO, R/W to PC1, E to PC2).
Use the #define command to name PORTD as Display_port.
Use the #define command to name PORTB as Control_port.
The displayed information is stored in the microcontroller Flash ROM (maximum size of 80 bytes) in the tables "str_0"(upper line) and "str_1"(lower line), as follow:
o str_0=(write your nome)
o
str_1=("Door is opened")
Use 0x18 command to scroll the text across the display (Shift the cursor left)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!