Ql.(100marks) (a) Write a program to read a 6-digit password from the sensor board keypad and validate it. Should display a welcome or error message on LCD depending on the password entered. (Every student must provide the correct 6-digit password to test. If not provided, it will be considered as a non-working program)(50/100 marks)(b) Write a program to measure the distance from the on board ultrasonic sensor(of the sensor and actuator board) to an obstacle in front of it and display the distance in centimetres on your computer display every time when you press 52 on PIC development board. (hint: you need to connect PlC boonl and your loptop using the USB to RS232 coble) (50/100 marks)
Posted inWriting Guides for MSN students