In this post I will discuss the simulation of the Gas sensor in the Proteus. In the previous post I have discussed the simulation of the Ultrasonic sensor, Flame sensor and PIR sensor simulation in the Proteus.Gas sensor is very useful for developing the embedded systems projects. I have also written other posts discussing the Printed circuit design in Proteus. Go through my posts on Laplace transform and Fourier Transform if you want to have the intuitive approach to these topics go through them anyhow they are worth reading.
After reading these posts you will learn about the simulation in Proteus, importance of simulation models and simulation itself. You will also learn about how to interface the Arduino in Proteus and Gas sensor for their simulation in Proteus. So sit back, keep reading and enjoy learning.
Gas Sensor Simulation Library in Proteus:
Gas sensor as its name implies is the type of sensor which detects the gas in the vicinity in which they are installed. Gas sensor responds to presence of the smoke by varying its voltage. The Gas sensor looks like the one shown in the following image:
The voltage at the output of the Gas sensor varies in response to the presence or absence of the smoke thus in this way that is way by variation of the voltage one can sense the presence of the smoke. In order to simulate the behavior of the system based on the Gas sensor in Proteus you first need to download the files consisting the simulation models of the Gas sensor as the gas sensor is not present in the library of the Proteus by default. So follow the following steps.
Download the simulation of the Gas sensor and place the files in the library of the Proteus. The whole process is explained with the help of pictures in my post on Ultrasonic Sensor.
Arduino in Proteus Step2:
Add all the components that are to be used in the workspace of the Proteus as shown in the following figure:
Now draw the circuit as shown in the following figure:
Now attach the simulation file of the gas sensor as shown in the following figure:
After you drawn the circuit it is now time to attach the HEX file of the code written in Arduino for simulation. Without attaching this HEX file the Arduino behavior will be unable to simulate in the Proteus. The HEX file is attached by double clicking the Arduino as shown in the following figure:
That is all for now I hope this post would be helpful for you. In the next posts I will come up with more interesting applications of Proteus and more interesting topics of engineering. Till then stay connected, keep reading and enjoy learning.
Gsm Library in proteus