Understanding voltage divider and How to use it as voltage sensor - Electronic Basic #3
HTML-код
- Опубликовано: 14 июл 2024
- In this video, I am talking about what is a voltage divider, how it works, and how to use it as a voltage sensor.
Join this channel to support me or to get access to perks:
/ @miliohm
You can find the sketch/code use in the video here:
miliohm.com/understanding-vol... Наука
Very well explained, thank you
Thank you. Excellent video
Please continue Electronic basic series.🙂
just what I was looking for
nice video.......thanks
This video is too underrated.
Thank you. Really appreciate it!
Great job 👍 excellent
Thank you!
Sir, I want control the voltage using a 10K potentiometer, Vin=12V DC, and Vout= (between 0v-5v) from the potentiometer. So, I need a resistance R1, that will drop the voltage from 12v to 5v, in order to produce Vout = 0v to 5v from the potentiometer.
But I am unable to calculate the R1 resistance value.
Please help me in this.
Sir I want to ask where the values 13 and 3 from the Vin formula come from
danke danke danke...
Dear sir, could u tell us about the calculation in arduino programm in detail?
Can you give me the values of the resistors if I want to measure a voltage up to 30v?
Hey. Why do you not watch this video here, and learn instead? This video here explains it all. So ask questions to the understanding of this video, and I will assist you.
Use this formula for voltage divider with 2 values resistors, R1 (top resistor), R2(button one), consider R1 is 10K, Vout is 5 volts (arduino max input voltage ) and Vin (yours 30 volts):
R2= R1*(Vout/Vin-Vout). The result is 2K. Now you can find the values of R2 for any voltage you want.
dear sir ,can i measure upto 0 to 5 volt directly connect to arduino A0 pin without any voltage divider circuit ?
Sure. Just make sure the maximum is 5V
@@miliohm yes my maximum voltage is fixed 5volt ,thankyou sir for sharing knowledge. 🙏
👍.
Can the code be used in esp32
Sure, you just need to make sure the voltage result. Esp32 module only able handle up to 3.3V.
And also don't forget to change the pin you are using.
why do I need to multiply by 13 and divide by 3
Yeah, i didn't understand too for the calculation in arduino program
I would like a answer to that too.
@@HenrikHvalpen I already explain that on 5:46
@@miliohm I'm sorry but I still don't get where 13 comes from?
@@HenrikHvalpen since the original voltage is multiplied by 3 and divided by 13 (look at the circuit and formula). So the voltage on the arduino should be multiplied by 13 and divided by 3 to get the original value.
The point is multiply the divided voltage, so we can print the original voltage before divided.