How to connect Analog resistive sensors: Voltage Divider
You can divide the voltage by using 2 resisters. If you have 2 exactly same resistors, the voltage gets half in the middle, like the first diagram. As the ratio between two resisters changes, the voltage you get in the middle (between the resisters) changes accordingly. As the analog input pins are reading the voltage […]