After reading this post the reader will learn about the IR sensor, working of the IR sensors and the simulation of the IR sensor in Proteus. The reader will also get to know about the simulation models of the components and the necessity of the simulation models in order to simulate the circuits.
Proximity Sensor simulation in Proteus:
Now let us discuss the simulation of the Proximity sensor in the Proteus. It is important here to mention that in order to simulate the behavior of any circuit in any software it is important that the simulation models of all of the components that are used in the circuit should be present in the library of the software. If the simulation models are not present in the library of the software that software will be unable to imitate the behavior of the whole circuit. The simulation models are the files that contain information about the behavior of the components. So in order to simulate the Proximity sensor the simulation model of the sensor should be present in the library of the Proteus. But the simulation model is not present in the library of the Proteus so we need to download the library first and then place the files containing the simulation model in the library of the Proteus. If you do not know about how to place the simulation files in the library of the Proteus go through my post on Ultrasonic sensor I have discussed the procedure there. The steps for simulation to follow are shown below:
After downloading and placing the file containing the simulation models in the library of the Proteus, let us now place the components in the workspace of the Proteus.
Now draw the circuit as shown in the following figure.
Now attach the simulation file to the symbol of the Proximity sensor to enable it to simulate.
Now attach the HEX file of the Arduino code in the simulation model of the Arduino. If you do not know how to obtain the HEX file of the code in Arduino IDE go through my post on Ultrasonic sensor.
That is all for now, in the next post I will come up with more interesting applications of Proteus and new exciting engineering topics. Till then stay connected, keep reading and enjoy learning.