Hi everone - first post - Ive found everything else need, but iM looking for A Pull Up / Pull doen (PUD) resistor board.
My applications will use lots of push buttons and LEDs for mimics, all of which need a Pull-up or (occasionally and) pull-down resistor.
Asside from doing this my self using breadboard and solder I can't find anything off-the self anywhere that will save time and effort..
A 16 channel off-the-shelf PUD board would have (for each Audrino iinput/output).
input/output pin.
2 pins for connector to I//O device and back.
A pin to join a channel to adjacent channel (some outputs have a pull-up and pullown combined for output or NOT output).
-- Two holes to solder the resistor of my choice in - typically 1k ohmns (pushbutton) or 330 ohmns (3v LED) - though ohms law determined the exact values.
A set of 3 pins to host a 2 pin jumper on ( left = signal to ground, right = signal to VCC (typically + 5V.
But I cant find anything, NADA, not a sausage.
Has anybody found an off the self board that can do the job?
For switches you can set the pinMode to INPUT_PULLUP and wire the switch between the Arduino input pin and Gnd.
I'm not aware of any general purpose pull up / down resistor boards.
You can get prototype boards laid out like a breadboard:
You can get a 9 pin resistor pack, where all the resistors have a common lead. Connect this lead high and all the resistors are pull up resistors. Connect it low and they all pull down.
Internal pull-ups are, to my knowledge, standard on all boards. There are a number of boards that support internal pull-downs. Below is a search through the installed board packages on my system for input_pulldown.
The classic Nano v3 has built-in pull up, even on the first six analogue pins.
There is no reason to use external resistors with switches.
Just enable the interal pullup in setup() with pinMode(pin, INPUT_PULLUP);
and wire the switch between pin and ground.
The pin now reads LOW when the button is pushed
Leo..