PIC Micro-controller programming|Assignment 023|Dynamic Scrolling number Marquee on CLCD|Key press

preview_player
Показать описание
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:

Visit following links to get more information:

Embedded Systems Course:

Advanced Embedded Systems Course:

Fullstack Embedded IoT Course:

Register now:
Рекомендации по теме
visit shbcf.ru