Trying to locate a component

Thread Starter

jonfarrugia

Joined Feb 19, 2010
71
I am working on a circuit that allows someone to select between using a pullup resistor or a pulldown resistor by switching a dip switch mounted on a pcb. Sounds simple enough but I am unable to locate a dip switch. I've found tri-state switches but I don't want the middle state. I basically want a single pole double throw with a common pole. I am looking for a 10 position switch. Maybe I'm missing an easier way of doing this...

upload_2017-4-6_14-25-25.png I need this configuration in this package upload_2017-4-6_14-26-4.png
 

ian field

Joined Oct 27, 2012
6,536
I am working on a circuit that allows someone to select between using a pullup resistor or a pulldown resistor by switching a dip switch mounted on a pcb. Sounds simple enough but I am unable to locate a dip switch. I've found tri-state switches but I don't want the middle state. I basically want a single pole double throw with a common pole. I am looking for a 10 position switch. Maybe I'm missing an easier way of doing this...

View attachment 124141 I need this configuration in this package View attachment 124142
Those DIL switches are common enough as just simple on off switches - If they exist; you'll only get half as many DPDT switches per block length.

Using both pull up and pull down isn't very common - if its CMOS; I'd go for 100k static pull resistors and oppose them with switched 2k2 resistors to pull the other way.
 

dl324

Joined Mar 30, 2015
18,218
When you switch between pullup and pulldown, are all 10 independent or ganged?

Don't think you're going to find a single DIP switch that will do it.
 

dl324

Joined Mar 30, 2015
18,218
If you go for DIP switches, make sure you specify the contacts correctly. Grayhill has two typs of SPDT:
upload_2017-4-6_12-21-13.png
 

dl324

Joined Mar 30, 2015
18,218
Maybe I'm missing an easier way of doing this...
If you answer my question regarding whether the pullup/down switching can be independent or ganged, we might be able to come up with alternate solutions.

A schematic is always helpful when discussing circuit issues.
 
Top