MPI - LAB - 6 (Spring - 2024)
MPI - LAB - 6 (Spring - 2024)
Exp 6. Interfacing 4x4 Keypad and 4-bit 16x2 LCD display using
STM32CubeMX and Keil-Version5
Objectives
Lab Tasks
✓ Configure I/O ports using STM32CubeMX environment for 4-bit 16x2 LCD display with
4x4 matrix Keypad based digital input
✓ Generate and modify the code using Keil-Version5 and c programming to alter the status
of LCD display with Input from Keypad.
✓ Upon each input the code should detect the number pressed from the Keypad and display
on the second line of the LCD display.
✓ Explain the given code and its working using IDE debugging.
✓ Verify the functionality by implementing the circuit (interface 4x4 Kaypad and 16x2 LCD
display at specific GPIOx pins) on the Proteus simulator.
✓ Implement the task on MDB hardware and verify its working by thorough testing and
validation.
6.2. Diagram for implementation of the setup in proteus simulator along with its working
MICROPROCESSOR & INTERFACING LAB
6.4. List of important parameters to be considered for configuration of 4x4 matrix Kaypad for
input.
6.5. Detail of code and experimental set-up for the instructed task.
6.7. Results and Observation regarding working of code and hardware outputs (snaps and
explanation)
MICROPROCESSOR & INTERFACING LAB
1. Title
2. Objectives
3. Apparatus/Tools used
4. Procedure
5. Code
6. Simulation/Results (Proteus)
7. Experimental Results (Hardware)
8. Lesson Learnt/Discussion
9. Conclusion
lab
instruction and use
and
Total for CLO2
Report Writing
the
Implementation
Comprehension
Pre-lab/Design
Discipline
Follow
Total
ethics
Work 100
15 20 20 10 50 20 5 10