DIY ECG and Pulse Oximeter with LM324 OpAmp (1 of 2)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • ECG using a single LM324 which doubles as a pulse oximeter. This device can be used with chest pads to yield an ECG or with an LED and phototransistor for pulse oximetery.
    IMPROVED ECG PROJECT: th-cam.com/users/wa...
    Project page:
    www.swharden.c...
    Description:
    Single LM324 quad operational amplifier using all 4 amps: (1) virtual ground, (2) preamplifier, (3) lowpass filter, (4) final amplifier and second lowpass filter. It doubles as a pulse oximeter (near rail-to-rail swing at 12V and 5V) with a phototransistor, and an ECG (about 0.5 V output).

ความคิดเห็น • 66

  • @TromboneGeek1313
    @TromboneGeek1313 11 ปีที่แล้ว

    As a high school student interested in electronics / engineering, you inspire me, sir. Excellent!

  • @farkasjozsef1993
    @farkasjozsef1993 10 ปีที่แล้ว +3

    Just a little comment at 4:20 - You say you have "a relatively small amount of 60Hz noise over there". I should correct you: You have NONE! That is exactly what you had to achieve. That is the "dicrotic notch" which you think it is a noise, which is absolutely vital and physiological. Thumbs up for your great work, mate!

    • @among-us-99999
      @among-us-99999 4 ปีที่แล้ว +1

      @József Farkas I think he means the noise that causes the whole dot to be a little bit "smeared" out.

  • @RealReelzz
    @RealReelzz 5 ปีที่แล้ว +2

    thanks for the video lil bro. Ive been looking for something like this for a while. keep up the good work

  • @N7TFP
    @N7TFP 11 ปีที่แล้ว +1

    I really admire your work. Thanks for sharing your experiments!

  • @hexad3c1m4l
    @hexad3c1m4l 11 ปีที่แล้ว +3

    Super impressive project. Amazing.

  • @swharden
    @swharden  11 ปีที่แล้ว +1

    Agreed. It's more of a light-based pulse detection circuit. I detail it further in my web page which documents it fully. As you say, graphing the ratio of red/infrared would provide a quantitative measurement of blood oxygenation.

    • @isoaso344
      @isoaso344 4 ปีที่แล้ว

      Amazing work! Do you have any idea how we can calculate SpO2 momentarily?

    • @convolution_talk_show
      @convolution_talk_show 3 ปีที่แล้ว

      give the link to your webpage

    • @swharden
      @swharden  3 ปีที่แล้ว

      @@convolution_talk_show It's in the description

  • @DenofGoods
    @DenofGoods 8 ปีที่แล้ว

    This instructional video is so easy to follow

  • @laxmanp.k7535
    @laxmanp.k7535 4 ปีที่แล้ว

    Beautifully done . Great job !

  • @amyfalyn
    @amyfalyn 8 ปีที่แล้ว +3

    Is there a specific photo transistor to use? can you provide the site to where you found yours.... thanks

  • @beatlessteve1010
    @beatlessteve1010 8 ปีที่แล้ว +1

    I cant seem to get my phototransistor to pick up any noticeable voltage change in my finger, my output is either high (12vdc) or low (gnd) but no heart beat fluxuation , tried swapping decoupling caps there is just no small signal to amplify, im not giving up though, I did just use a red led instead of an actual infrared diode, ill try using the infrared diode this time...

  • @K12Reversal
    @K12Reversal 9 ปีที่แล้ว +10

    Nice job but technically, this is not an "oximeter" because you are not measuring the amount of oxygen in blood but the variations in the amount of blood in blood vessels due to heart beating. In the case of EKG (ECG), you have to be careful with leakage currents that circulate from your heart to the oscilloscope, in given circumstances and in the worst case, they can lead to heart fibrillation.

    • @fritzschnitzmueller3768
      @fritzschnitzmueller3768 5 ปีที่แล้ว

      Yes..and should only use a battery as power supply

    • @felixcat4346
      @felixcat4346 5 ปีที่แล้ว +1

      @@fritzschnitzmueller3768 Don't worry so much.

  • @Symbiatch
    @Symbiatch 11 ปีที่แล้ว +1

    Nice circuit, just have to mention that it's not actually a oximeter since there isn't an IR led with which you can do comparison to actually determine oxidation.

  • @Ryan-mw4zv
    @Ryan-mw4zv 8 หลายเดือนก่อน

    Thank you for this! Do you know if it’s possible to get the precordial leads?

  • @among-us-99999
    @among-us-99999 4 ปีที่แล้ว +3

    Great project! I think I saw a DIY EEG a while ago that functioned in a similar way.
    Also, how do you get the oximetry data out of this?

    • @isoaso344
      @isoaso344 4 ปีที่แล้ว +1

      I have the same question and i still couldn't find how to.

  • @LuisRodriguezIdeanologies
    @LuisRodriguezIdeanologies 10 ปีที่แล้ว

    Hi, I am trying to duplicate your work but with 5v source voltage and later feeding it to one of the analog inputs of an arduino, but somehow I failed to mimic your results. I am using a IR led instead of a red led, also I don't see the polarity for the 0.22 micro farads capacitors in your diagram.

  • @akshayd211
    @akshayd211 10 ปีที่แล้ว

    Hi Scott Harden , So you have to give the output of Virtual Gnd Ckt to +ve V ( not Vcc Obviously ) of Amp 1 2 and 3 ?
    And by pre amplifier Input you mean the Output of Photo transistor, right ?
    Please Help.
    I'm new to Electronics. Thanks.

  • @jayseeP
    @jayseeP 7 ปีที่แล้ว

    Can you explain how you knew to use a 0.22uF capacitor as a coupler? And also how to determine what the supply voltage should be for the circuit?

  • @JoJo-kx8co
    @JoJo-kx8co 8 ปีที่แล้ว +2

    this circuit is so simple i liked it , but still i need to measure the o2 rate in blood , i need a simple circuit for my graduation project , do you any website gives simple circuit , i cant buy ready one (they dont accept it ) i need to made one my self . and again this video is great you are simply great :)

    • @MrEzlen
      @MrEzlen 8 ปีที่แล้ว +2

      hey :) if incase u hav found the circuit diagram for the oximeter would u please share it with me.. I need it for the college project too :) thanks

    • @isoaso344
      @isoaso344 4 ปีที่แล้ว +2

      @@MrEzlen I have the same graduation project. Could you find out anything? It would be just amazing if you could share :D

    • @isoaso344
      @isoaso344 4 ปีที่แล้ว +2

      Could you find anything related sir? I have the same project and it could be really helpful if you have found something :)

    • @MrEzlen
      @MrEzlen 4 ปีที่แล้ว +2

      @@isoaso344 could you give me your mail address I had done that about 4 years ago.. i will have to check if i still have it

    • @isoaso344
      @isoaso344 4 ปีที่แล้ว +3

      @@MrEzlen Thanks for your reply. My e-mail address is: hia1998@hotmail.com I will delete this comment in 1-2 hour since there may be someone who wants to troll me through my e-mail :D

  • @eugenebarryariola7529
    @eugenebarryariola7529 10 ปีที่แล้ว

    sir question, is the resistance of the resistor at the detector circuit with the phototransistor just equal to the emitter circuit which is 1800 ohms?

  • @zachreyhelmberger894
    @zachreyhelmberger894 8 ปีที่แล้ว +1

    For the sticky pads on your skin, are they connected to your circuit via a twisted pair of wires? That alone could help reduce the 60Hz noise. I am amazed at how sensitive the pulse-ox is to your pulse! Nice work! You should feed it into a data logger for analysis 500 samples/sec should be fast enough.

  • @davidgerdt2274
    @davidgerdt2274 8 ปีที่แล้ว +3

    This is a pulse detector not an oximeter. It does not measure the oxygen level in the capillary bed as do pulse oximeters or oximeters.

    • @felixcat4346
      @felixcat4346 5 ปีที่แล้ว

      Yes he is obviously carried away by his own book learning shit.

    • @isoaso344
      @isoaso344 4 ปีที่แล้ว

      Agreed but do you have any idea how to build a SpO2 circuit? It would be great if you can share :)

  • @noahw4623
    @noahw4623 4 ปีที่แล้ว

    This video is a few years old, but because of COVID-19 people are looking for affordable ways to expand monitoring of COVID patients so that better treatment decisions can be made earlier.
    I just want to caution everyone to be extremely careful with DIY ECG. The primary issue is electrodes are designed to eliminate (as much as possible) the resistance of the skin, that means whatever current is flowing through the leads is going to flow directly through your heart.
    The maximum current allowed in commercial ECG devices is

    • @swharden
      @swharden  4 ปีที่แล้ว +1

      Hi Noah, thank you for clearly stating this important message! This video is several years old, and moderately improved safety may be achieved by using a commercially-available ECG sensor board th-cam.com/video/sP_-f5nsOEo/w-d-xo.html although a good understanding of electronics and attention to safety is required whenever one uses or experiments with medical devices.

    • @noahw4623
      @noahw4623 4 ปีที่แล้ว

      @@swharden
      We're actually using the AD8233 chip to develop a portable, OSHW ICU monitor, they're nifty little chips :)
      Patient isolation is the big thing, you want to make sure that no matter what happens the patient is never in the path to earth. Which, for the most part running this IC off battery power does, but connecting directly to the mic jack of a computer presents an opportunity (although very slim) for the patient to become a path to ground, this gets even riskier if more devices are attached to the patient
      Here's a primer on that www.asnm.org/blogpost/1635804/289003/Understanding-Patient-Grounding
      To step up safety a bit more you might want to consider running an ADC inside the device itself (off the battery power) then have an opto-isolated connection to the computer you're displaying it on.
      I think the easiest way to do it might be a two microcontroller setup, have one doing the ADC running off battery power communicating to a second controller via an optocoupled I2C bus, then have the second microcontroller (powered by USB) handling the USB connection to a computer.
      Alternatively, you could use analog opto-couplers, I'd imagine you'd need 2 of them (1 for each lead to get + and - readings), but analog signal isolation is quite a bit harder than digital (and the ICs are more expensive too)

    • @swharden
      @swharden  4 ปีที่แล้ว +1

      @@noahw4623 These are more excellent points, and patient isolation is a good topic to read about. I encourage you to review the AD8232 datasheet (Fig 66) or AD8233 datasheet (Fig 72). You will find that none of the 3 body leads are grounded. My understanding is that no path to ground is provided to the patient, even if the output of that chip is fed into a computer sound card.

  • @aishwaryasawant9257
    @aishwaryasawant9257 8 ปีที่แล้ว +5

    I want to SpO2 arduino code. its urgent

    • @monotrope
      @monotrope 3 ปีที่แล้ว

      Engineering project isn't it? I'm curious what you're doing now? Working, higher education?
      Asking because I'm in your place today.

    • @infinitx1330
      @infinitx1330 3 ปีที่แล้ว

      Why don't you write yourself and ask doubt on stack overflow than being a copycat who knows nothing??

  • @fitzgebd
    @fitzgebd 11 ปีที่แล้ว

    Keep us updated

  • @jaybhanushali6448
    @jaybhanushali6448 8 ปีที่แล้ว

    Which phototransistor you used here?

  • @isoaso344
    @isoaso344 4 ปีที่แล้ว +1

    Amazing work! This is a great pulse sensor but is there any way to obtain SpO2 value from the circuit you made? Again, thanks for your effort. :)

  • @dailycookingbyaina9024
    @dailycookingbyaina9024 5 ปีที่แล้ว

    Can u put step by step of the process on your description box next?

    • @swharden
      @swharden  5 ปีที่แล้ว +1

      aina amlia saman the project page linked to in the description contains this information 👍

  • @pskbalaji000
    @pskbalaji000 11 ปีที่แล้ว

    how the sound card is used... i mean wats de input to it....

  • @mr.discover1063
    @mr.discover1063 4 ปีที่แล้ว

    awsome

  • @BaconMist3000
    @BaconMist3000 11 ปีที่แล้ว

    Awesome vid's good sir

  • @SaurabhKumar-ck8md
    @SaurabhKumar-ck8md 7 ปีที่แล้ว

    can you u give me the list of component which is used in this

    • @swharden
      @swharden  7 ปีที่แล้ว +1

      www.swharden.com/wp/2013-04-14-simple-diy-ecg-pulse-oximeter-version-2/

    • @SaurabhKumar-ck8md
      @SaurabhKumar-ck8md 7 ปีที่แล้ว

      Scott Harden bro I am in project which is related to ECG Using lab view so can u give me your gmail which is good for me

  • @Manoj_N_B.pharm08
    @Manoj_N_B.pharm08 10 ปีที่แล้ว

    NICE

  • @alexanderalex3761
    @alexanderalex3761 8 ปีที่แล้ว

    not ecg it just pulse

  • @MoreninhunoBRTM
    @MoreninhunoBRTM ปีที่แล้ว

    Hi, what email to contact?

  • @muhammadkashif349
    @muhammadkashif349 10 ปีที่แล้ว

    Realllly appreciate your effortss