filmov
tv
PIC Micro-controller programming|Assignment 028|4 Digit Key Press Counter with Persistence| EEPROM

Показать описание
Problem Statement:
- Implement a 4 digit key press counter with persistence using External EEPROM (Shown in the video).
Output Requirements:
- As soon as the board is powered up or reset, counter should display 0000 on SSDs
- On every keypress counter value should increment by 1
- On a long keypress (2 seconds), Count should reset to zero
- On pressing STORE switch, the current count should be stored in external EEPROM
- On subsequent power ups or reset the counter should start from the previous stored value in the EEPROM.
Pre-requisites:
You should have knowledge on,
- I/O Port
- Tactile Switch
- SSD
- EEPROM
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 LED with the uC
- Working of LED
- Concepts of current sourcing & current sinking
- Interfacing SSDs to uC
- Working of SSDs, its types like common anode and cathode
- Creating SSD fonts based on the provided hardware
- 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)
- Level Triggered Input
- Interfacing SSDs to uC
- Working of SSDs, its types like common anode and cathode
- Creating SSD fonts based on the provided hardware
- EEPROM data read and write implementation
Inputs:
- DKS 1 as Count input
- DKS 1 Long press to reset the count
- DKS 2 Store Input
Notes / Additional Information Note:
- 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 as a self counter
Related and Similar Assignments:
- Implement a 4 digit key press counter (Shown in the video)
- Implement a 4 digit key press counter with persistence using External EEPROM (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:
- Implement a 4 digit key press counter with persistence using External EEPROM (Shown in the video).
Output Requirements:
- As soon as the board is powered up or reset, counter should display 0000 on SSDs
- On every keypress counter value should increment by 1
- On a long keypress (2 seconds), Count should reset to zero
- On pressing STORE switch, the current count should be stored in external EEPROM
- On subsequent power ups or reset the counter should start from the previous stored value in the EEPROM.
Pre-requisites:
You should have knowledge on,
- I/O Port
- Tactile Switch
- SSD
- EEPROM
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 LED with the uC
- Working of LED
- Concepts of current sourcing & current sinking
- Interfacing SSDs to uC
- Working of SSDs, its types like common anode and cathode
- Creating SSD fonts based on the provided hardware
- 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)
- Level Triggered Input
- Interfacing SSDs to uC
- Working of SSDs, its types like common anode and cathode
- Creating SSD fonts based on the provided hardware
- EEPROM data read and write implementation
Inputs:
- DKS 1 as Count input
- DKS 1 Long press to reset the count
- DKS 2 Store Input
Notes / Additional Information Note:
- 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 as a self counter
Related and Similar Assignments:
- Implement a 4 digit key press counter (Shown in the video)
- Implement a 4 digit key press counter with persistence using External EEPROM (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: