Tuesday, February 1, 2022

How to Add and Simulate Heart Beat Sensor in Proteus 8 | Pulse Heart Rate | AD8232 Module

Today, I will share how to add and simulate a heartbeat or pulse heart rate sensor in Proteus 8 software. The heartbeat sensor is used to measure a person's heartbeat rate or heartbeat count. There got two versions of the heartbeat sensor:

  1. Heart Beat Sensor V1 - Static heartbeat pattern by toggling the LOGICSTATE to turn ON and OFF.
  2. Heart Beat Sensor V1 - Variable heartbeat pattern by increasing or decreasing the variable resistor.


References:

Components:

  1. Heart Beat Sensor V1
  2. Heart Beat Sensor V2
  3. Variable Resistor
  4. Oscilloscope

Steps (Add Heart Beat V1 and V2 Library)
  1. Download the Flame Sensor library file at TheEngineeringProjects.com or click the link HERE. The download link will appear after 20 seconds.

  2. You will find four files on the downloaded zip file, named as:
    -HeartBeatSensorTEP.LIB
    -HeartBeatSensorTEP.IDX
    -HeartBeatSensorTEP.HEX
    -HeartBeatSensorTEP2.HEX


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

Steps (Heart Beat Sensor V1):
  1. Open your Proteus software and add HEART BEAT SENSOR and LOGICSTATE components to the workspace.



  2. Add POWER, GROUND, and  DC VOLTMETER.


  3. Connect GND, VCC, OUT, and Test Pin of sensor pins to the GROUND, POWER, DC VOLTMETER ( + to OUT and - to GND), and LOGICSTATE.


  4. Double click the infrared sensor and click the folder icon at the Program File box. Go to Local Disk (C:) > Program Files (x86) > Labcenter Electronics > Proteus 8 Professional > DATA > LIBRARY > HeartBeatSensorTEP.HEX > Open > OK.


  5. Start the simulation. Toggle the LOGICSTATE to imitate the heartbeat.


  6. If LOGICSTATE is HIGH, then DC VOLTAGE shows 5V. 


  7. When LOGICSTATE is LOW, then DC VOLTAGE show 0V.


Steps (Heart Beat Sensor V2):
  1. For Heart Beat Version 2 Simulation, add HEART BEAT SENSOR 2 and POT-HG components to the workspace.


  2. Add POWER, GROUND, and OSCILLOSCOPE.


  3. Connect GND and VCC of sensor pins to the GROUND and  POWER. Then, connect the Test Pin of the sensor pin to the wiper pin to the POT-HG and ends to the POWER and GROUND. Lastly, connect the A pin to the OUT pin of the sensor.


  4. Double click the infrared sensor and click the folder icon at the Program File box. Go to Local Disk (C:) > Program Files (x86) > Labcenter Electronics > Proteus 8 Professional > DATA > LIBRARY > HeartBeatSensorTEP2.HEX > Open > OK.


  5. Start the simulation and set the time scale to 0.4μS and voltage scale to 2mV for channel A.
     

  6. The heart beat rate will increase if the resistance value decreases, as seen in the oscilloscope.


  7. The heart beat rate will decrease if the resistance value increases, as seen in the oscilloscope.


Video:


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

No comments:

Post a Comment