Custom component: Numerical logarithmic variable resistors and variable capacitors?

tiscando

Senior Member
Custom model: Numerical logarithmic variable resistors and variable capacitors?

Hi,
I would just like to suggest the making of a variable resistor and variable capacitor which displays it's current setting.

This would be very useful for debugging where I can change the resistor value without having to stop the simulation, change the value in the 'properties' for the selected resistor, and restart the simulation.
I would like to click on a button on a resistor to change it's value, so I can quickly select the best value for the purpose of the circuit.

The attachments are what I would like them to look like.

Here is the logarithmic sequence for the resistor and capacitor
Code:
far buttons: (in ohms) Increment order
0 (jumper wire) -
0.1 - 0.15 - 0.22 - 0.33 - 0.47 - 0.68 - 
1 - 1.5 - 1.8 - 2.2 - 3.3 - 4.7 - 6.8 - 
10 - 15 - 22 - 33 - 47 - 68 - 
100 - 150 - 220 - 330 - 470 - 680 - 
1k - 1.5k - 2.2k - 3.3k - 4.7k - 6.8k - 
10k - 15k - 22k - 33k - 47k - 68k - 
100k - 150k - 220k - 330k - 470k - 680k - 
1M - 1.5M - 2.2M - 3.3M - 4.7M - 6.8M - 
10M - infinity (no resistor)
 
Near middle buttons: (in ohms) Increment order
0 (jumper wire) - 
0.1 - 0.11 - 0.12 - 0.13 - 0.15 - 0.16 - 0.18 - 0.2 - 0.22 - 0.24 - 0.27 - 
0.3 - 0.33 - 0.36 - 0.39 - 0.43 - 0.47 - 0.51 - 0.56 - 0.62 - 0.68 - 0.75 - 0.82 - 0.91 - 
1 - and so on until - 10M - infinity (no resistor)
Anyway, so the right or up arrow button nearer the middle will multiply the value by 10 rooted to 24, returning the value that most matches the above sequence, as in the bottom right button's expression of the first component in the attachments.
The right or up arrow button further away from the middle will multiply the value by 10 rooted to 6, as in the top right button's expression.

They may not be in exact multiples of 10 rooted by 24, especially that:
2.2 in my resistor box, is 2.154 on my scientific calculator,
2.7 is 2.61,
3.3 is 3.16,
3.9 is 3.83.

I did the near-middle button sequence in multiples of 10 rooted by 24 because I happen to have 1.1k, 5.1k, 9.1k, and 240k resistors.

BTW: I cannot find any variable capacitors with a simulator model. Also, the current potentiometers do not display it's current values in numbers, and only does 10 positions.
 

Attachments

Last edited:
Top