Today, I will share how to add and simulate a gas sensor in Proteus 8 software. Gas sensors are used to detect and identify different gasses in the atmosphere. Eight types of gas sensors (MQ-2, MQ-3, MQ-4, MQ-5, MQ-6, MQ-7, MQ-8, and MQ-9) are available in this library.
References:
Components:
- Gas sensor
- Logic state
- DC voltmeter
Steps (Add Library)
- Download the gas sensor library file at TheEngineeringProjects.com or click the link HERE. The download link will appear after 20 seconds.
- Open the zip file and go to the folder Proteus Library Files. You will find three files on the downloaded zip file named:-GasSensorTEP.LIB-GasSensorTEP.IDX
-GasSensorTEP.HEX - Extract these three files to the Proteus libraries folder (C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\DATA\LIBRARY).
Steps (Gas Sensor):
- Open your Proteus software and add LOGICSTATE and all Gas Sensor components to the workspace.
- Wiring components:-Connect VCC, OUT, GND of GAS SENSOR to the POWER, DC VOLTMETER through GROUND and GROUND.-Connect TestPin of GAS SENSOR to the LOGICSTATE.
-Repeat the same step for other types of the GAS SENSOR. - Double click the gas sensor and click the folder icon in the Program File box. Go to Local Disk (C:) > Program Files (x86) > Labcenter Electronics > Proteus 8 Professional > DATA > LIBRARY > GasSensorTEP.HEX > Open > OK. Repeat the same step for other types of the GAS SENSOR.
- Start the simulation. If the logic state is HIGH, then the OUT pin gives 5V output (HIGH).
- If the logic state is LOW, then the OUT pin gives 0V output (LOW).
Video:
If you have any suggestions, please write in the comment section. Thank you for your time 👷.