You are on page 1of 3

Mechanical engineering (Power and Production Kafrelskh University

Eng. programs
Faculty of Engineering
Mechatronics Engineering (elective) Ex(4) 2020/2021

Answer all the following questions

Question 1

I. For the shown microprocessor system complete the given table

(5)

(10)

(2) (3) (9)


(1)
(11)
(6)

(7)

(4) (8)

Item Item No. Item Item No.


ROM memory Input port
Input /output interface Output port
CPU Crystal
Clock Control bus
Data bus RAM memory
Address bus

13/
Mechanical engineering (Power and Production Kafrelskh University
Eng. programs
Faculty of Engineering
Mechatronics Engineering (elective) Ex(4) 2020/2021

II. A dual open style automatic door opener system automatically opens the door when a person
approaches, and automatically closes it after 10 seconds. There are three sensors. The first is for the
detection of the movement of the person approaching the door. The sensor can be pyroelectric
sensor. The other two sensors are contact sensors or limit switches that feed signals to the
microcontroller when the door is fully opened and fully closed respectively. The command issued to
the actuator (DC motor) by the microcontroller is based on the signals received from the three
sensors.

a) Sketch a mechanism for opening and closing the automatic door


b) Complete the schematic of the system shown in given figure, assuming that the microcontroller has
two input ports (port A, B) and one output ports (port C)

c) Sketch a flowchart outlining the operation of the system, clearly identifying any inputs, outputs and
timing events required for the correct operation.

Port C
B
rt
Microcontroller Po

Port A

23/
Mechanical engineering (Power and Production Kafrelskh University
Eng. programs
Faculty of Engineering
Mechatronics Engineering (elective) Ex(4) 2020/2021

III. The below figure illustrates an automated component sorting system. The system shows ARM2
activated. The system operates as follows:

- each component is placed on the conveyor at point C;


- the component is weighed as it passes over Sensor A;
- “overweight” components are routed into Box X by ARM1;
- “underweight” components are routed into Box Y by ARM2;
- the “correct weight” components continue on the conveyor into Box Z;
- the conveyor runs continuously
Construct a flowchart to show the operation of the automated sorting system.

33/

You might also like