The humble potentiometer:
Science Memes
Welcome to c/science_memes @ Mander.xyz!
A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.
Rules
- Don't throw mud. Behave like an intellectual and remember the human.
- Keep it rooted (on topic).
- No spam.
- Infographics welcome, get schooled.
This is a science community. We use the Dawkins definition of meme.
Research Committee
Other Mander Communities
Science and Research
Biology and Life Sciences
- !abiogenesis@mander.xyz
- !animal-behavior@mander.xyz
- !anthropology@mander.xyz
- !arachnology@mander.xyz
- !balconygardening@slrpnk.net
- !biodiversity@mander.xyz
- !biology@mander.xyz
- !biophysics@mander.xyz
- !botany@mander.xyz
- !ecology@mander.xyz
- !entomology@mander.xyz
- !fermentation@mander.xyz
- !herpetology@mander.xyz
- !houseplants@mander.xyz
- !medicine@mander.xyz
- !microscopy@mander.xyz
- !mycology@mander.xyz
- !nudibranchs@mander.xyz
- !nutrition@mander.xyz
- !palaeoecology@mander.xyz
- !palaeontology@mander.xyz
- !photosynthesis@mander.xyz
- !plantid@mander.xyz
- !plants@mander.xyz
- !reptiles and amphibians@mander.xyz
Physical Sciences
- !astronomy@mander.xyz
- !chemistry@mander.xyz
- !earthscience@mander.xyz
- !geography@mander.xyz
- !geospatial@mander.xyz
- !nuclear@mander.xyz
- !physics@mander.xyz
- !quantum-computing@mander.xyz
- !spectroscopy@mander.xyz
Humanities and Social Sciences
Practical and Applied Sciences
- !exercise-and sports-science@mander.xyz
- !gardening@mander.xyz
- !self sufficiency@mander.xyz
- !soilscience@slrpnk.net
- !terrariums@mander.xyz
- !timelapse@mander.xyz
Memes
Miscellaneous
The least reliable resistor. Not to mention the trial-and-error getting it close enough to the target value.
linear potentiometer 100% pain, but Multi meter and rotary or digital potentiometer could be simple enough.
Nope, same problem as linear. Can you get angle correct to 4 decimal places and prevent the contact from oxidation?
"Digital potentiometers" are rotary encoders, which are switches, not resistive dividers. They are a useful input device for a microcontroller but not in an analog circuit.
Another option is a multi-pole rotary switch with selectable resistors in each position, but that only gives you the available values.
They are all larger and more expensive. Just use two E12 resistors in parallel or series, you can always get within 1 %. They cost a dime a dozen. The series was made for such combinations – did you know that 180 Ω and 220 Ω in parallel gives 99 Ω, a value useful for 1/100 dividers?
Welcome to the field of engineering! Your first lesson will be; "Tolerances and you"!
Pi is roughly 5.
Never, in any engineering field, have I EVER seen anyone simplify pi to 5. For that matter, I have never seen anyone simplify to 3. It is always 3.14. I feel like pi simplification is a weird meme that people think engineers do but is never practiced anywhere.
It's like if there was a meme about chefs saying they always replace eggs with grapefruit. No they don't, and it's nonsense to think they do.
There's less and less reason to do it (and it's never 5). On systems without floating point you might want to do round it a bit, but only if the specific thing you're doing allows it, and even then you're more likely to do a fixed-point approach by using e.g. 314 and dividing by 100 later, or adjusting that value a bit so you can divide by 128 via bitshift if you're on a chip where division is expensive. However, in 2025 you almost certainly should have picked a chip with an FPU if you're doing trigonometry.
And while rounding pi to 3 or 4 is certainly just a meme, there are other approximations which are used, like small-angle approximations, where things like sin(x)
can be simplified to just x
for a sufficiently small x
.
For back-of-the-envelope or mental calculations, pi is often 3 or 10^(1/2).
The latter is better than 1% accurate, and has nice properties when doing order-of-magnitude/log space calculations in base 10.
There's a lot of weird stereotypes out there that make no sense. Like the whole "programmers wear thigh high socks" thing. Where did that even come from?
Bet that one was started by all those dastardly programmers that wear knee high socks!
you've never seen anybody simplify it to 3 when doing head calcs without a phone nearby?
it doesn't happen often, in fact I've seen it once. in a decade.
The only time you should be doing head calcs as an engineer is to double check that you have a reasonable answer with the actual calcs on your actual calculator.
+/-15 %? Good enough!
Cringes in Monte Carlo.
As a calibration technician, this makes me hurt. Lol.
pi == 3
Second lesson: Pi is around 3.
Use 2 E192 in parallel: a 6.19Ω resistor with a 4500Ω resistor. This gives 6.1846Ω which is close enough for rock and roll.
E192 resistors are expensive. E6 resistors 6.8Ω and 68Ω in parallel result in 6.1818 Ω, which is within 0.05 % of the target, around the best you can get without active temperature compensation.
I feel like this is one of those comments I want to hoard in the off chance that I ever get into this and start building shit but I know deep inside me that's never gonna happen.
Just learn the math, it’s quite easy. IIRC you just add the reciprocals of the resistors then take the reciprocal of the answer.
1/Req = 1/R1 + 1/R2 + 1/R3 ….
Ohh, I remember this from uni physics class. I guess I just don't know how to apply it in any practical sense though. Lol Thanks for reminding me!
The standard resistor values are a bit weird at first but when you’re in the zone and you start getting used to what they usually are you start becoming relatively decent at making an educated guess for what the values should be. The actual IRL values are predictably defined and you start remembering the possible options over time.
Someone’s probably made a program that can do it for you though. My own shitty circuits are all built from standard example circuits so I haven’t had to think about this stuff often. Or like I’ll mix and match them illogically in a pinch (on the breadboard) and figure it out later (I don’t build the final circuit lol). Or of course, the venerable using-a-potentiometer-exactly-where-you-shouldn’t technique, which is one of the pillars of modern engineering.
you start becoming relatively decent at making an educated guess
Oh, this reminds me of a guy who could guess hexadecimal colors by eye after doing it for a while, and also another guy who could guess some concentrations in a test tube without using the spectrometer. Kinda wild but it makes sense.
For you and anybody else wondering, the GP is a joke and should not be taken seriously.
The reason there isn't a resistor with the value on the meme is because real resistors have error tolerances and are never the exact value on their marks. If you go assembling a card-castle of resistors with the wrong value so that the labels add up to the value you want, you will still have a resistor of the wrong value.
The actual method for calibrating exact resistor values involves starting with a lower resistance and etching away parts of it with a laser to get to the exact value you want. You probably still couldn't get as many decimal places as OP tho
And then in a week it drifts into a different value and you have to calibrate it again.
And that's assuming your room temperature is controlled for all experiments.
And that's also assuming the current going through it is 0 so it is always exactly at room temperature.
Virgin theoretical physicist vs Chad experimental physicist goes brrr
As a layperson, what happens if crumbs from my sandwich fall all over your chad experiment setup?
For really sensitive applications like voltage references, they actually build a little enclosure around the part with a built in heater to keep it at a constant calibrated temperature. The boards also often have cutouts to reduce thermal transfer and things like the board flexing causing stress to the part.
The resistor itself won't really drift at a constant temperature, especially in a sealed environment where condensation, corrosion, and dust aren't a factor.
Though of course real programmers use vim
Emacs or die
Emacs means die. Vim4lyfe
There's an old saying that engineers measure with a micrometer, mark with a grease pen, and cut with a hatchet. You do the math right first, check the tolerances and tools at hand, then you try whatever seems like it'll work keeping room for your second and third guesses. Never give the boss their company credit card back until you're pretty sure you won't need another hardware run of the day.
This guy electrons!!! <3
I kinda wonder if there's a specific reason for that number other than just being an ass.
2pi
would start with 6.28
He's bad at math/estimating
Tau
wau
You're getting a 10 ohm resistor and liking it.
More seriously, if you order it from an Electronics supplier, you can get a 6.2 Ohm resistor with a mere 1% tolerance (in some cases, even 0.5%).
That said an EE, except in very specific cases such as reference resistors, would generally use a 10 or 5 Ohm one with 10% tolerance for any circuit that was supposed to be mass produced since it's far cheaper and much more easy to source in the size you require.
Astrophysicists would be happy with a 1 ohm resistor.
Watching people repair old electronics on Youtube has opened my eyes to the realities of real-world electrical engineering. In short: it's all about tolerances.
A power supply may have a nominal voltage of 5V, but anything from 4.8 to 5.2 is a-okay. Why? Because your TTL components downstream of that can tolerate that. Components that do 5V logic can define logic zero as anything between 0 and 0.8 volts, and logic one as low as 2 volts. That's important since the whole voltage rail can fluctuate a lot when devices use more power, or draw power simultaneously. While you can slap capacitors all over the place to smooth that out, there's still peaks and dips over time.
Meanwhile, some assembly lines have figured out how to aggressively cost-reduce goods by removing whole components from some circuits. Just watch some Big Clive videos. Here, the tendency is to lean heavily into those tolerances and just run parts hot, under/over powered, or just completely outside the published spec because the real-deal can take it (for a while). After all, everything is a resistor if you give it enough voltage, an inductor if the wire's long enough, a capacitor if the board layout is a mess, and a heatsink if it's touching the case.
And your LEDs will last a lot longer if you remove one of those two resistors
The way I got 100 in a lab once (electrical engineering) was by not using inductances in a frequency filter because their +/- is shit.
This is EXACTLY how it went for me when I moved from a Physics to an Electronics Engineering degree at University.
Also, the trying to understand how the various circuits worked from the point of view of "electrons moving" was a hard to overcome early tendency (even simple things like LC circuits, for example, are only really understandable as ressonant stable states and for complex circuits you really have to go higher levels than "electrons" to be able to understand then in any reasonable amount of time).
On the upside when we got to things like how tunnel effect diodes worked, the whole thing was just obvious because of having had an introduction to Quantum Mechanics in the Physics degree. Also the general stuff about how semiconductor junctions work is a lot more easy to get if you come from Physics.
(In summary: Physics really helps in understanding HOW the various components in Electronics work, but doesn't at all help in understanding how to use them to assemble a complex structure to achieve a given objective. Curiously this also applies to Mathematics and Software Development)