lolo WROTE:what exactly component at the circuit do i need?having a trouble here.tq
I doubt you understand what is electronics at all

Though I din go into the datasheet pointed by other forumers, looking at what explained by yonghui, it is basically a normal voltage dividing circuit. Googling help me get this at Wikipedia -
Voltage Divider.
What component do you need? A resistor as R1, R2 will most probably be the sensor. When R2 changes, Vout changes. From there you get the information.