DIY ECG - 1 op-amp version

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 131

  • @alirezajafari4405
    @alirezajafari4405 2 роки тому +2

    I'm glad you're okay

  • @benjooo
    @benjooo 4 роки тому

    I would like to see how real expensive ECG is showing graph comparing at same time with your ECG. YOU ARE amazing in explaining things, straight to important things, easy understandable language. BRAVO. greetings from Bosnia

  • @luckystrike5962
    @luckystrike5962 6 років тому +4

    This world needs more people like you! Thanks for the video, cheers!

  • @martinkulik9466
    @martinkulik9466 5 років тому +1

    Dcott you deserve a medal and NOBEL PRIZE! whatever the accuracy even tho I know almost nothing about this, you for sure deserve a nobel prize!

  • @_AmHam_
    @_AmHam_ 6 років тому +2

    man ! I don't know where to start, you're simply amazing ! the way you explain is just terrific!

  • @tim46767
    @tim46767 8 років тому +1

    to prevent issues from the computer, just add a capacitor in series to the input line.
    Great project TY
    Tim

    • @swharden
      @swharden  8 років тому +2

      I actually don't think this is a winning idea. A passive series capacitor on the output will act as a high-pass filter and preferentially pass the 60Hz noise and resist the low frequency signal that is the ECG. To let the ECG signal pass, you need a very large value capacitor. I don't think it provides a lot of benefit, and if you really want isolation from a computer consider using an opto-isolator.

  • @pierostefanoberaungasco8160
    @pierostefanoberaungasco8160 5 років тому +5

    You literally saved my life bro, congratulations!!!

  • @imen2262
    @imen2262 7 років тому

    Hello, Scott!
    It is pleasant to me as you approach the solution of complex challenges! I am not an expert in electronics. But your project very much helped me. Now I try to create the cheap 1-channel sensor ECG about bluetooth connection. If it is interesting to you, we can discuss it. Igor.

  • @radoslavradoslavov3528
    @radoslavradoslavov3528 5 років тому

    Probably the best video from that kind! I must try it! Please keep detailings

    • @swharden
      @swharden  5 років тому

      I'm glad you like it! Definitely check out my more recent version: ua-cam.com/video/sP_-f5nsOEo/v-deo.html

  • @badfrog
    @badfrog 7 років тому

    I'd love to see the output of this with the leads in better positions!

  • @catafest
    @catafest 6 років тому

    Is like a predator display into bandwidth, this can be more interesting if you can try to get signals from the environment using an AI python module to detect more into the area. I like also the UI you created to show the ECG.Very simple and well done project.

  • @ReplicateReality
    @ReplicateReality 6 років тому +1

    Your my hero man i have a bunch of projects im almost capable of doing and your a big help along the way

    • @swharden
      @swharden  6 років тому

      Elliott Bork I’m glad you got inspiration from my videos! Keep building things and having fun =]

  • @ericrawson2909
    @ericrawson2909 2 роки тому

    Would it not be very easy to have a second stage of amplification with two RC networks to give 6dB per Octave rolloff to do the low pass filtering, so you could display the signal on a scope directly?

  • @sunnyshen5
    @sunnyshen5 7 років тому +1

    Scott you are great... I just followed the instructions, and do you know what! it's awesome man. Its running. thank you very much. its amazing.

    • @harieshramanathanmanickam528
      @harieshramanathanmanickam528 7 років тому

      Sunny Shen I would like to know how to run the python programming please guide me regd ! I would like to implement it at my village to help a dr pls help me related

    • @allenspain7696
      @allenspain7696 7 років тому

      @Sunny where you able to get the same profile on an oscilloscope?

  • @JacobAntoun
    @JacobAntoun 7 років тому

    Great video quality and awesome show and tell!

  • @irinasokol
    @irinasokol Місяць тому

    Thank you so much! Can the same amplifier be used to record rodent ECG?

  • @agustinzavala7755
    @agustinzavala7755 5 років тому +1

    I'm doing this on a laptop and when I connect the 3.5mm cable, doesn't change the wave, it seems random

  • @khalidjj2073
    @khalidjj2073 2 роки тому

    Excellent video! How to expand this yo build a 12 lead ekg dyi....thanks

  • @trevorloughlin1492
    @trevorloughlin1492 3 роки тому

    I want to run a telerobot from my own myoelectric signals. Do myoelectric amplifiers need more amplification than an EEG? Also do you have a c# version of your EEG project? I built my own hardware true random number generator using a 741 op-amp and you have shown me why it could be unreliable using a breadboard due to the antennae effect. The reason I needed a TRNG was I have found a way using them with some clever software and maths to overcome the no communication theorem and send FTL signals on a CTC. I now use a Comscire QNG because building my own fast TRNG was too much like hard work.

  • @luka7669
    @luka7669 7 років тому +1

    Hi, great project! I am wondering if the electrode on the leg is necessary? Could it work with just two el. on chest?

  • @lelandclayton5462
    @lelandclayton5462 8 років тому +3

    That is a awesome project.

  • @FerchoGarcia123
    @FerchoGarcia123 7 років тому +1

    It works :D !! Im very excited!! Thank you Scott for share this project.
    I have this question: if a use an oscilloscope to project the signal and a pasive RC Low-Pass filter should i see the same signal? or i have to use the instrumentation amplifier as you said at the begining of the demostration?
    Thank you again, and have my best wishes!

    • @TheCarloszoom3000
      @TheCarloszoom3000 5 років тому

      I did the wiring and but i'm only getting a bunch of noise. Did you tried including the low pass filter and checked the signal in the scope?

    • @CodeZhifty
      @CodeZhifty 3 роки тому

      Do you remember how many watts the resistors was?

  • @gabrielaalejandragarcia5642
    @gabrielaalejandragarcia5642 5 років тому

    great project, i'm building it now. please can you add millimeter divisions in software( time and millivolts) ? it's useful to measure branch blocks, electrical axis and so on. thanks in advance

  • @AnteBrkic
    @AnteBrkic 2 роки тому

    Made it, it works! It also receives some funny radio station lol

  • @themonkeyminds7252
    @themonkeyminds7252 8 років тому +1

    sir c@n u tell that how to make audio meter and it displays graph in really time through PC....please sir help....
    WAITING FOR YOUR RESPONSE

  • @muhammetyusufyilmaz1828
    @muhammetyusufyilmaz1828 7 місяців тому

    Can you explain what is + bat and - bat on picture 13.44

  • @jorgetrinidadmorales4096
    @jorgetrinidadmorales4096 8 років тому +1

    amigo ya tego el circuito pero como le hago para que mi compu muestre el latido de mi corazon, que programa usaste???

  • @TheCarloszoom3000
    @TheCarloszoom3000 5 років тому +1

    Great project man. I wired it as shown in the schematic and even used 3 coins as the electrodes. I put them 2 on left and right chest and right leg. All i'm getting is a bunch of noise in the .exe app.
    What could be wrong?

  • @MdKhairulAlamTaifur
    @MdKhairulAlamTaifur 7 років тому

    You have done an excellent work.

  • @ReplicateReality
    @ReplicateReality 6 років тому

    Would you be able to program a version that is able to negate the heart beat but turn it into a EMG signal amplifier? Cuz i want to do that and advice would be awesome

  • @radiorider8249
    @radiorider8249 8 років тому

    Nice Scott, congratulations.

  • @sunilkumarlaxmanbhairohit1379
    @sunilkumarlaxmanbhairohit1379 7 років тому +1

    I have question that your project is working on Windows but how to implement project on Raspberry Pi ?

  • @sachin123213
    @sachin123213 5 років тому

    I made this circuit, but how to run that software, please help.

  • @tariqimtinan1707
    @tariqimtinan1707 8 років тому +1

    where did you connect the ground of 3.5mm audio jack?

  • @shimonymittal410
    @shimonymittal410 7 років тому

    I tried ur ckt with your software, I m getting only noise... there is no pqrs waveform seen...need help urgently

  • @mystwalker479
    @mystwalker479 4 роки тому

    You can use this circuit to record any muscle activities (arm for example) too right? Afterall it picks up potential actions right?

    • @swharden
      @swharden  4 роки тому

      Yes. If you put the pads on your forearm, for example, it should act as a crude EMG (electromyogram)

  • @harieshramanathanmanickam528
    @harieshramanathanmanickam528 7 років тому

    Hi sir great projects what about the electrode placements sir ?

  • @vres15
    @vres15 7 років тому +1

    Could this program be used for the acquisition of a pulse oximeter signal?

    • @zucc4764
      @zucc4764 3 роки тому

      I know it's 4 years late but definitely! You can use a constant light source and a detector such as a phototransistor and feed that signal instead

  • @widi1705
    @widi1705 2 роки тому

    Sehr gutes und interessantes Video - Vielen Dank dafür !!!

  • @golloog
    @golloog 6 років тому

    is there a way to make it show the waveform on an oscilloscope?

  • @mohammedahmed7126
    @mohammedahmed7126 4 роки тому

    Thank you bro. Your software really helped me.

  • @psane
    @psane 8 років тому +1

    Great video. Learned a lot

  • @shimonymittal410
    @shimonymittal410 7 років тому

    Also I tried again now there is prblm in the UI of software...its starting n stopping aftr few ms

  • @jackanma6504
    @jackanma6504 7 років тому

    Hi, I did some Pyinstaller before , and it seems not that big packages you must pack to exe . Please check the pyinstall --help. With some options you can pack the least part of the python packages.

    • @swharden
      @swharden  7 років тому

      Markyan marx that sounds great! If someone (you?) wants to pack this script with pyinstaller, I’d love to see how small it is, and can make it available for download.

  • @tserbos2
    @tserbos2 7 років тому

    Can you use the graph to calculate bpm ? Can the output graph + the bpm to displayed in a little i2c screen with the help of arduino ?

    • @miron__
      @miron__ 7 років тому

      the arduino probably doesn't have enough processing power to do FFT and low-pass in software. you would have to make your own program that just looks at the peaks in the signal

  • @Larry_Druhall
    @Larry_Druhall 7 років тому

    This video is incredible. Your approach seems great. I am having some issues adapting this to macOS. WinPython is not available for Macs. But the Python analytical tools used are available. It looks like I have to educate myself on how to create graphical FFT analytical tools on macOS or get a Windows computer. Thank you for posting.

  • @brunoluigi18042004
    @brunoluigi18042004 3 роки тому

    Incredible Projects, thanks

  • @vincentsteinmetz3726
    @vincentsteinmetz3726 3 роки тому

    Hello, i did it, it works very nice. This is super project, i'm really fan :)

  • @dgarcia94
    @dgarcia94 5 років тому

    How to do to detect the peaks of the signal and calculate the bpm?... Please help 😓

    • @swharden
      @swharden  5 років тому +1

      Diego Garcia check out my most recent video on this subject - it does peak detection and calculates BPM in real time (with source code) m.ua-cam.com/video/sP_-f5nsOEo/v-deo.html

  • @tylerpattison2560
    @tylerpattison2560 8 років тому +1

    Very elegant!

  • @gpintarelli
    @gpintarelli 8 років тому +2

    Awesome project :)

  • @JeredL
    @JeredL 8 років тому +2

    Awesome job!!!

  • @ifehrim2097
    @ifehrim2097 6 років тому

    This project can only collect ECG waves?

  • @amarug
    @amarug 7 років тому

    hm. i rebuilt your circuit 1:1, just instead of the sound card i used the oscilloscope in roll mode, as this felt like a not unreasonable thing to do. but all i get is perfectly homogeneous 50hz noise. zero signal :/

    • @swharden
      @swharden  7 років тому +1

      Raoul, that does not surprise me. The software does an immense amount of filtering that your oscilloscope is not doing. At one point in the video I disable the filtering and you can see that all I get is 50hz noise. You replicated this result, just with an oscilloscope. If you want to do this without a computer, you need a well tuned and very narrow 50 Hz (or 60 Hz) notch filter on the output. Good luck!

    • @amarug
      @amarug 7 років тому

      thank you very much Scott for your answer. that makes total sense, indeed. I was just somehow under the impression that i should at least see some small dent or so, instead of pure noise without a hint of structure. I am a mechanical engineer and spent the last few years doing mathematical modeling and simulation of soft tissues and related stuff, trying to refresh my electronics with some home projects. :)

    • @amarug
      @amarug 7 років тому

      i will try the sound-card adc instead!

    • @javicordon
      @javicordon 6 років тому

      Raoul hi Raoul, did you manage to make it work? I was also expecting at least a small peak. We could see it when the filter was turned off on the video, a lot of noise due 60hz but also the peak of the heart beat. I am thinking this is only a pre-amp and then the computer card has another amplifier for its incoming signal. So there could be a need of more gain in a Single amplifier if not using a computer or two amplifiers to get some signal...

  • @Uterr
    @Uterr 8 років тому +1

    Great job :) So, why is it actually works? All ECG schemas i found contains at least 2 opamps. Is it because sound card has its own amplifier on input?

    • @Uterr
      @Uterr 8 років тому +1

      And second question, did you try to put signal from your ecg schema to controller adc, will you need additional amplifier for it to work? I am going to check will it work with controller anyway, just what you think about it? :)

    • @doza6262
      @doza6262 8 років тому

      That is the beauty of the code he built. He just amplified the signal straight ahead in one step and managed to eliminate all noise which is generally avoided with those 2+ op amps configurations.

  • @okbabouilouta3340
    @okbabouilouta3340 6 років тому

    how to change the code for Mac os ?? help

  • @SaRa-vq7mk
    @SaRa-vq7mk 3 роки тому

    what software you used??

  • @deeprj3710
    @deeprj3710 7 років тому

    is it possible to measure EMG AND EEG by using same circuit and same electrode. by just changing the position of electrode.

    • @10bokaj
      @10bokaj 7 років тому

      yes, maybe you should change the gain, but yes it is possible

    • @ArshadAli-zk5kj
      @ArshadAli-zk5kj 6 років тому

      You also need to change the lower and upper cutoff frequencies of the band pass filter.

  • @shishirbhattarai4093
    @shishirbhattarai4093 5 років тому

    Hi Scott!
    Can I get to read your paper on this? Please...

    • @swharden
      @swharden  5 років тому

      Sure! Links are in the description.

  • @e.n.1002
    @e.n.1002 6 років тому

    Very good project but i can't understand why you use 10m ohm resistor. Can you say me why you use it and what wıll happen if I DON't use it. Is it dangerous to not use 10m ohm resistor??

    • @shisoy4809
      @shisoy4809 11 місяців тому

      Yes he said as the op amp input has high impedance, the current coming from the battery will go through your body and may stop the heart

  • @martinmilner2019
    @martinmilner2019 8 років тому

    Built it. Worked as advertised.

    • @tariqimtinan1707
      @tariqimtinan1707 8 років тому

      Which 3.5 mm audio jack did you use for taking output from circuit to computer? TRS or TRRS?

  • @sayanmondal4570
    @sayanmondal4570 6 років тому

    How about a diode in the output to prevent reverse current

    • @swharden
      @swharden  6 років тому +1

      Not recommended. This is because the output is AC coupled and centered at 0 V. Not only would the diode delete all signals below 0V, but it would also remove all signal below its forward drop voltage. The output of this circuit is to be connected to the microphone adapter, which expects + and - voltage anyway. Good question though!

    • @sayanmondal4570
      @sayanmondal4570 6 років тому

      understood.... thanks for replying

    • @sayanmondal4570
      @sayanmondal4570 6 років тому

      Im actually trying this out

  • @melof
    @melof 6 років тому

    so, is it possible to run the software on a raspberry pi? Awesome project, thanks.

    • @swharden
      @swharden  6 років тому

      It may be possible, but in my experience QT libraries aren't easy to get running on the PI. This is because (as of about a year ago) the PI operating systems support Python 2.7, not Python 3.x -- so it will take a little effort to set up the right version and all the right libraries. On a more complete system, you can just install Anaconda and it works. Maybe try to install Anaconda on the PI and see if it works? Email me if you figure it out and I'll add the notes to the project page! --Scott

  • @rohankumarsahu933
    @rohankumarsahu933 7 років тому

    can it be used as eeg

  • @ifehrim2097
    @ifehrim2097 6 років тому

    good start ...the project simple , its awesome !?!!!!?!!!

  • @shimonymittal410
    @shimonymittal410 8 років тому

    Sir how can we give the o/p obtained on software to the raspberry pi

    • @shimonymittal410
      @shimonymittal410 8 років тому

      also sir can u provide ur email id

    • @swharden
      @swharden  8 років тому

      Shimony Mittal answers can be found on the website (link in description)

  • @schweizerd6303
    @schweizerd6303 4 роки тому

    is it just me or does that look like an ST elevation?

  • @istvannagy2947
    @istvannagy2947 8 років тому

    Fantastic! :D Thank You! :)

  • @cirosmserpico3832
    @cirosmserpico3832 8 років тому

    hello, nice project and good software!
    I'm new in electronics and I have a little question, it seems a sort of mistake, but maybe I missed something. reading the datasheet of LM741 the minimum supply voltage is 10 V: how can it work with a 9V battery? of course it works! but does this "baseline" affects in some way the OPAMP?
    [www.ti.com/lit/ds/symlink/lm741.pdf section (6.3)]

  • @davidesouzareis9993
    @davidesouzareis9993 7 років тому

    I want the codes that you used in the processing

    • @swharden
      @swharden  7 років тому

      www.swharden.com/wp/2016-08-08-diy-ecg-with-1-op-amp/
      github.com/swharden/diyECG-1opAmp/

    • @davidesouzareis9993
      @davidesouzareis9993 7 років тому

      the processing is not accepting the codes that meet it although I think you used the arduino (my interpretation of processing and 2.2.1).

    • @swharden
      @swharden  7 років тому

      This is not Arduino, this is just an analog op-amp. Also, software is Python, not processing or Java

    • @davidesouzareis9993
      @davidesouzareis9993 7 років тому

      so thank you

  • @amarug
    @amarug 7 років тому

    awesome work

  • @annaheart4906
    @annaheart4906 5 років тому

    Can I use an oscilloscope as my output?

    • @swharden
      @swharden  5 років тому

      Anna Heart probably not because this software does a lot of filtering. Check out my latest ECG video though, that one is perfect for an oscilloscope

    • @annaheart4906
      @annaheart4906 5 років тому

      Scott Harden I already checked that out but I have to use an op-amp 😔 that’s why I’m interested on this one but I don’t know anything about programming and stuff.

    • @swharden
      @swharden  5 років тому

      You can probably see the ECG signal on the oscilloscope, it will just be really noisy. The 60 Hz noise will be 10x bigger than the ECG signal, but the 60 Hz noise will bobble up and down with your heartbeat. A better project for using an op-amp is a pulse oximeter! ua-cam.com/video/bKAJsZJvMI0/v-deo.html

    • @annaheart4906
      @annaheart4906 5 років тому

      Scott Harden I think I can make the software work out. Now... hoy do I connect the circuit into my computer? Like the “microphone”?

    • @swharden
      @swharden  5 років тому

      Anna Heart you got it!

  • @oggobey73
    @oggobey73 6 років тому

    where is the P

  • @10bokaj
    @10bokaj 7 років тому

    Really awesome stuf

  • @hussain55019
    @hussain55019 4 роки тому

    Just awesome Brother

  • @alex_8704
    @alex_8704 3 роки тому

    This is just great!!!

  • @denissonarif9810
    @denissonarif9810 8 років тому

    thank you brother

  • @thomaskannarkatt5084
    @thomaskannarkatt5084 7 років тому

    Brilliant.

  • @fakecompte3395
    @fakecompte3395 6 років тому

    it doesn't work for me

  • @GlebLebedevOnSoftware
    @GlebLebedevOnSoftware 8 років тому

    Good Job!

  • @fsadfasfd
    @fsadfasfd 8 років тому

    Really nice

  • @demetriosdemetriou1114
    @demetriosdemetriou1114 7 років тому

    bravo wonderful

  • @maddyaurora
    @maddyaurora 4 роки тому

    160 Mb is a lot better than dowloading the 600 Mb pyton instalation

    • @swharden
      @swharden  4 роки тому

      True! Luckily the SoundCardECG program is about 1MB ua-cam.com/video/sP_-f5nsOEo/v-deo.html

  • @mamdouh-Tawadros
    @mamdouh-Tawadros 6 років тому

    Good video, and creative thinking. But these waves are very crude to give any meaningful information. It just shows pulse, not EKG diagnostic waves.

    • @swharden
      @swharden  6 років тому

      This is correct! It is a fun project to increase peoples exposure to circuit design and signal analysis software. While the waveform may not be of diagnostic quality, it is interesting to inspect. It could be used for heartbeat rate detection (obviously only in non-critical applications).

  • @bombapiotr
    @bombapiotr 3 роки тому

    Saw first five minues. It's not really safe k think you're not isolated properly when connected to computer xD

  • @felixcat4346
    @felixcat4346 5 років тому

    Scotty boy, just relax. The video was great up until you get the the dangerous warning for 15 minutes.