Mega 2560 58 10K resistors

I am using an Arduino mega to build a GUI. I am using 58 resistors all 10k. but I'm not sure how this will work. I'm using them all to pull the pins down they all are going to the pin associated with the input and I plan on tying all of them together to ground? any thoughts?

Are these buttons? Then connect the buttons pin-to-ground and save a ton of work by using the builtin pullup.

I thought about that for half of them but didn't look to see if they all had pullup capabilities.
the other half is going to be run off of individual capacitive prox switches that we already have, so they have to go high.

What's the concern, then? All inputs can be tied down, or up, they're inputs. Pulling them down with 10k is the same as pulling them up with 10k, in the sense that the inputs appear to be symmetrical - they dont need more current in the high or low state, unlike a TTL input for example.

yes i am tying them down was just looking for something better

You may get more serious interference between capacitive sensors.

There is an essential difference: switches with pullup resistors connect wires to GND and provide a clean signal when closed. Switches with pulldown resistors instead require to expose the power line (Vcc) to the outer world, where shorting it to GND will shut down or kill the entire device.

How long are the wires/conductors between the Mega and the switches? Are they shielded?

active modules, or software driven directly from the Arduino pins?

Do they need to be pulled low? Can you post a link to the detailed specs?

Yes, but the OP has not exposed enough of his intentions to even begin to comment about such things. I was talking only about the inputs, as he asked about the inputs.

Ok I wasn't trying to make this a long thread just wondering if someone had a better idea for pull down resistors like a module or something like that. I have to use capacitive for the project because I am looking through plexiglass. the Prox's are 24VDC so I could altimetry use pullup function of code through the relays that I am using just hook up the other side. I wasn't happy with the looks of the project that's all.

You can get resistors in packages. Used to be common to see eight in a single-inline package used to pull up a byte-wide data bus, dual-inline and surface mount are also common.

thanks

The most common way now is multiple SMT resistor arrays.

image

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.