SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492024-03-28T22:48:11-06:00SparkFun ElectronicsDemolishun on According to PeteDemolishunurn:uuid:37100122-82dc-f77c-fe63-71000843d4752011-10-04T01:10:37-06:00<p>A while back I needed an equal positive and negative DC supply. So I used an op amp, some transistors in a half bridge, and various components to buffer the voltages and limit currents to make a virtual ground system. Basically you put a wall wart or some other filtered dc on it and it will put a ground in the exact center of the potential. Really nice for breadboarding as it plugs across one end of the breadboard to provide the 3 voltages.<br>
Thanks for this tutorial. I really enjoyed the information.</p>
BlackJester on According to PeteBlackJesterurn:uuid:75ae3648-319a-1452-d077-20d5663725812011-09-07T09:50:11-06:00<p>I think videos like these are great. Sure there may be inaccuracies and uncapped felt and such but ask yourself this: Are teachers in classrooms scrutinized by people from all of the globe? Teach to an audience ranging from those just learning about capacitors and resistors to those who are seasoned veterans of the silicone world?<br>
Classroom teachers have the luxury of not having their mistakes captured and broadcast for people to point out. I have seen many teachers make errors in class and sometimes students spot them and sometimes they don't. Just keep doing your best, it is an excellent resource for new people. Sometimes, when we are doing something we love, it feels so little like work that we wonder how we are getting away with it. Try to be as technically correct as possible and don't sweat the rest. Mistakes will be made. Unless you want to spend a whole day doing multiple takes, reviewing the footage etc, then I don't know if you want to invest that much time.<br>
Cheers!</p>
Squintz on According to PeteSquintzurn:uuid:34d97f2b-65ff-4e0c-3545-19378c8d1d132011-09-07T07:39:49-06:00<p>You videos are awesome. I always walk away with at least one new bit of information. This week I learned about the virtual ground.</p>
sramkod on According to Petesramkodurn:uuid:f21d3017-ec65-5d78-da3a-88a355c7931b2011-09-07T03:40:53-06:00<blockquote>
<p>I heard myself say "zero gain" and immediately thought "you >idiot". Correct, gain = 1.<br>
You've probably meant 0 dB.</p>
</blockquote>
HolyDiver on According to PeteHolyDiverurn:uuid:31f71b05-6311-246d-94c8-8867b9c48a2d2011-09-07T02:15:09-06:00<p>Thank you for this! Every time you put out a video my skills increase ten fold. Keep this up Pete (and Sparkfun!)</p>
Rawdust on According to PeteRawdusturn:uuid:e237a997-49be-dc4f-6317-a9124969f7d92011-09-07T01:33:42-06:00<p>Inverting mode has a gain of -R2/R1. Hence the name inverting. Other than that, good job Pete.</p>
CS on According to PeteCSurn:uuid:2e819c8a-4201-faa1-634e-7e23a296157f2011-09-07T01:10:18-06:00<p>What I remember about op-amps from school is: <em>Always connect the output to the input.</em> Thanks for reminding me why you do that, and for showing an application where you <em>don't</em> do that.</p>
Sciencez on According to PeteSciencezurn:uuid:00636b34-838a-2974-bfd5-4968d82d71892011-09-06T21:04:06-06:00<p>Pete,<br>
Great presentation but if I may may a couple of suggestions;<br>
1) Try not to speak quite so fast - you are sometimes hard to follow - especially if a person is new to the topic. You need to give your audience a moment to digest what you have just said.<br>
2) To avoid your pen drying out and thus being hard to read when you next use it, remember to put the cap on every time after using it.<br>
I hope this helps you.</p>
TheStig on According to PeteTheStigurn:uuid:e4067419-a4e9-16ae-9d0a-0ad6ffb3ffde2011-09-06T19:31:25-06:00<p>I really do wish that you could do these more often</p>
Customer #249632 on According to PeteCustomer #249632urn:uuid:94c493bd-4180-d32a-0872-08d722daa0e42011-09-06T18:54:06-06:00<p>Pete is not just awesome but a great guy. It's not just clear video but big topic, good !</p>
Blacklab1 on According to PeteBlacklab1urn:uuid:caa3e497-9478-44ff-86a6-a7c51ac3d53c2011-09-06T16:50:48-06:00<p>You mean you’re not worried about having little red boxes glued all over you? (SparkFun's version of tarred and feathered.)<br>
Also I am surprised that you did not talk about adding a cap across your rails, as when you need to do that.</p>
Pete-O on According to PetePete-Ourn:uuid:55cc4b72-925f-9ced-e1bf-3d019caf21fe2011-09-06T15:24:09-06:00<p>I fear that. Personally, I think I ought to be tarred and feathered for what I'm doing. But thanks all for the good words.</p>
SomeGuy123 on According to PeteSomeGuy123urn:uuid:92814e7b-7ca4-4c9d-c1d0-e42c35a179fc2011-09-06T15:22:13-06:00<p>Sparkfun is opening a learning site at <a href="http://learn.sparkfun.com/" rel="nofollow">learn.sparkfun.com</a>. I have a feeling his videos will be posted there.</p>
pzw on According to Petepzwurn:uuid:6944283e-956b-3eeb-3565-94f79ede44a22011-09-06T15:14:21-06:00<p>The virtual ground is created because in a circuit where the opamp is used in a feedback setup, the opamp "tries" to keep the potentials at the + and - input equal. (That is the simple explanation). So if the + input is grounded (via a resistor) automatically the other one will get a similar potential (ground).<br>
Since the input impedance of the inputs is high, you can say that there will be no current flow into the opamp. So if a resistor is used between the + input and ground, the potential at both sides of the resistors will be equal.<br>
Opamps are interesting devices... It is very difficult to put it "all" in 20 mins of video... (i.e. what happens when you drive the + and - with the same voltage/signal...)<br>
But I think the basics have been covered in it.<br>
(A reference for basic designs: http://www.physics.unlv.edu/~bill/PHYS483/op-amps.pdf )</p>
PocketBrain on According to PetePocketBrainurn:uuid:78c00e3b-5680-caec-dac4-7ef550459a272011-09-06T14:58:25-06:00<p>Yay, Op Amps! My favorite! Just grab a fistful and you have amp, filter, oscillator, comparator, etc. depending upon your passives. You can do so much once you learn what to do with the assumptions! Grab a fistful.<br>
As an alternative to the big, fat input cap, try an Op Amp follower and a smaller cap, to "amplify" the capacitance. If you have a spare Op Amp on-die. Remember, a 1458 has the same number of pins as a 741. :-)</p>
Pete-O on According to PetePete-Ourn:uuid:e20ea2c3-9ade-fbc9-98c4-0a963fd8cc932011-09-06T14:56:17-06:00<p>I heard myself say "zero gain" and immediately thought "you idiot". Correct, gain = 1. On the inputs being held close together internally... I got that from a lesson way back, and it sorta slipped out before I checked myself. Obviously that can't be true in the case of a comparator, but I'd want to do a little more homework before I totally back off of it. Not calling you wrong, but it is the nature of an engineer to do the research themselves rather than trust what someone else says. For now, the point is yours and the ball is in my court.</p>
eewestcoaster on According to Peteeewestcoasterurn:uuid:8cd6dcfa-01ab-3c21-dcd5-716649be77ff2011-09-06T14:36:57-06:00<p>These videos are phenomenal. OpAmps are one of the things I struggled with in school. I got (and forgot) all the formulas, but never actually learned how or why they work. It's nice to see a simple yet surprisingly complete intro to these devices.<br>
My only issue is that I can't find a list of past "According to Pete" videos. I missed a couple and wanted to go back to catch up, but I don't see them (I'd rather not sort through the whole SparkFun YouTube channel!). What about making another Tutorials page and listing all these videos in one place?<br>
Thanks for doing this video series, Pete!</p>
MoriFi on According to PeteMoriFiurn:uuid:5b1812dd-0422-66cb-ca69-6a571738ea1c2011-09-06T14:28:59-06:00<p>what no 1080p I liked watching this on the flatscreen.</p>
pzw on According to Petepzwurn:uuid:93fecdcd-9a7f-2b4c-1823-446e80aa1adc2011-09-06T14:10:59-06:00<p>To be more precise, a buffer has a voltage gain of 1, not of zero ;-).<br>
And the + and - inputs are not coupled internally. The virtual ground is created by the feedback. If you remove the feedback, the virtual ground is gone.<br>
Also the gain bandwidth product is something to keep in mind during designing. If you want to amplify 100µV with an opamp to 10V (wouldn't advise doing so without using a low noise opamp) it requires an amplification of 100,000x . If your signal has a bandwidth of 1000Hz,you need a pretty decent opamp to achieve it!</p>
PeterDav on According to PetePeterDavurn:uuid:5f8abf8b-e94a-5167-8624-def532d6a4042011-09-06T13:53:17-06:00<p>Oh, and nice name Pete!</p>
PeterDav on According to PetePeterDavurn:uuid:f5bbdcb8-3a51-cd03-7ea8-30adfa7e19902011-09-06T13:52:58-06:00<p>Pete is awesome. Big topic, clear video!</p>
noworries on According to Petenoworriesurn:uuid:87e3f5bc-a7d6-7e41-529d-1e064b2de8ea2011-09-06T13:46:13-06:00<p>For further reading on Op Amps, you may also want to check out Op Amp Applications Handbook by Walter Jung ISBN 13:978-0-7506-7844-5.<br>
As engineering is the science of making tradeoffs, it is difficult to make any Op Amp selection that will work for everyone's needs. One needs to know the important requirements for the design before selecting the Op Amp that will best fulfill the requirements.<br>
Cudos to Pete for taking a stab at an intro to Op Amps.</p>
PeterDav on According to PetePeterDavurn:uuid:f08b6681-6111-b189-8e19-9b7773f3ad8b2011-09-06T11:50:06-06:00<p>I have been reading some audio design books.<br>
So far the best author seems to be Douglas Self<br>
Ex: http://www.amazon.com/Small-Signal-Audio-Design-Douglas/dp/0240521773/ref=ntt_at_ep_dpt_1<br>
The LMV358 at first glance seems to be a good amp for Audio, 1mhz unity gain, ...<br>
Look at the NE5532. Far better slew rate, and awesome little (cheap) opamp. The only trick with this amp is to push a little more current into the input. (just divide the resistors by 10-20). I have been making audio projects with the 5532 and am very pleased.<br>
Sparkfun should look at this amp (and the self books). Improved my designs x10.</p>
customer207 on According to Petecustomer207urn:uuid:bb29f85d-9d89-3ef3-2860-b1a1dc64939d2011-09-06T09:56:38-06:00<p>I didn't know Pete made it to Hollywood!<br>
http://tiny.cc/qwvsg</p>
AngusP on According to PeteAngusPurn:uuid:ca3f6140-b9df-c81f-0e06-a2829c19897f2011-09-06T09:35:35-06:00<p>OMG I am so happy. Have been refreshing all day! :-)</p>