Problem Statement:
Implement a dynamic (configurable) scrolling number marquee on CLCD with scroll direction control on a key press (Shown in the video).
Output Requirements:
As soon as the board is powered up or reset, CLCD display the title in the first line
In second line, should prompt for feeding user msg. The cursor should be blinking at rate of 0.5Hz (approx non timer implementation) with a default character 0 (as shown in the video). Let's call this as preset mode
You should be able to set the required digit with the help of Up / Left or Down / Right Key
On selection of the required char you should press the Accept Key and move the cursor to the next location
On entering the required message you could start the Marquee using Start / Stop Key.
The default direction should be from left to right for first character position
You may change the scroll direction using Up / Left or Down / Right Key
The Start / Stop Key could be used to Stop the scroll
One press of the Edit Key any instance the system should enter to Preset Mode
In preset mode the Backspace Key is used to remove the accepted characters
Pre-requisites:
You should have knowledge on,
I/O Port
CLCD
Tactile Switch
Matrix Keypad
Objective:
To learn and understand
Basic working of the PORT
How to configure the PORT pins as Input and Output
How to configure the PORT pins as Digital
Interfacing CLCD as 8 or 4 bit mode
Instruction and Data mode
Read and Write mode
Commands
Interfacing Matrix Keypad
Interfacing Tactile Switch to uC as Active Low (i.e. Pull Up) or Active High (i.e. Pull Down)
Tactile Switch Bouncing Effect and how to avoid it (Debouncing)
Edge Triggered Input
Inputs:
Program Cycles for Scroll Frequency
User entered number
MKS1 as Up / Left Key
MKS2 as Down / Right Key
MKS3 as Stop / Start Key
MKS4 as Edit Key
MKS5 as Accept Key
MKS6 as Backspace Key
Notes / Additional Information:
Use program cycles to implement the above program.
A program cycle is the time taken to execute all the instructions from the start to end of the superloop
while (1)
{
/* Time taken to execute cycle the code written within this loop */
}
In this assignment you may consider the program cycles to obtain the scroll frequency
Related and Similar Assignments:
Implement a left scrolling number marquee on SSDs (Shown in the video).
Implement a scrolling number marquee on SSDs with scroll direction control on a key press (Shown in the video).
Implement a right scrolling message marquee on CLCD (Shown in the video).
About Emertxe:
Emertxe (http://www.emertxe.com) is the best institute offering Embedded Systems Training in Bangalore. With over 16+ years of existence in the industry we have trained over 60,000 engineering graduates in Embedded Systems & IoT domains. Our trained engineers are recruited by 366+ placement companies working in core embedded systems verticals like Automotive, Semiconductors, IoT, Telecom, Consumer Electronics, Industrial Automation and many more.
Emertxe is affiliated with National Skill Development Corporation (https://nsdcindia.org) under Electronics Sector Skill Council of India (https://www.essc-india.org). Our programs are aligned with Embedded Software Engineer, Embedded Product Engineer, FullStack Embedded IoT Engineer job roles. Upon successful completion students receive certificate from Ministry of Skill Development & Entrepreneurship from Government of India. This Government certified course will further enable you with job possibilities. Latest curriculum, Excellent set of mentors, Well defined training methodology are the key ingredients that makes our course as the best Embedded Systems Training in Bangalore.
Visit following links to get more information:
Embedded Systems Course:
https://tinyurl.com/embedded-course
Advanced Embedded Systems Course:
https://tinyurl.com/adv-embedded-course
Fullstack Embedded IoT Course:
https://tinyurl.com/embedded-iot-course
Register now:
http://test.emertxe.com