Microprocessor-Lab assignments Repository - Kharazmi University
- problem 1: Implement in the source
- problem 2: Implement in the source
- problem 3: Implement in the source
- problem 4: Problem4,5.pdf
- problem 5: Problem4,5.pdf
- problem 1: Commit: Implelemt Problem 1
- problem 2: Final project
Note: Calculating FPS (Frame per second) or Recommended Frequency for Timer 0
FPS Calculate:
"human eye can see between 30 and 60 frames per second."
So we should use 4*(TARGET_FPS) for , because we have 4 BCD (FPS /4 recieveid by every BCD)
> Timer0 Freq = 8 MHz / 1024(prescaler) = 7812 Hz
Then:
> Timer0_value = Timer0_freq / 4 * TARGET_FREQ
So we've:
- 0 for Max(1953) FPS Per BCD
- 256 for Min(7) FPS Per BCD
- 65 for 30FPS Per BCD
- 32 for 60 FPS Per BCD
- problem 1: Commit: Complete Problem 1
- problem 2: Commit: Complete Problem 2
- problem 3: Final Version - 'Hello World!' will be displayed on the LCD at first, then if 'ENABLE ICP1' switch is open (disable) : Alphabets will be displayed on the LCD else LCD Show Period and Frequency of the Input wave on Pin (20).
Screen shots and Recording Directory Link
- problem 1: Commit: Init Assignment 4 - Problem 1
- problem 2: Commit: Assignment4-problem2
- problem 3: Commit: Assignment 4 - Problem 3
- problem 4: Final version - Screen record Link