Is it a good practice to put current limiting resistors on the paths between a microcontroller and the ICs that connect to it? I'm thinking that it might be needed if one device drives the line high and the other drives it low, because otherwise it would result in a short. However, I haven't seen it done in other circuits. What would be a good value to use if the resistors are used? 1K?
-dev
Current limiting resistors?
Moderator:Moderators
- blackbox_dev
- Senior Member
- Posts:1906
- Joined:Sun Jan 15, 2006 5:19 pm
- Location:Formerly known as iam7805
I'd imagine right now you wish you were a cuttlefish...
- blackbox_dev
- Senior Member
- Posts:1906
- Joined:Sun Jan 15, 2006 5:19 pm
- Location:Formerly known as iam7805
-
- Portablizer Extraordinaire
- Posts:298
- Joined:Thu Mar 03, 2005 4:45 pm
- Contact:
I've never seen it done before either. The only time I can think of that you might run into the problem you described would be if you have a bi-directional device (or something isn't working right, in which case you have other problems). If that is the case you may be able to configure the I/O pins on the microcontroller as tri-state buffers, otherwise you can put in your own buffer (you can get them with several in a single IC package). Assuming the ICs you're connecting to are bi-directional, they probably have or need a read/write signal which you can use to control the direction of the buffer.
A resistor would probably work depending on how many devices you're trying to drive off the pin and what the internals of your ICs look like. The size would depend on how much current your devices can safely source or sink, and you'll also have to keep in mind the impedances of the inputs and the minimum current you need on each pin for it function properly.
A resistor would probably work depending on how many devices you're trying to drive off the pin and what the internals of your ICs look like. The size would depend on how much current your devices can safely source or sink, and you'll also have to keep in mind the impedances of the inputs and the minimum current you need on each pin for it function properly.
- blackbox_dev
- Senior Member
- Posts:1906
- Joined:Sun Jan 15, 2006 5:19 pm
- Location:Formerly known as iam7805