Tutorial 5
Question 1
➢ Design a security access system using a keypad for entering a passcode. Utilize an
LCD to display system status.
➢ Implement interrupt-based polling to detect keypad input and activate a timer. After a
certain number of incorrect attempts, use the timer to trigger a lockout period.
➢ Use counters to track the number of attempts and display appropriate messages on the
LCD based on the input.
Question 1
Using a microcontroller, design a circuit to interface keypad with green LED and red LED.
➢ If the user enters the right password the green LED turns on.
➢ If the user enters the wrong password the red LED turns on and green LED turns off.
Question 2
Using a microcontroller, design a calculator circuit using keypad and LCD.
Question 3
Design a MC based system for interfacing with temperature sensor with output range from 0
to 4V with requirement resolution of 0.5 degree Celsius for voltage of 0.5 mV.
The system also interfaces with pressure sensor via I2C and turns on buzzer for 10 seconds if
temperature > 50 degrees Celsius.
Or turn on buzzer if pressure > 2 bar.
➢ Describe ADC configuration for interfacing temperature sensor.
➢ If MC is working on 50 MHZ frequency, what is the timer configuration for 10 second
delay?
➢ Display circuit schematic and configuration
➢ Display flowchart