DIY ECG - 1 op-amp version

  Рет қаралды 61,090

Scott Harden (SWHarden)

Scott Harden (SWHarden)

Күн бұрын

Пікірлер: 130
@alirezajafari4405
@alirezajafari4405 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 жыл бұрын
This world needs more people like you! Thanks for the video, cheers!
@tim46767
@tim46767 8 жыл бұрын
to prevent issues from the computer, just add a capacitor in series to the input line. Great project TY Tim
@swharden
@swharden 8 жыл бұрын
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.
@martinkulik9466
@martinkulik9466 5 жыл бұрын
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!
@pierostefanoberaungasco8160
@pierostefanoberaungasco8160 5 жыл бұрын
You literally saved my life bro, congratulations!!!
@_AmHam_
@_AmHam_ 6 жыл бұрын
man ! I don't know where to start, you're simply amazing ! the way you explain is just terrific!
@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.
@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.
@badfrog
@badfrog 6 жыл бұрын
I'd love to see the output of this with the leads in better positions!
@agustinzavala7755
@agustinzavala7755 5 жыл бұрын
I'm doing this on a laptop and when I connect the 3.5mm cable, doesn't change the wave, it seems random
@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: kzbin.info/www/bejne/qYHCXplro9iCe9E
@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?
@luka7669
@luka7669 7 жыл бұрын
Hi, great project! I am wondering if the electrode on the leg is necessary? Could it work with just two el. on chest?
@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.
@jorgetrinidadmorales4096
@jorgetrinidadmorales4096 8 жыл бұрын
amigo ya tego el circuito pero como le hago para que mi compu muestre el latido de mi corazon, que programa usaste???
@sunilkumarlaxmanbhairohit1379
@sunilkumarlaxmanbhairohit1379 7 жыл бұрын
I have question that your project is working on Windows but how to implement project on Raspberry Pi ?
@JacobAntoun
@JacobAntoun 7 жыл бұрын
Great video quality and awesome show and tell!
@TheCarloszoom3000
@TheCarloszoom3000 5 жыл бұрын
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?
@tariqimtinan1707
@tariqimtinan1707 8 жыл бұрын
where did you connect the ground of 3.5mm audio jack?
@themonkeyminds7252
@themonkeyminds7252 8 жыл бұрын
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
@ReplicateReality
@ReplicateReality 6 жыл бұрын
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 =]
@muhammetyusufyilmaz1828
@muhammetyusufyilmaz1828 6 ай бұрын
Can you explain what is + bat and - bat on picture 13.44
@FerchoGarcia123
@FerchoGarcia123 7 жыл бұрын
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?
@vres15
@vres15 7 жыл бұрын
Could this program be used for the acquisition of a pulse oximeter signal?
@zucc4764
@zucc4764 2 жыл бұрын
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
@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
@sunnyshen5
@sunnyshen5 7 жыл бұрын
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?
@khalidjj2073
@khalidjj2073 2 жыл бұрын
Excellent video! How to expand this yo build a 12 lead ekg dyi....thanks
@lelandclayton5462
@lelandclayton5462 8 жыл бұрын
That is a awesome project.
@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
@shimonymittal410
@shimonymittal410 7 жыл бұрын
I tried ur ckt with your software, I m getting only noise... there is no pqrs waveform seen...need help urgently
@mohammedahmed7126
@mohammedahmed7126 3 жыл бұрын
Thank you bro. Your software really helped me.
@golloog
@golloog 6 жыл бұрын
is there a way to make it show the waveform on an oscilloscope?
@sachin123213
@sachin123213 4 жыл бұрын
I made this circuit, but how to run that software, please help.
@MdKhairulAlamTaifur
@MdKhairulAlamTaifur 7 жыл бұрын
You have done an excellent work.
@AnteBrkic
@AnteBrkic 2 жыл бұрын
Made it, it works! It also receives some funny radio station lol
@radiorider8249
@radiorider8249 8 жыл бұрын
Nice Scott, congratulations.
@mystwalker479
@mystwalker479 3 жыл бұрын
You can use this circuit to record any muscle activities (arm for example) too right? Afterall it picks up potential actions right?
@swharden
@swharden 3 жыл бұрын
Yes. If you put the pads on your forearm, for example, it should act as a crude EMG (electromyogram)
@widi1705
@widi1705 Жыл бұрын
Sehr gutes und interessantes Video - Vielen Dank dafür !!!
@brunoluigi18042004
@brunoluigi18042004 3 жыл бұрын
Incredible Projects, thanks
@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.
@harieshramanathanmanickam528
@harieshramanathanmanickam528 7 жыл бұрын
Hi sir great projects what about the electrode placements sir ?
@Uterr
@Uterr 8 жыл бұрын
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 жыл бұрын
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 7 жыл бұрын
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.
@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 6 жыл бұрын
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 6 жыл бұрын
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.
@ifehrim2097
@ifehrim2097 6 жыл бұрын
This project can only collect ECG waves?
@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 9 ай бұрын
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
@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
@psane
@psane 8 жыл бұрын
Great video. Learned a lot
@vincentsteinmetz3726
@vincentsteinmetz3726 3 жыл бұрын
Hello, i did it, it works very nice. This is super project, i'm really fan :)
@shishirbhattarai4093
@shishirbhattarai4093 5 жыл бұрын
Hi Scott! Can I get to read your paper on this? Please...
@swharden
@swharden 5 жыл бұрын
Sure! Links are in the description.
@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 жыл бұрын
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...
@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
@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.
@tylerpattison2560
@tylerpattison2560 8 жыл бұрын
Very elegant!
@JeredL
@JeredL 8 жыл бұрын
Awesome job!!!
@dgarcia94
@dgarcia94 5 жыл бұрын
How to do to detect the peaks of the signal and calculate the bpm?... Please help 😓
@swharden
@swharden 5 жыл бұрын
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.kzbin.info/www/bejne/qYHCXplro9iCe9E
@okbabouilouta3340
@okbabouilouta3340 6 жыл бұрын
how to change the code for Mac os ?? help
@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?
@gpintarelli
@gpintarelli 8 жыл бұрын
Awesome project :)
@schweizerd6303
@schweizerd6303 4 жыл бұрын
is it just me or does that look like an ST elevation?
@SaRa-vq7mk
@SaRa-vq7mk 3 жыл бұрын
what software you used??
@sayanmondal4570
@sayanmondal4570 6 жыл бұрын
How about a diode in the output to prevent reverse current
@swharden
@swharden 6 жыл бұрын
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
@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)]
@ifehrim2097
@ifehrim2097 6 жыл бұрын
good start ...the project simple , its awesome !?!!!!?!!!
@rohankumarsahu933
@rohankumarsahu933 7 жыл бұрын
can it be used as eeg
@hussain55019
@hussain55019 4 жыл бұрын
Just awesome Brother
@istvannagy2947
@istvannagy2947 8 жыл бұрын
Fantastic! :D Thank You! :)
@shimonymittal410
@shimonymittal410 7 жыл бұрын
Sir how can we give the o/p obtained on software to the raspberry pi
@shimonymittal410
@shimonymittal410 7 жыл бұрын
also sir can u provide ur email id
@swharden
@swharden 7 жыл бұрын
Shimony Mittal answers can be found on the website (link in description)
@alex_8704
@alex_8704 3 жыл бұрын
This is just great!!!
@oggobey73
@oggobey73 6 жыл бұрын
where is the P
@amarug
@amarug 7 жыл бұрын
awesome work
@10bokaj
@10bokaj 7 жыл бұрын
Really awesome stuf
@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! kzbin.info/www/bejne/mHyke6aQf9uAf5I
@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!
@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
@thomaskannarkatt5084
@thomaskannarkatt5084 7 жыл бұрын
Brilliant.
@fakecompte3395
@fakecompte3395 6 жыл бұрын
it doesn't work for me
@fsadfasfd
@fsadfasfd 8 жыл бұрын
Really nice
@GlebLebedevOnSoftware
@GlebLebedevOnSoftware 8 жыл бұрын
Good Job!
@denissonarif9810
@denissonarif9810 7 жыл бұрын
thank you brother
@demetriosdemetriou1114
@demetriosdemetriou1114 7 жыл бұрын
bravo wonderful
@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).
@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 kzbin.info/www/bejne/qYHCXplro9iCe9E
@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.
DIY ECG with AD8232 and Sound Card
16:08
Scott Harden (SWHarden)
Рет қаралды 96 М.
How to design a single supply EMG, EKG, or EEG circuit
14:33
Jimmy Dieffenderfer
Рет қаралды 95 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 8 МЛН
Precision Pressure Meter Project
56:21
Scott Harden (SWHarden)
Рет қаралды 23 М.
DIY ECG and Pulse Oximeter with LM324 OpAmp (1 of 2)
6:31
Scott Harden (SWHarden)
Рет қаралды 111 М.
Best 10 Items I Tested in 2024!
20:12
Project Farm
Рет қаралды 653 М.
Demonstration of a Low Cost EEG Circuit
7:13
Roboro
Рет қаралды 43 М.
Electrocardiography, Simple ECG Circuit Using OP-AMPS [DIY]
10:25
Engineer Sarrah
Рет қаралды 10 М.
Analog sensor to monitor heart rate (ECG) with AD8232
21:00
Editronikx
Рет қаралды 59 М.
Build an ECG Amplifier
17:51
nLab
Рет қаралды 10 М.
DIY ECG and Pulse Oximeter with LM324 OpAmp (2 of 2)
6:28
Scott Harden (SWHarden)
Рет қаралды 27 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24