Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5918
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« on: August 21, 2010, 02:53:31 am » |
Been thinking about interfacing arduino's unipolar ADC with bipolar to unipolar converter with an opamp. (I've done the wrong way, feeding ADC with negative vlotages.)
In order to power the opamp, I need positive and negative voltages. Can I use the output of a MAX232 chip (+-12V) to power an opamp? The bipolar signals should be around say -5V to +5V. Since I'm thinking about real serial port so MAX232 is a must. Any suggestions? Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 0
Posts: 1103
Arduino rocks
|
 |
« Reply #1 on: August 21, 2010, 04:56:39 am » |
The data sheet says max 10mA per line, but also 10 mA max for the whole chip - I think one can stretch that a little bit... Note that the nominal output of +/- 15 volts will drop when loaded with < 2k ..
Modern Low Power opamps need around 1 mA + load. And mind that Low Power opamps have no longer necessarily such a high supply voltage range
|
|
|
|
« Last Edit: August 21, 2010, 04:59:13 am by mpeuser »
|
Logged
|
|
|
|
|
0
Offline
Faraday Member
Karma: 12
Posts: 2857
ruggedcircuits.com
|
 |
« Reply #2 on: August 21, 2010, 07:02:35 am » |
You can also use a dedicated charge pump chip like the TC7660. You can double +5V to +10V then invert +10V to -10V. The MAX232 basically has two of these inside it but perhaps you want more control. -- Check out our new shield: http://www.ruggedcircuits.com/html/gadget_shield.html
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 0
Posts: 1103
Arduino rocks
|
 |
« Reply #3 on: August 21, 2010, 10:46:10 am » |
I have forgotten to mention: A most popular unexpensive Low Power Op Amp ist LM358 (Two in a 8 pin DIP for around 20 cents)
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5918
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #4 on: August 21, 2010, 06:50:16 pm » |
Thanks deSilva. I have a few 741s in my drawer.There's not much "LOAD" since after the convertion and amplification (shifting), the signal is fed to arduino's ADC, which should take very little current, right?
RuggedCircuits, thanks. That chip is inverting the input to the exact opposite right?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Faraday Member
Karma: 12
Posts: 2857
ruggedcircuits.com
|
 |
« Reply #5 on: August 21, 2010, 09:25:23 pm » |
That chip is inverting the input to the exact opposite right? It can double and invert. You can take +5V in and put about +10V out (probably 9.5V or so). Then take that +10V and with another TC7660 (or similar) invert to -10V. Of course, as you start drawing current from those supplies the voltages will start to creep towards 0V. -- Check out our new shield: http://www.ruggedcircuits.com/html/gadget_shield.html
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 0
Posts: 1103
Arduino rocks
|
 |
« Reply #6 on: August 22, 2010, 09:12:13 am » |
The max232 should be 40 cents or so, albeit needing 4 10 cent caps.
You set the to drivers to +5V and ground so they provide -15V and +15V.
Please do me a favor and through all your 741 away, they will do more harm than good :-) They comsume power in addition to the outpu. That is what Low Power chips have been made for: To comsume very little on their own...
|
|
|
|
« Last Edit: August 22, 2010, 09:12:40 am by mpeuser »
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5918
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #7 on: August 22, 2010, 11:56:21 pm » |
Thanks guys. How bad are the 741s? I got them new. Hate to throw new things away.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #8 on: August 23, 2010, 01:08:07 am » |
Thanks guys. How bad are the 741s? I got them new. Hate to throw new things away. They work fine, hell we won the cold war using them. There are of course much newer versions with much better specifications. Just understand the limits of it's design specs and you can use 741's for many useful circuits. It's not like they are likely to cause you to burn your house down using them. When you run out of them do research for newer designs. I like the TI TL082 FET input but there even newer better ones available. By the way here is one of my favorite op amp reference guide, also by TI: http://focus.ti.com/lit/an/slod006b/slod006b.pdfLefty
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 0
Posts: 1103
Arduino rocks
|
 |
« Reply #9 on: August 23, 2010, 01:53:01 am » |
Retrolefty - so kind of you to correct my tonge-in-cheek remarks. Please do continue! Sometimes I show off too much of my black humor...
|
|
|
|
« Last Edit: August 23, 2010, 01:53:28 am by mpeuser »
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5918
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #10 on: August 24, 2010, 10:06:41 am » |
Thanks guys. As a new grad student, I was influenced by some senior grad students' amazement with 741s when I read their parts box "They even do your laundry!". I'll buy new ones when I run out my current stock of 10 
|
|
|
|
|
Logged
|
|
|
|
|
Portugal
Offline
God Member
Karma: 5
Posts: 962
|
 |
« Reply #11 on: August 24, 2010, 04:44:12 pm » |
The 741's are well the first commercial op amp of the history, so they are pretty bad.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #12 on: August 24, 2010, 05:10:10 pm » |
Not the first, but of the first generation: http://en.wikipedia.org/wiki/Operational_amplifierAnd it mentions that the 741 is still in production, unlike many other types produced after it's arrival. So take that into consideration of proclaiming it dead and buried.  Just like hating Microsoft, there seems to be a population dedicated to hating on the poor old 741. Lefty
|
|
|
|
« Last Edit: August 24, 2010, 05:11:12 pm by retrolefty »
|
Logged
|
|
|
|
|
|