Author |
Message |
rubendelacosta
Joined: Dec 25, 2005 Posts: 153 Location: lisbon
|
Posted: Tue Jan 05, 2010 8:01 am Post subject:
protect arduino from negative voltages |
|
|
hi
i've been playing with arduino to generate CV and i'm a bit concerned about negative voltages.
i've put a op-amp working as a voltage follower on every out put, but maybe it needs more protection.
thanks,
ruben |
|
Back to top
|
|
|
skrasms
Joined: Feb 21, 2008 Posts: 121 Location: Portland, OR
|
Posted: Fri Jan 22, 2010 8:59 pm Post subject:
Re: protect arduino from negative voltages |
|
|
rubendelacosta wrote: | hi
i've been playing with arduino to generate CV and i'm a bit concerned about negative voltages.
i've put a op-amp working as a voltage follower on every out put, but maybe it needs more protection.
thanks,
ruben |
This might be obvious to you, but what concerns you? It sounds like you're talking about output from the Arduino. The Arduino itself can only generate voltages between its power supply and ground. I can think of three possible ways for a negative voltage to get to the Arduino on an output pin:
1) You connect the output of something else to it accidentally, and that output happens to be negative.
2) You send a static shock into a patch cable that's wired directly to the Arduino's output pin.
3) You are driving something with the right combination of inductance and capacitance to cause enough ringing to make the voltage dip under 0V.
Does one of those sound right, or have I misunderstood?
By putting a follower on the output you're moving all these problems away from the Arduino. Now you just have to worry if the opamp can handle them. Through-hole parts tend to be pretty robust. _________________ Software and Hardware Design |
|
Back to top
|
|
|
State Machine
Janitor
Joined: Apr 17, 2006 Posts: 2809 Location: New York
Audio files: 24
|
Posted: Mon Feb 01, 2010 6:55 pm Post subject:
|
|
|
If you want to protect the digital outputs of the MCU, then use a 74HC244 octal buffer and hang 100 ohm resistors in series with each of the buffers outputs. Just tie pins 1 and 19 to ground so the device outputs are not tri-stated. No sense using an op-amp when you can get 8 buffers in a single package using the HC244 chip.
If your using one of the 3.3 volt Arduino variants, there are plenty of choices for 3.3V bus logic as well.
Over the years, I have always used bus logic to protect the more expensive, and generally more sensitive, processing circuits within a circuit card. Plus I can drive higher capacitive loads, such as back planes, using these buffers.
Bill |
|
Back to top
|
|
|
|