Using the principles and components of digital and linearlogic circuits design a circuit that is able to open and close thedoor of a garage of vehicles according to the followingconditions:
a) The door will open in the following cases:
a.1) a manual push-button is activated and there issunlight.
a.2) the button is not activated, there is no sunlight and thelight of a vehicle is detected.
b) The door must close after 30 seconds of opening.
c) Only the door is opened if it is previously closed.
Construction considerations:
a) You can not use microcontrollers in the circuit (egArduino)
b) You can only use photoresistors, pushbuttons, photodiodesor phototransmitters as input sensors.
c) Use diodes of different colors to simulate the state of thedoor (open, closed)