Go Back   Home > Forums > General Interest > Everything Else
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Everything Else Anything related to audio / video / electronics etc) BUT remember- we have many new forums where your thread may now fit! .... Parts, Equipment & Tools, Construction Tips, Software Tools......

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 29th December 2002, 09:30 PM   #1
diyAudio Member
 
Join Date: Dec 2001
Location: SIUE, Illinois, USA
Default desperate need of help for op amps

do op amps work? I seriously have had a bad experience.

i wanted to build two circuts:
1.) non-inverting comparator
2.) inverting comparator

i got the inverting comparator to somewhat work.
the noninverting comparator doesn't work.
i can't get the inverting one to work now
the noninventing one now works...
also, i built a circut that changes states based upon the position of your hand. i move my hand to the switch to turn it off, but didn't have to touch the switch to turn it off... after a little bit more experimenting, the circut would change states if i moved my hand to certain positions. i found that odd.

so how do you make a working comparator circut? none of the textbook examples work for me.

op amp is tl082cp and no bypass cap. powered by battery, signal comes from a second battery.
__________________
if only it could be used for good, not evil...
  Reply With Quote
Old 29th December 2002, 09:39 PM   #2
diyAudio Moderator Emeritus
 
jean-paul's Avatar
 
Join Date: Sep 2002
Location: The Netherlands
Quote:
do op amps work?
You came to the right place. Some of us pose the same question when opamps are used for audio.

Maybe it is a good idea to mention the resistor values and attaching a drawing ( or the schematic you used ) will help too for any answers.
__________________
It's only audio
  Reply With Quote
Old 29th December 2002, 09:43 PM   #3
diyAudio Member
 
Join Date: Aug 2001
Location: Bath, UK
Yes, op amps work!

Inverting and non-inverting comparitors are exactly the same except you swap the + and - inputs (not power inputs!). You apply a reference to one input and your signal to be compared on the other. If the reference is on the - and input on the + then the output will be positive if the i/p is higher than the ref. The opposite is true if you swap the inputs over.

Note that some opamps don't like having 0v applied to an input if they aren't powered by a split rail.

Nice one,
David.
  Reply With Quote
Old 29th December 2002, 10:05 PM   #4
diyAudio Member
 
Join Date: Aug 2001
Location: Bath, UK
I'd just clarify my last point: some op-amps don't like the inputs going outside a certain range wrt the power-supply rails.

For a TL082, the common mode input range is specified as +15v to -11v (typ) WHEN OPERATING FROM +/- 15v RAILS. Extrapolating, it looks like the inverting input should not be taken below about 4v if you're running off +15v and GND.

And a schematic would be nice.

Nice one,
David.
  Reply With Quote
Old 29th December 2002, 11:08 PM   #5
diyAudio Member
 
Join Date: Dec 2001
Location: SIUE, Illinois, USA
the schematic is practially what you would see in a text book.
one battery powers the op amp. the positive terminal of the battery goes to a spdt switch then to the Vcc (i think) of the opamp, and the negative terminal to the Vee (agian, i may have that backwards.)

the output1 terminal runs to a variable resistor, which then runs to a LED then to the negative terminal of the battery.

a second battery is also used. this battery's poitive terminal attaches to a push button switch, then from there to the non-invering input of the opamp. the negative terminal hooks to the inverting input.

i flip the power switch the led turns on. i press the switch and the led remains on. i remove all wires but the output and the led stays on.

the inverting comparator now has teh led on, and pressing the swtich slighly dims it.
__________________
if only it could be used for good, not evil...
  Reply With Quote
Old 29th December 2002, 11:09 PM   #6
diyAudio Member
 
Join Date: Dec 2001
Location: SIUE, Illinois, USA
should i go with a different op amp, like a dual 741? that was the op amp i fired...
__________________
if only it could be used for good, not evil...
  Reply With Quote
Old 29th December 2002, 11:26 PM   #7
diyAudio Member
 
Join Date: Feb 2002
Location: Vancouver, BC, Canada
Send a message via ICQ to ThingyNess
http://www-s.ti.com/sc/psheets/slod006b/slod006b.pdf

Long, but excellent and comprehensive.

Try to make sure the metal chassis/body of the switch is grounded to prevent it from picking up any stray RF and such.

Also, make sure your power supply decoupling is solid, and that both of the inputs to the opamp have some resistance to ground (IE, not floating), at all times, as the very high input impedance of an opamp makes it somewhat susceptible to picking up RF at the inputs.
  Reply With Quote
Old 30th December 2002, 01:32 AM   #8
diyAudio Member
 
Join Date: Dec 2001
Location: SIUE, Illinois, USA
ok, i went to a quad 741 (mc4741cp) that i had laying around.

hooked up the non-inverting and inverting op amps. inverting works. non inverting stays on regardless of signal...
__________________
if only it could be used for good, not evil...
  Reply With Quote
Old 30th December 2002, 04:12 AM   #9
diyAudio Member
 
Join Date: Dec 2001
Location: SIUE, Illinois, USA
ok, i got the thing to work, but instead of using the compartor listed, i went with a feedback resistor. in any case, the test works.

so to apply it to my project i need to know somehting about grounds. the parellel port on my computer has a number of "ground" connectors for the signals, and the power supply has the same "ground". would shorting a wire between these two "grounds" cause any problems, or should i use a resistor to be safe?
__________________
if only it could be used for good, not evil...
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Big sale thread: PHL, Raven, Amps, In-wall/ceiling speakers, Amps, VideoRequest mbcouple Swap Meet 2 27th October 2008 10:27 PM
desperate help needed for p.a design luke691 Instruments and Amps 15 13th January 2008 05:41 AM
Please help me with my new QSC MX-700!!! Im desperate! O_ROD Subwoofers 5 6th April 2007 11:07 AM
Chip identification: AD42712 (desperate) Paul Terpstra Chip Amps 5 26th January 2004 08:46 PM


New To Site? Need Help?

All times are GMT. The time now is 06:12 AM.

Page generated in 0.11138 seconds (78.83% PHP - 21.17% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio