Skip to content

Commit

Permalink
Update 6.Reading Analog Voltage More than 5V.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paramphy committed Jul 9, 2021
1 parent 265448e commit 538e554
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/3.Arduino Projects/6.Reading Analog Voltage More than 5V.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ So a high input impedance is desirable in our voltage divider circuit if the imp

As a general rule though, a high input impedance device will generally pick up more noise or interference (EMI) than a low input impedance device.

# Voltage Divider Circuit
## Voltage Divider Circuit

A voltage divider circuit consisting of two resistors in series will divide the input voltage to bring it within the range of the Arduino analog inputs.

Expand All @@ -45,9 +45,8 @@ The circuit with the particular values shown has an input impedance of 1MΩ + 10

![voltagedivider](https://i.imgur.com/tiNLcrc.png)


$$
V_{out} = \frac{R_2}{R_1+R_2}.V_{in}
$$
V_{out} = \frac{R_2}{R_1+R_2}.V_{in}
$$

The Arduino can measure the voltage across **R2** only but we need the real voltage i.e. **Vin** so need a formula to calculate **Vin** from **Vout**.
Expand All @@ -60,8 +59,10 @@ $$

$$
Here,R_1 = 1 M\Omega \\
\\
R_2 = 100 k\Omega \\
then,V_{in}=\frac{R_1+R_2}{R_2} = \frac{1 M\Omega+100k\Omega}{100k\Omega} = 11
\\
then,V_{in}=\frac{R_1+R_2}{R_2} = \frac{1 M\Omega+100k\Omega}{100k\Omega} = 11\\
$$


Expand Down

0 comments on commit 538e554

Please sign in to comment.