Discuss how would i calculate resistance using Vcc, input impedance and logic-high threshold? in the UK Electrical Forum area at ElectriciansForums.net

Reaction score
2
1615840821216.png
 
Generally, unless you are really wringing every last microwatt out of something, it's very non critical.
Draw yourself a resistor (call it R2) alongside S1 and imagine the input is "infinite" impedance. You've then got a simple voltage divider which you can solve given that you know 3 of the 4 variables : you know the voltage you need at D1, you know R2 value (controller input impedance), and you know the voltage at the top of the divider.
So lets say that R2 is 1k, minimum voltage for logic high is 2V. So 2V across 1K means 1mA through R2. If Vcc is 5V then you have 2mA through R1 needing to drop 3V, so 1.5k.
Or you can do it as R1/R2 = (Vcc-Vin)/Vin, or R1/1k = 3V/2V, or R1=1k * 3/2
In practice you'd never work it so close as that, it would be prone to noise etc - especially when you start talking high impedance inputs and calculate R1 to be in megs rather than k.
 
Generally, unless you are really wringing every last microwatt out of something, it's very non critical.
Draw yourself a resistor (call it R2) alongside S1 and imagine the input is "infinite" impedance. You've then got a simple voltage divider which you can solve given that you know 3 of the 4 variables : you know the voltage you need at D1, you know R2 value (controller input impedance), and you know the voltage at the top of the divider.
So lets say that R2 is 1k, minimum voltage for logic high is 2V. So 2V across 1K means 1mA through R2. If Vcc is 5V then you have 2mA through R1 needing to drop 3V, so 1.5k.
Or you can do it as R1/R2 = (Vcc-Vin)/Vin, or R1/1k = 3V/2V, or R1=1k * 3/2
In practice you'd never work it so close as that, it would be prone to noise etc - especially when you start talking high impedance inputs and calculate R1 to be in megs rather than k.
sorry i dont understand how you got 1mA as wouldn't you get 2mA (2v/1k) i.e. ohms law?
 

Reply to how would i calculate resistance using Vcc, input impedance and logic-high threshold? in the UK Electrical Forum area at ElectriciansForums.net

Similar Threads

Has anyone here got experience of doing a soil / earth resistance survey for the design of a large-ish site? We might be looking at a fenced area...
Replies
1
Views
420
So I’m doing my level 3 design project at the moment, and I’m on the question where you do all the calculations on each circuit, I’ve taken the...
Replies
3
Views
1K
Welcome to Accelleo! We are excited to present an excellent opportunity for Electronic Engineers to work within the Security and Defence space...
Replies
0
Views
2K
I'm working on a robotics project and currently we are designing a battery. This battery is dedicated to the motor driver and two BLDC motors. I...
Replies
0
Views
562
- I want to know what these -unknown- resistors Wattage are !? First of all, they are scrapped. Then, we really dont know in what part of the...
Replies
25
Views
2K

OFFICIAL SPONSORS

Electrical Goods - Electrical Tools - Brand Names Electrician Courses Green Electrical Goods PCB Way Electrical Goods - Electrical Tools - Brand Names Pushfit Wire Connectors Electric Underfloor Heating Electrician Courses
These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then CLICK HERE and post a thread with who you are, and we'll send you some stats etc

Electrical Forum

Welcome to the Electrical Forum at ElectriciansForums.net. The friendliest electrical forum online. General electrical questions and answers can be found in the electrical forum.
This website was designed, optimised and is hosted by Untold Media. Operating under the name Untold Media since 2001.
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock