pcbway




gas sensor library for proteus, mq5 in proteus, mq2 in proteus, mq3 in proteus, mq6 in proteus, mq9 in proteus, gas sensor in proteus, gas sensor proteus simulationHello friends, hope you all are fine and having fun with your lives. Today, I am going to share a new Gas Sensor Library for Proteus. I hope you guys are gonna enjoy this one. We are all well aware of Gas Sensors which are used for detection of different gasses in the atmosphere. These sensors are not available in Proteus so that’s why I have designed a library using which now you can use these different gas sensors quite easily in Proteus software.

In this Gas Sensor Library for Proteus, I have added eight different Gas Sensors, which are used for detection of different gases. As we all know that Proteus is a simulating software so it won’t be able to detect the gas in real in Proteus. So, that’s why I have placed a Test Pin in each of these sensors so when you make this pin HIGH, then it means the gas is present and if this Test Pin goes LOW then it means there’s no gas available and sensors will give LOW output. We will have a look at How to use these sensors below. You should also have a look at the project LPG Gas Leak Detector using Arduino in which I have used this Gas Sensor MQ-2 with Arduino. So, here’s the list of all eight gas sensors, I have added in this library:

  • MQ-2 Gas Sensor
  • MQ-3 Gas Sensor
  • MQ-4 Gas Sensor
  • MQ-5 Gas Sensor
  • MQ-6 Gas Sensor
  • MQ-7 Gas Sensor
  • MQ-8 Gas Sensor
  • MQ-9 Gas Sensor

So, let’s start with downloading and installing of Gas Sensor Library for Proteus.

Gas Sensor Library for Proteus

  • First of all, download the Gas Sensor Library for Proteus by clicking the below button:

Download Gas Sensor Library

  • Once you download the file, you will get a rar file so unrar it and you will find three files in it, named as:
    • GasSensorTEP.LIB
    • GasSensorTEP.IDX
    • GasSensorTEP.HEX
  • Place all these three files in the Library folder of your Proteus software.

Note:

  • If you are using Proteus 7 Professional, then the library folder link will be something like this: C:Program Files (x86)Labcenter ElectronicsProteus 7 ProfessionalLIBRARY
  • If you are using Proteus 8 Professional, then the library folder link will be something like this: C:ProgramDataLabcenter ElectronicsProteus 8 ProfessionalDataLIBRARY
  • Now open your Proteus software or restart it, if its already open.
  • In the components section, make a search for Gas sensors as shown in below figure:

gas sensor library for proteus, mq5 in proteus, mq2 in proteus, mq3 in proteus, mq6 in proteus, mq9 in proteus, gas sensor in proteus, gas sensor proteus simulation

  • Now place all of them in your work space and they will look something as shown in below figure:

gas sensor library for proteus, mq5 in proteus, mq2 in proteus, mq3 in proteus, mq6 in proteus, mq9 in proteus, gas sensor in proteus, gas sensor proteus simulation

  • So, these are all the Gas Sensors available in this Gas Sensor Library for Proteus.
  • You can see all of these sensors has four pins on them.
  • Two of these pins are Vcc and GND while third is OUT Pin.
  • Test Pin is used for simulation purposes, when you have HIGH on Test Pin then it means that you have Gas in the atmosphere and your sensor will give HIGH as well on the OUT Pin.
  • So, let’s check it out how to use these gas sensors. So, take any of these sensors and design a small circuit as shown in below figure:

Gas Sensor Library for Proteus




  • Now before running your simulation, one thing you need to do is to double click this gas sensor and open the Properties.
  • In Properties, you will find a Program file section. In this section browse for the GasSensorTEP.HEX file, which we just downloaded above and placed in the library folder of our Proteus software.

gas sensor library for proteus, mq5 in proteus, mq2 in proteus, mq3 in proteus, mq6 in proteus, mq9 in proteus, gas sensor in proteus, gas sensor proteus simulation

  • Now run your simulation, and when you turn logic state HIGH then you will see the OUT Pin will also go HIGH as shown in below figure:

gas sensor library for proteus, mq5 in proteus, mq2 in proteus, mq3 in proteus, mq6 in proteus, mq9 in proteus, gas sensor in proteus, gas sensor proteus simulation

  • So, that’s how you can quite easily simulate this Gas Sensor in Proteus ISIS.
  • Here’s the video in which I have demonstrated this library in detail:


So, that’s all for today, I hope you guys have enjoyed this Gas Sensor Library for Proteus. In the coming post, I will share how to interface this Gas sensor with Arduino in Proteus ISIS.

1 Comment

  1. nice one
    but it dosent give me arange in output depend to the differ of input . it just give high or low . how can get more accurate sensor

Leave a Reply

Your email address will not be published. Required fields are marked *

Post comment