Go Down

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

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?



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

--> 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

Thanks grumpy.

What is a pull up/down?


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:

I have only come here seeking knowledge. Things they would not teach me of in college.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131