Week 1
Week 1 Simulation
1.1 PIR simulation
This week we checked all the ordered components and equipment. We plan to build an infrared automatic door making use of PIR sensor to detect human motion. Before building the circuit in reality we firstly built an analogous circuit through software such as Multism to see how it works which contains a PIR sensor. However, in the Multisim software, there is no PIR sensor component, power supply, which can generate sinewave, is used to replace the signal generated from the PIR sensor.
Figure1 PIR sensor simulation
According to Fig.3, the blue signal is the output signal and the green signal is the input signal, and the input signal is amplified about 10 times. Furthermore, there is a phase shift between the input and output signal, because many capacitors, which have an expression 1/jwC, were used in the circuit. The higher frequency, the higher the phase shift.
The second part is another amplifier to amplify the input signal. In other words, PIR sensor detects motion and outputs a signal that is very weak, which means it is not enough to amplify the signal generated from PIR sensor once time. The circuit and the result are shown in Fig.4 and Fig.5.
The third part is a comparator, which is used to digitalize the input signal, which means the output signal should be a square wave. The circuit and the result are shown in Fig.6 and Fig.7
Figure 6 The third part of the circuit
1.2 Ultrasonic sensor simulation
To simulate the ultrasonic sensor, we use Tinkercad. The function of the ultrasonic sensor is that when people are approaching the sensor, the Arduino will drive the motor rotating forward 1 second to open the door and rotate back to close the door. The circuit is shown in Figure 8
Figure 8 Ultrasonic sensor
In order to make our project looks better, we used a 7-segment display to display 'hello' to greet when people scanning the card.
Figure 10 The circuit diagram of the whole
Figure 10 shows the ideal schematic circuit, which is built-in in Week 1. In our final stage, we plan to build a circuit as the picture shown below to use the PIR sensor to control the automatic door. In the future, we hope we can simplify this circuit and use fewer Arduino boards.
Figure 9 7-segment display
Figure 10 shows the ideal schematic circuit, which is built-in in Week 1. In our final stage, we plan to build a circuit as the picture shown below to use the PIR sensor to control the automatic door. In the future, we hope we can simplify this circuit and use fewer Arduino boards.
评论
发表评论