Friday, July 29, 2022

How to Add and Simulate Gas Sensor in Proteus 8 | DC Voltmeter

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:

  1. Gas sensor
  2. Logic state
  3. DC voltmeter

Steps (Add Library)
  1. Download the gas sensor library file at TheEngineeringProjects.com or click the link HERE. The download link will appear after 20 seconds.

  2. 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


  3. Extract these three files to the Proteus libraries folder (C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\DATA\LIBRARY).

Steps (Gas Sensor):
  1. Open your Proteus software and add LOGICSTATE and all Gas Sensor components to the workspace.


  2. 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.


  3. 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.


  4. Start the simulation. If the logic state is HIGH, then the OUT pin gives 5V output (HIGH).


  5. 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 👷.

Monday, July 18, 2022

Automatic Irrigation System using Arduino with Proteus 8 Software | Soil Moisture Sensor | Project

Today, I will share a simple automatic irrigation system using Arduino with Proteus 8 software. The soil moisture sensor is used to monitor the soil moisture level. Applications typically need soil moisture sensors such as irrigation schedules, fertigation systems, etc.


Related Post:

  1. Add Soil Moisture Sensor
  2. Add LCD I2C
  3. Add Virtual Terminal

References:

Components:

  1. Soil moisture sensor
  2. Inductor
  3. Capacitor
  4. Potentiometer
  5. DC voltmeter
  6. DC motor
  7. Virtual terminal
  8. LCD 1602
  9. I2C interface

Steps
  1. Open Proteus 8 software and add CAPACITOR, INDUCTOR, POT-HG, SOIL MOISTURE, MOTOR, ARDUINO UNO R3, LM016L, and PCF8574 components to the workspace.


  2. Wiring all the components according to the figure below.


  3. Double click the PIR SENSOR and click the folder icon. Go to Local Disk (C:) > Program Files (x86) > Labcenter Electronics > Proteus 8 Professional > DATA > LIBRARY > SoilMoistureSensor2TEP.HEX > Open > OK.


  4. Download the PROJECT file. Extract the project file and verify.


  5. Copy the Hex file, then paste it to the project file Arduino board.



  6. Start the simulation, and increase or decrease the potentiometer to change the soil moisture percentage %. If the soil is dry, the water pump is ON and OFF when the plant gets sufficient water. The LCD and serial will display the status "Dry" and the soil moisture level in percentage.


  7. If the soil is balanced, the water pump is OFF. The LCD and serial will display the status "Perfect" and the soil moisture level in percentage.


  8. If the soil is wet, the water pump is OFF. The LCD and serial will display the status "Wet" and the soil moisture level in percentage.


Video:


If you have any suggestions, please write in the comment section. Thank you for your time 👷.