electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Microcontrollers and Programmable Logic
protect arduino from negative voltages
Post new topic   Reply to topic Moderators: State Machine
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
rubendelacosta



Joined: Dec 25, 2005
Posts: 153
Location: lisbon

PostPosted: Tue Jan 05, 2010 8:01 am    Post subject: protect arduino from negative voltages Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
skrasms



Joined: Feb 21, 2008
Posts: 121
Location: Portland, OR

PostPosted: Fri Jan 22, 2010 8:59 pm    Post subject: Re: protect arduino from negative voltages Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
State Machine
Janitor
Janitor


Joined: Apr 17, 2006
Posts: 2809
Location: New York
Audio files: 24

PostPosted: Mon Feb 01, 2010 6:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Moderators: State Machine
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Microcontrollers and Programmable Logic
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use