|
@@ -1,3 +1,30 @@
|
|
|
+## Y-configuration of resistors
|
|
|
+
|
|
|
+```
|
|
|
+V_in - V_out = I_in * R_in
|
|
|
+V_ref - V_out = I_ref * R_ref
|
|
|
+V_out = (I_in + I_ref) * R_gnd
|
|
|
+
|
|
|
+I_in = (V_in - V_out) / R_in
|
|
|
+I_ref = (V_ref - V_out) / R_ref
|
|
|
+V_out / R_gnd = I_in + I_ref =
|
|
|
+ = (V_in - V_out) / R_in + (V_ref - V_out) / R_ref
|
|
|
+(V_in - V_out) / R_in = V_out / R_gnd - (V_ref - V_out) / R_ref
|
|
|
+V_in - V_out = (V_out / R_gnd - (V_ref - V_out) / R_ref) * R_in
|
|
|
+V_in = (V_out / R_gnd - (V_ref - V_out) / R_ref) * R_in + V_out =
|
|
|
+ = V_out * (1 + R_in / R_gnd + R_in / R_ref) - V_ref * R_in / R_ref
|
|
|
+```
|
|
|
+
|
|
|
+for `V_out=0`:
|
|
|
+```
|
|
|
+V_in = -V_ref * R_in / R_ref
|
|
|
+```
|
|
|
+
|
|
|
+for `V_out=Vref`:
|
|
|
+```
|
|
|
+V_in = V_ref * R_in / R_gnd + V_ref
|
|
|
+```
|
|
|
+
|
|
|
## alternatives:
|
|
|
|
|
|
[rgco: Multichannel Arduino Oscilloscope](https://www.instructables.com/Another-Arduino-Oscilloscope/)
|