Question

In: Electrical Engineering

Using the principles and components of digital and linear logic circuits design a circuit that is...


Using the principles and components of digital and linear logic circuits design a circuit that is able to open and close the door of a garage of vehicles according to the following conditions:

a) The door will open in the following cases:
a.1) a manual push-button is activated and there is sunlight.
a.2) the button is not activated, there is no sunlight and the light 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 (eg Arduino)
b) You can only use photoresistors, pushbuttons, photodiodes or phototransmitters as input sensors.
c) Use diodes of different colors to simulate the state of the door (open, closed)

Solutions

Expert Solution

First, we know that manual push button/ switch needs to be connected to photo diode in order to open the garage door, which activates on sunlight, else from the headlights of the vehicle.

Moreover, it needs to stay open for 30 seconds and door should only open when it is previously closed. Hence, we need to consider a memory storing device. We can take reference from a basic flip flop .

I am designing a basic electronic circuit which can easily mounted on a bread board/ PCB.

The above circuit diagram suffices all the required criteria for the garage circuit. I have considered a 9V battery for the supply and 4 main resistors (1k ohm, 100k ohm, 4.7k ohm, 47k ohm) to undergo flip flop operation in the circuit. These resistors are connected to NPN transistors (preferably BC547) as they ideally act as switch.

There are two LEDs connected in the circuit (GREEN and RED) which gives information about the status of the garage door. The green LED indicates that the door is open and red LED indicates that the door is closed.

The flip flop has a special aspect that it can store information, and it will stay on the state till an external pulse or disturbance is provided. The central module of the circuit has a photo diode installed which can power the push button switch to open the garage. By default , the switch is in state B, indicating the garage door closed. When the button is pressed, the switch goes to state A, and the garage door opens.

Finally , we have a 555 timer circuit , which works as a monostable timer, which is useful for the garage door to close after 30 seconds. The 555 circuit is shown below.

In 555 timer, we have 8 pins which needs to be connected as shown in the above circuit. The R2 value is 100k ohm and C2 value is 0.01 F.

The time response of the circuit of monostable timer is given by T=1.1R1C1

Therefore incorporating the value of R1= 300k and C1=85F,

The Time response becomes T=1.1*(300*103)*(85*10-6) sec= 30.85 sec which is the time garage should stay open. When garage is opened(state A), after 30 seconds , the monostable timer is activated and the circuit switches back into closed state (state B).


Related Solutions

Digital Logic Design Lab Prove the following Boolean Algebra theorems and properties by constructing Logic Circuits...
Digital Logic Design Lab Prove the following Boolean Algebra theorems and properties by constructing Logic Circuits for each theorem/properties using our educational simulation software: Q1-a) The Distributive Property:     a + ( b . c ) = ( a + b ) . ( a + c ) Q1-b) The Distributive Property:     a . ( b + c ) = ( a . b ) + ( a . c )
Design on of these 3 circuits : Direction circuit ,Pressure circuit ,sequentional circuit one of these*
Design on of these 3 circuits : Direction circuit ,Pressure circuit ,sequentional circuit one of these*
In digital logic circuits, what are the maximum number of inputs for the following gates: AND...
In digital logic circuits, what are the maximum number of inputs for the following gates: AND OR NOR XOR(is it 2?) XNOR (is it 2?) NAND
use modelsim write Verilog code for the following digital logic circuits and then simulate them by...
use modelsim write Verilog code for the following digital logic circuits and then simulate them by writing a testbench module for each of them , (a)The FSMs for the snail problem that is in the slides (a snail crawls over a tape that has 0 and 1 and smiles if it has detected the '10' bits using both Moore and Mealy FSM. Note that the pattern is '10' not '01' as in the slides. (b) A rock-paper-scissor game played by...
Kim Kwon Digital Components Company assembles circuit boards by using a manually operated machine to insert...
Kim Kwon Digital Components Company assembles circuit boards by using a manually operated machine to insert electronic components. The original cost of the machine is $90,100, the accumulated depreciation is $36,000, its remaining useful life is five years, and its residual value is negligible. On May 4 of the current year, a proposal was made to replace the present manufacturing procedure with a fully automatic machine that has a purchase price of $187,400. The automatic machine has an estimated useful...
Boyer Digital Components Company assembles circuit boards by using a manually operated machine to insert electronic...
Boyer Digital Components Company assembles circuit boards by using a manually operated machine to insert electronic components. The original cost of the machine is $82,900, the accumulated depreciation is $33,200, its remaining useful life is five years, and its residual value is negligible. On May 4 of the current year, a proposal was made to replace the present manufacturing procedure with a fully automatic machine that has a purchase price of $172,400. The automatic machine has an estimated useful life...
Differential Analysis for Machine Replacement Kim Kwon Digital Components Company assembles circuit boards by using a...
Differential Analysis for Machine Replacement Kim Kwon Digital Components Company assembles circuit boards by using a manually operated machine to insert electronic components. The original cost of the machine is $90,600, the accumulated depreciation is $36,200, its remaining useful life is five years, and its residual value is negligible. On May 4 of the current year, a proposal was made to replace the present manufacturing procedure with a fully automatic machine that has a purchase price of $188,400. The automatic...
Differential Analysis for Machine Replacement Kim Kwon Digital Components Company assembles circuit boards by using a...
Differential Analysis for Machine Replacement Kim Kwon Digital Components Company assembles circuit boards by using a manually operated machine to insert electronic components. The original cost of the machine is $68,700, the accumulated depreciation is $27,500, its remaining useful life is five years, and its residual value is negligible. On May 4 of the current year, a proposal was made to replace the present manufacturing procedure with a fully automatic machine that has a purchase price of $142,900. The automatic...
Differential Analysis for Machine Replacement Kim Kwon Digital Components Company assembles circuit boards by using a...
Differential Analysis for Machine Replacement Kim Kwon Digital Components Company assembles circuit boards by using a manually operated machine to insert electronic components. The original cost of the machine is $59,200, the accumulated depreciation is $23,700, its remaining useful life is five years, and its residual value is negligible. On May 4 of the current year, a proposal was made to replace the present manufacturing procedure with a fully automatic machine that has a purchase price of $123,100. The automatic...
Differential Analysis for Machine Replacement Kim Kwon Digital Components Company assembles circuit boards by using a...
Differential Analysis for Machine Replacement Kim Kwon Digital Components Company assembles circuit boards by using a manually operated machine to insert electronic components. The original cost of the machine is $87,000, the accumulated depreciation is $34,800, its remaining useful life is five years, and its residual value is negligible. On May 4 of the current year, a proposal was made to replace the present manufacturing procedure with a fully automatic machine that has a purchase price of $181,000. The automatic...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT