EEVblog

  Рет қаралды 82,285

EEVblog

EEVblog

Күн бұрын

Fundamentals Friday
Dave takes you through designing a signal overload detector circuit from scratch and then builds it up on the breadboard.
Window comparators, schmitt inverters, capacitor charging, pulse stretching, common mode input range, tongue angle tweaking, it's all here.
Forum Topic: www.eevblog.com/forum/blog/eev...
EEVblog Main Web Site:
www.eevblog.com
EEVblog Amazon Store:
astore.amazon.com/eevblogstore-20
Donations:
www.eevblog.com/donations/
Projects:
www.eevblog.com/projects/
Electronics Info Wiki:
www.eevblog.com/wiki/

Пікірлер: 174
@johnopalko5223
@johnopalko5223 5 жыл бұрын
My father was an engineer and a real perfectionist. The phrase "good enough" was never allowed to be uttered in our home. As a result, I grew up to be a real perfectionist. It does me a world of good to hear someone whom I respect say, "What the hell, it's close enough." Thanks!
@FlashEF
@FlashEF 11 жыл бұрын
This makes me wonder why we never had such electronic lessons. On my university it was mostly like "lest calculate this random gigantic resistor-transistor network". You know, for practical design knowledge and fun... I was never before in a situation when I sit down, listen and understand every single thing. And English is not even my native language, while those classes were!
@HighestRank
@HighestRank 6 жыл бұрын
IDK why
@MarkMcDaniel
@MarkMcDaniel 3 жыл бұрын
That's the problem with professors who've done nothing but instruct. They don't teach much that is practical because they've never worked in the industry.
@albertluna1001
@albertluna1001 3 жыл бұрын
So true
@zarserz
@zarserz 11 жыл бұрын
Love fundamentals Fridays, please keep em' coming Dave!
@madkins0128
@madkins0128 11 жыл бұрын
Thank you!! ... the identification of the building blocks and options of a circuit to achieve a result ... priceless.
@trevorvanbremen4718
@trevorvanbremen4718 3 жыл бұрын
The old '339 is quite a useful beast! I just used it in an automotive device that has several 0-5V analog input signals. I needed to include a voltage clamp on the micro-controller analog inputs in case some IDIOT (that'd be ME) accidentally shorted the input direct to the 12V battery. With 100% negative feedback (inverting input directly connected to the output), and a simple resistor pull up to the +5V micro controller power rail, the output will (fairly) accurately follow its input in the 0-5V range. If the input exceeds 5V (due to the IDIOT), the comparator will saturate at 5V since the pull up cannot pull the inverting input high enough to match the non-inverting input. One of the beauties of the venerable '339 is that it doesn't have the pesky input protection diode to the positive supply rail so the input can be 'over driven' right up to the CE breakdown voltage of the input transistor (>30 volts). Since there ARE no voltages below chassis ground in the car, I shouldn't have to be worried about the input pins being driven below 0V. (However, a resistor + diode clamp to ground on the input pin would almost do it) I included positions for external pull up resistors on the PCB, but I am hoping that simply enabling the MCU pin internal pullup resistor (around 50k) will be enough. The comparator output should cause the MCU input pin pull up resistor to be loaded just enough such that the voltage follows the comparator input (unless it exceeds 5V) It wouldn't have been quite as easy if I had to use a 3.3V based microcontroller as I would have had to scale down the input signal first!
@bloomtom
@bloomtom 11 жыл бұрын
I love following along as you solve the problem on the whiteboard. It's like watching a mystery unfold, my mind scrambling to uncover problems and solutions before they are revealed!
@kei_otake
@kei_otake 2 жыл бұрын
I remember Ben Eater using that T = R•C formula for a clock pulse iirc - so cool to see different engineering KZfaqrs mention the same things!
@Miketar2424
@Miketar2424 11 жыл бұрын
Dave, thankyou for Funda-Friday. Its the greatest idea you've ever had for your show imo. I'll be watching every one.
@TreacleMary
@TreacleMary 11 жыл бұрын
This was perfect for me Dave, going through the design decisions step-by-step, but not getting too bogged down in the basics. I look forward to more, cheers!
@memadmax69
@memadmax69 11 жыл бұрын
PLEASE! More fun-damentals fridays!
@RedRobster
@RedRobster 11 жыл бұрын
I don't even do electronics that much but Dave is a frequent-welcome guest to my screen.
@panzerschrekIOI
@panzerschrekIOI 11 жыл бұрын
I'm really glad you're doing more of these, I'm an electronic enthusiast and student, but I sometime lack the rough basics of some circuits, and you're making it so simple to understand... I'm actually watching your videos instead of making homework... But, electronic theory videos count as homework, right?
@Ninboyc
@Ninboyc 11 жыл бұрын
Absolutely love these educational videos Dave!
@gamccoy
@gamccoy 11 жыл бұрын
I like this new segment format, Dave. Please, keep them coming.
@modelrogers.19
@modelrogers.19 3 жыл бұрын
Thank you again for your walkthroughs. The best ive ever listened to. Thank you for helping us understand!
@pychneag
@pychneag 11 жыл бұрын
Excellent. Love these segments!
@roundboy0
@roundboy0 11 жыл бұрын
Dave, These segments are fantastic. Thank you.
@AbdullahKahramanPhD
@AbdullahKahramanPhD 11 жыл бұрын
Fundamentals Fridays are great, thanks Dave! 30 min. is perfect.
@jopotzner
@jopotzner 11 жыл бұрын
I'm really enjoying your Fundamental Friday videos. Keep up the great work!
@parvinzad
@parvinzad 11 жыл бұрын
Thank you Dave for your simplistic way of explantaion !
@viesturssilins858
@viesturssilins858 11 жыл бұрын
This new segment is perfect! Please keep them coming! And I think that the lenght is about optimal too.
@ver64
@ver64 11 жыл бұрын
Thanks Dave,can't wait to next Friday....
@BGaborr
@BGaborr 11 жыл бұрын
I love these tutorials! Way to go!
@ISmellBurning
@ISmellBurning 11 жыл бұрын
Fundamentals Fridays is a winner. Thanks very much Dave. :D
@BaratheonBC
@BaratheonBC 11 жыл бұрын
awsome, loving this segment. had to watch the RC explanation on the capacitor changing. two times (the high and low voltages were confusing me), but i got it. keep sharing the knowlege. thumbs up!
@KrisBlueNZ
@KrisBlueNZ 11 жыл бұрын
4. A simple option for detecting voltages close to the rails would be an NPN and a PNP from each rail in common emitter configuration. Several more transistors are needed to deal with the signals from the collectors of those transistors, so it's arguable whether that solution is better, but at least it avoids the common mode input range problem of the comparator.
@leeYT321987
@leeYT321987 11 жыл бұрын
Hey Dave! I'm only 5 minutes but I just wanted to tell you that I LOVE Fundementals Friday!!!
@robertfenney
@robertfenney 11 жыл бұрын
Thanks Dave this new segment are really helpful!
@crabxcorelol69
@crabxcorelol69 11 жыл бұрын
Friday is my new favorite day.
@sebastiang2296
@sebastiang2296 11 жыл бұрын
I really like this segment. A good balance to all the other videos. I'm looking forward to more Fundamentals Friday videos. The ~30 minute videos are OK and it is nice to have the theory with details and the real implementation and testing of the circuit.
@AntonioBarba_TheKaneB
@AntonioBarba_TheKaneB 11 жыл бұрын
I really like these fundamentals videos, much appreciated :)
@JeremyVeleber
@JeremyVeleber 11 жыл бұрын
I agree with Alyx about the longer videos. I disagree with the knowing everything about comparators, at least for my part. :) I know some useful stuff now. Thanks! Keep these up please, Dave.
@GadgetUK164
@GadgetUK164 11 жыл бұрын
Excellent as usual =) Very interesting, i've learnt lots from this. Keep up the great work!
@rotlerin
@rotlerin 11 жыл бұрын
Super stuff. I don't pretend to understand it all, but it's so damn interesting. Big thumbs up for FundFri.
@EEVblog
@EEVblog 11 жыл бұрын
I've had that one since I was a teenager!
@ForViewingOnly
@ForViewingOnly 11 жыл бұрын
Absolutely ACE Dave! Theory and practical... couldn't be better. As a vintage computer enthusiast I'd also like to request a F.F. covering switch mode power supplies, showing waveforms if possible. Thanks for listening.
@sergivaschenko
@sergivaschenko 2 жыл бұрын
1. Common mode voltage range of LM339 ends around Vcc -2V, so other comparator is needed here. 2. LM339 has bipolar transistor output, so our capacitor should discharge very slowly around "Low-level output voltage" 150-400mV, as listed in the datasheet. 3. Its a better idea to ground third comparator's positive input and change resistor value to achive desired delay.
@jix177
@jix177 11 жыл бұрын
Very well presented, well done!
@Menimitz
@Menimitz 11 жыл бұрын
I like these at about 30 minutes. I think depending on the topic they can go as high as 45 and still keep it watchable but much longer on a weekly basis would be tough to keep up with. Can't wait for episode 3.
@DavidTelesPortugal
@DavidTelesPortugal 11 жыл бұрын
Late in the nigth here in Portugal. So let me see this before bed.
@YQTFun
@YQTFun 11 жыл бұрын
Love fundamentals Friday.
@realcomix1
@realcomix1 11 жыл бұрын
Dave! I like the long videos! and I like the Fridays videos .. keep it up sir.
@txescientist
@txescientist 11 жыл бұрын
Keep up the good work! Great video as usual...
@EEVblog
@EEVblog 11 жыл бұрын
This is my usual workbench area. That whiteboard is right next to my main bench you see in most videos.
@sarwork
@sarwork 11 жыл бұрын
Thank you You have an excellent method for explaining circuits. Keep it up
@willywgb
@willywgb 11 жыл бұрын
Hi Dave Your new Fundamentals Fridays is great. Hope that you can keep doing them. Would like to see a segment on Switching Power Supplies? Keep up the great work. Willy
@mikeandrewp
@mikeandrewp 11 жыл бұрын
I made a very similar setup to test ATX power supplies, using four LM393s, an LM431 reference, transistor-driven Green (pass) / Red (fail) LEDs and a brighter overall "FAIL" LED, with an added CD4069 hex inverter and some diodes for logic. Also a set of 1ohm and 3.6ohm high-watt resistors and some NTD series power mosfets to generate a ~150W test load. Never got to build it, but I did get as far as a tentative board layout.
@SpeedDeamon95
@SpeedDeamon95 11 жыл бұрын
I love this stuff! but it also makes me realize how long its going to take to learn all this stuff but its worth it!
@EEVblog
@EEVblog 11 жыл бұрын
Yes, it counts. I can write you a note if needed!
@envisionelec
@envisionelec 11 жыл бұрын
I can't tell you how many times I've forgotten to read the datasheet for the output configuration for a comparator. I'm a little wiser now, but fortunately many comparators share pinout - saved me a few times.
@KrisBlueNZ
@KrisBlueNZ 11 жыл бұрын
3. In practice I would use a PNP emitter follower from the RC driving an LED, and a resistor between the comparator outputs and the capacitor so it doesn't discharge fully and immediately on every overload. This gives a smooth range of brightness that's proportional to the amount of overload, which I find more useful for audio use, though you may want the behaviour you've designed for. (A pulse time of 0.1 seconds would be plenty long enough though.)
@hmpeter
@hmpeter 11 жыл бұрын
Great video, thank you!
@revealingfacts4all
@revealingfacts4all 11 жыл бұрын
LOVE IT, LOVE IT... Hey Dave, so your tear downs were getting a bit old for me. I love this kind of video and it's more like your earlier ones where you spent time on theory and then into a real world build up. Brilliant! And just love how you show a working circuit and how to use lab equipment to study it. Keep Fundamental Fridays coming!!!
@raguaviva
@raguaviva 11 жыл бұрын
Such a nice video!!!
@MarcoMardegan
@MarcoMardegan 11 жыл бұрын
Nice video, thank you!
@TheCrazyInventor
@TheCrazyInventor 11 жыл бұрын
Too bad a week only has one friday... I like this segment. :)
@KVNRICH
@KVNRICH 11 жыл бұрын
Excellent tutorial really clear instruction another problem solved thank.
@lrcarv1971
@lrcarv1971 11 жыл бұрын
Hi Dave ! Don't worry about the time it takes the "fundamental Friday"! I don't mind! In fact if you want to set the limit to 1 hour, I'll find the time to see!
@frollard
@frollard 11 жыл бұрын
Love it! Great stuff. I'm brutally bad at understanding analog theory so you beating a dead horse with terminology, cause, effect, and traps is appropriate for me :) Thanks again, keep it coming!
@jessstuart7495
@jessstuart7495 7 жыл бұрын
TI makes a convenient window-comparator IC (TPS3700) for overvoltage/undervoltage detection. The voltage thresholds are set by an external 3-resistor tree (voltage divider). It has open drain outputs too, so they can be wire or-ed together. www.ti.com/lit/ds/symlink/tps3700.pdf
@k3ith1
@k3ith1 11 жыл бұрын
I agree, this is the best segment. I don't mind 30 minutes at all.
@BlackAck90
@BlackAck90 11 жыл бұрын
Exactly what I was thinking!!.. Great comment.
@0LoneTech
@0LoneTech 11 жыл бұрын
My first thought for a pulse extender was to just put a cap on the comparator output. It would then recover by the same current that feeds the LED. That variant would have a more complex time, uneven light, and require a larger capacitor, so probably not work as well... just thought I'd toss it out here anyway.
@metaforest
@metaforest 11 жыл бұрын
The only way a micro could help here is if you needed to dynamically attenuate or amplify the input signal to keep it inside the window. That gain adjustment problem is WAY beyond the scope(hah) of Dave's demo here. (Thanks Dave for showing the rough edges of this technique!
@ChrisMasto
@ChrisMasto 11 жыл бұрын
Funny, I just did this last week (see video response). I probably screwed up some of the details, because I'm really new to electronics, but I wanted to be able to detect a short duration signal with an Arduino program that spends a couple of seconds in a timing-sensitive loop with interrupts disabled. I used an LM358N and an R-C circuit similar to yours to stretch out the pulse to the point where my program can read it at leisure.
@kevy1yt
@kevy1yt 11 жыл бұрын
LOVE fundamental Friday! Keep um comin'. This one was a tad confusing though because you started with a design goal that was to be low parts and cheap and ended up using a 2nd IC instead of the quad comparator initially mentioned. Still, got to see some 'traps' in action.
@OneBiOzZ
@OneBiOzZ 11 жыл бұрын
i dont mind the longer videos ... i have plenty of time to spare and you learn more! .... i thought i knew everything about comparators ... but not CM voltage!
@GoodOneGarza
@GoodOneGarza 11 жыл бұрын
sweet vid!
@TheOysterjam
@TheOysterjam 11 жыл бұрын
nice idea. i think the only problem there would be voltage drops in the rectifier but you can compensate for that easy
@LegendaryZable
@LegendaryZable 11 жыл бұрын
I build my first little timer with a capacitor and a comparator so proud of me that time :)
@ChipGuy
@ChipGuy 11 жыл бұрын
Very useful, keep it up :)
@k3ith1
@k3ith1 11 жыл бұрын
Depends on the timing I would think. The PIC needs time to convert that voltage to digital so you would miss very fast signals. Check the conversion time in the datasheet.
@mccunecp
@mccunecp 11 жыл бұрын
thanks dave I will have to save this video for later watching for my solar stuff. would work great for charging. were I can charge up to a certian voltage and use it to turn off the solar once the battery reaches a preset discharge voltage it will go back in to charge mode untile the battery once again reaches the charge voltage. IE stop chargeing at 28.8 volts and dump any voltage to gti. and when battries goes below 24.4 volts start charging them again. nice video dave. love it.
@ivanv754
@ivanv754 11 жыл бұрын
Nothing like watching Dave's head on a 42" display in high definition, surround sound system, dimmed lights and popcorn, right?
@bitrot42
@bitrot42 8 жыл бұрын
Great to see something like this done with real hardware, instead of whacking in a microcontroller. Why does the datasheet say you can power it on +- 1V when the inputs have to be at least 1.5V away from the rails?
@MicrowaveGenocide
@MicrowaveGenocide 8 жыл бұрын
wait WHAT your telling me I can build circuits with out a atmel and a few msp430's? lol
@aptsys
@aptsys 11 жыл бұрын
It's all in the datasheet.
@SeanBZA
@SeanBZA 11 жыл бұрын
As you are using an isolated supply use the scope probe as the 10m resistor instead, and just have an inverted trace.....
@poopytowncat
@poopytowncat 11 жыл бұрын
Great video! I was worried in the first half though!
@lodevijk
@lodevijk 11 жыл бұрын
Hey Dave! I really like these new Fundamentals videos. It's too bad you were in a rush and didn't have a lot of time to shoot this one. Otherwise you would have certainly realized an easy solution to making this work at ±1V - by using a divider not to ground, but to -1V. I thought of that immediately because I never work with a split power supply... I cannot afford it, haha. Anyway, as a lecturer, you're very interesting to listen to. Keep this Fundamentals Friday going!
@biltema2000
@biltema2000 11 жыл бұрын
I just love this new consept of ''fundamentals friday'' thing. Keep up the good work dave! Thank you ;) ps. Can you do a fundamentals friday video on FPGA's ?
@devilmastah
@devilmastah 11 жыл бұрын
thats a brilliant idea
@Daepilin
@Daepilin 11 жыл бұрын
great show of yours. really helps understanding (at least for me as only half an ee student^^)
@BalticLab
@BalticLab 11 жыл бұрын
"There are practical effects when you probe things" -> That's what she said
@matteoc1114
@matteoc1114 2 жыл бұрын
Top... as usual!!!
@Tjousk
@Tjousk 11 жыл бұрын
Something similar should come pre-installed with your OS, however you may need to install the 'practice' upgrade to get the same quality output.
@armpitdew
@armpitdew 11 жыл бұрын
I got through the theory relatively easily, but once into the practical.... i think i have to watch that half a few more times. Great video though!
@alek202
@alek202 11 жыл бұрын
You can download DaveCad at Amazon and various online stores, simply search for Post-It!
@WakeUpWolfgang
@WakeUpWolfgang 11 жыл бұрын
I was thinking about doing this right before I read your post but on my 56'' display
@raul116
@raul116 11 жыл бұрын
Hey Dave! Maybe next fundamental friday could be a tutorial on how to read opamp datasheets and what does every characteristic means!
@Corpsefury
@Corpsefury 11 жыл бұрын
Same, I don't mind the longer videos at all.
@baghdadiabdellatif1581
@baghdadiabdellatif1581 Жыл бұрын
Thank you. god bless you
@AIM54A
@AIM54A 11 жыл бұрын
A micro also adds V&V headaches, potential regulatory nightmares depending on the project and its overkill as you mention. New players need to avoid tossing software at a hardware solution.. Great video.
@gamingSlasher
@gamingSlasher 11 жыл бұрын
That is usually what happens to me when I try to do designs with integrated circuits, op-amps. You get all kind of strange problems when you get near the voltage supply. You would probably have been better of using a diode to sense when you are near the +/- supply.
@yasodhjayathilake5029
@yasodhjayathilake5029 11 жыл бұрын
Hello Dave, i learnt alot about electronics through your videos.Can you make a video on how to send data to a TFT LCD screen through a microcontroller and display some graphics. Thank You.
@johndunn5272
@johndunn5272 Жыл бұрын
Dave you need to take your hobbyists on a long range project. Why not design and build an oscilloscope!!! Yay !
@pyros80
@pyros80 11 жыл бұрын
Fundamental Fridays For Da Win!
@aptsys
@aptsys 11 жыл бұрын
09:30 Adding requirements? Maybe you should have set out a full list of requirements at the start of the video. Bad habits like adding things on later that weren't specified get engineers into trouble when not asked for by a client!
@inductivethinking
@inductivethinking 11 жыл бұрын
Actually in most cases the LCD's digital part will work fine with 3.3V. Most likely the backlight will work too if you replace the current limiting resistor for it. The contrast of course will not work with 3.3V so you need the 5V but that requires less than a mA. Also note is that in many cases it is not safe to power stuff directly from a uC pin. Some LCDs will draw much more than the pin can give and in the general case there is also a limit on the total current a uC can supply on all pins.
@AntonioDellaRovere
@AntonioDellaRovere 11 жыл бұрын
The comparator has open collector output so it is only shorting the capacitor to GND if "active" ...
@Dennis-gr2fx
@Dennis-gr2fx 11 жыл бұрын
If the IC can detect a pos or neg peak how will one know the difference between a half circuit ( just detects say a pos peak) and a circuit that detacts both pos and neg peaks if the frequency is x in one case and 2x in the other?
EEVblog #626 - Ceramic Capacitor Voltage Dependency
27:58
EEVblog
Рет қаралды 89 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 169 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 20 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 33 МЛН
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 3,9 МЛН
EEVblog #479 - Opamp Input Bias Current
34:14
EEVblog
Рет қаралды 204 М.
EEVblog #490 - Peak Detector Circuit
35:03
EEVblog
Рет қаралды 234 М.
EEVblog #941 - Schmitt Trigger Tutorial
30:57
EEVblog
Рет қаралды 245 М.
EEVBlog #1116 - How to Remove Power Supply Ripple
27:05
EEVblog
Рет қаралды 568 М.
EEVblog #528 - Opamp Input Noise Voltage Tutorial
40:00
EEVblog
Рет қаралды 149 М.
EEVblog #908 - Zener Diodes
32:34
EEVblog
Рет қаралды 471 М.
EEVblog #469 - Cockcroft-Walton Multiplier
25:10
EEVblog
Рет қаралды 425 М.
EEVblog #496 - What Is An FPGA?
37:44
EEVblog
Рет қаралды 758 М.
EEVblog #373 - Multimeter Input Protection Tutorial
39:51
EEVblog
Рет қаралды 110 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,9 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 440 М.
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 109 М.
Самые крутые школьные гаджеты
0:49
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 4,3 МЛН