Go Down

Topic: Calculating Circuits for Arduino (Read 557 times) previous topic - next topic

hippocrypt

Hello, I have taken some general classes on circuits. I would like to know how to treat the pins on the Arduino. For example I have 6 photoresistors I would like to connect to the 6 analog pins on the Arduino board. Should I treat them as 6 different circuits or 6 resistors in parallel?

Grumpy_Mike


Docedison

Also need pull-ups or downs depending on what you wish to accomplish.

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

hippocrypt

Thanks grumpy.

What is a pull up/down?

JoeN

#4
Sep 30, 2012, 08:42 am Last Edit: Sep 30, 2012, 08:44 am by JoeN Reason: 1

Thanks grumpy.

What is a pull up/down?


A pull up resistor is a resistor, usually of a high value (anywhere from approximately 1K to 100K with 10K being pretty common but it depends on the situation) between part of the circuit and the high rail, usually 5V for Arduino projects, but it could be 3.3V for the low power systems.  A pull down resistor is the same but to the low rail - 0V.  The point is to pull that part of the circuit to either of the voltages when the circuit goes into the high impedance state of neither voltage being connected.  If that part of the circuit is never in high impedance or the circuit consuming the signal can't misbehave because of high impedance (like an LED) you will never need a pull up or a pull down.

Wikipedia says it even better than I do, and with diagrams:

http://en.wikipedia.org/wiki/Pull-up_resistor
I have only come here seeking knowledge. Things they would not teach me of in college.

Grumpy_Mike


Go Up