DIY Resistor Substitution Decade Box
- Post by: Admin
- On: Aug 18/12
- With 22 Comments

Here’s a handy guild on how to build your own DIY Resistor Substitution Decade Box.
I had seen several people online building their own, but instructions weren’t very clear. Hopefully these 50 or so pictures will help.
First step – hop onto ebay, and pick up some switches. You can find them by searching for “decimal thumbwheel switch” – I think I only paid $5 for 10 of them including shipping (from china). Order up some extras – they can be used for all sorts of things – and a fun part to keep around.

Here’s what they look like.

They “stack” and kinda snap together. Very Nice.

The back of them have some soldering points.

You’ll need 9 resistors for each “decade” – So 9 of each: 1Ω, 10Ω, 100Ω, 1kΩ, 10kΩ, 100kΩ, 1MΩ, 10MΩ, 100MΩ. You can choose how high you want to go. You can even exclude lower values if you wish. I choose to use 5% resistors cause that’s what I had on had. You can get a bit more accuracy with 1%. But I find that it doesn’t really matter that much, most likely you’ll be picking a resistor that has a standard value anyways. Such as 470Ω.
So pick 9 resistors – all the same value for that decade. In other words – each switch will be using all the same value of resistors.

The spacing on the switches is a bit less than what a 1/4 watt resistor will fit. You might be able to fit a 1/8 watt resistor in there, but in this case – you’re better off with 1/4 watt. Remember – there nothing keeping you from passing too much current through a resistor. Bend 8 of them into this shape. The 9th one, keep it straight.

Now lets start – here the pattern for the first set of 8 resistors

Insert

Keep going…



Solder them up.

And trim the leads.

The 9th resistor needs to span from “pin” 5 to 4.

There’s room for it to ride on top.

We’ll need a “jumper” from 9 to C – note that this how it looks from the bottom.





I know the solder joints look a little mess – but there’s no solder mask on the PCB – so solder likes to flow. It’s kinda a tightly packed board.

Mark the board with it’s resistor values.

Lather, rinse, repeat….

Now – stack the boards in the order as shown. Lowest value resistors are on the right.

Stack ‘em up!

Next we need to wire each board to the next. Grab some of the resistors leads you cut. There will be two remaining holes in the board. Wire from one to another like so:




I had this case laying around from Radio Shack. I think it’s a standard hammond case. http://www.radioshack.com/product/index.jsp?productId=2062280

Radio shack part number 270-1802

I measured the thickness of the switches – then use the other side of the calipers to scribe a line onto the case. I set the case down (open side down) on a smooth table edge, and use the sharp points of the calipers to scribe a line.

It just fits!

Follow the like with a razor to make a line that you’ll cut up to.

I removed most of the material with a dremel – then used wood files to get right up to the lines I made.


There is one stand up in the way – it needs to be removed.

The lip of the lid also needs to be trimmed.



Almost there – keep trimming until it fits nicely.

I also had some radio shack banana jacks laying around (I really never buy parts from RS – but I happen to have them on hand)

Remove the metal tab and give it a bend to fit the case.


Solder some wires.

And solder the wires to the top and bottom of the stack. there will only be two “holes” left to solder to.

Scred the lid on – and – your done. You can see the top unit I didn’t include a 1 ohm resistor in the chain. So I removed the buttons from one, and set the dial to “0″ to make it easy to read!





As seen on Adafruit.com show and tell! (Starts at 4:45)


Very good tutorial to follow. Unfortunately I’ve bought the wrong type of switches – BCD instead of decade ones…Have to wait for new ones to arrive. I suppose I can use them for a capacitance box.
Actually, BCD switches just mean fewer resistors are needed… as I understand it, you’d just need a 1, 2, 4 and 8 to get all of the values (and the switch will combine them as appropriate).
I accidentally purchased the BCD push wheels too. However, I am trying to make them work but am having problems wiring them up (its been over 10 years since I did any electronics). Unfortunately i cannot find anything easily on the net to assist.
Anyone have any ideas to help?
Very cool project idea. I just bought the switches, binding posts and resistors on ebay (still need to buy the enclosure). I figure the total cost should be around $20.
I bought the resistors in packs of 50 or 100 so I should be able to hand pick the best ones in and put them in order (most accurate to least).
I can’t see ever going up to 99,999,999 M ohms, but if I did need to…
Now what to do with the other two switches???
Why do you need the jumper from ‘p’(Did you mean 9?) to ‘C’?
If your external contact points are ‘C’ and ’0′ I’d have thought ’9′ would be un-terminated.
Yes Terry – that was a typo. It’s form 9 to C as shown in the picture.
Why do you need the 9 to C jumper at all?
I’ve done one box without it and it works perfectly fine.
The only difference is that when the contact is moving from on position to another, you get an open circuit and not a 9
I think, without the jumper, you could use the decade like a potentiometer, using the 9 as +, C as SENSE and 0 as -.
I Live this thing
Hey, saw your project on adafruit show and tell.
Very cool. I think it’s interesting to see the relationship between this and a ladder style digital to analog converter where instead of the switches being set by hand they are set quickly by a microcontroller to generate a waveform.
[...] built an incredibly tidy resistor substitution decade box. These devices feature a pair of connections and a way to select the resistance between the two of [...]
[...] built an incredibly tidy resistor substitution decade box. These devices feature a pair of connections and a way to select the resistance between the two of [...]
[...] built an incredibly tidy resistor substitution decade box. These devices feature a pair of connections and a way to select the resistance between the two of [...]
Cool project, (Hackaday referenced). Definitely doing this!
You should add a comma for kilo and mega.
[...] built an incredibly tidy resistor substitution decade box. These devices feature a pair of connections and a way to select the resistance between the two of [...]
That is slick! If I did more electronics work, I would definitely make this. Very easy to follow, too.
Shut up and take my money
It would be nice if you explained why you made the specific resistor connection you did and showed the math.
Nice build otherwise, though.
In your notes you say “Lowest value resistors are on the left” but it looks like the lowest value are on the right.
Whoops – that was a error – it’s now fixed – thanks!
Very nice build, I’d like to make one of them right now!
The price on eBay has doubled on the pushwheel switches. The specific eBay picture above was the price shown yesterday (6 Jan) at $16.93, but today (7 Jan) the price for the same KSA-2 item (same picture ad and label) is $33.86.
They noticed the articles and interest in the switches and jacked up the price.
Yeah, eBay is fairly opportunistic. However, I see that they’re still inexpensive on AliExpress ($3.99).
http://www.aliexpress.com/item/Free-shipping-10-Pcs-Single-Unit-Pushwheel-Thumbwheel-Switch-KM1-0-9/615120878.html