kangyunmei
Electrical
- Nov 29, 2018
- 2
Hi, in my final graduate project i'm thinking to project a liquid flow meter using infrared sensor (phototransistor) and a microcontroller.
The main idea its to do 2 horizontal lines of tranceivers and receivers with a know vertical distance between then.
The infrared receiver it will generate a Vout that depends of the opacity of the liquid.
My idea is to measure in the first line, the Vout voltage with the A/D converter of the microcontroller and the time that the voltage was measured.
The second line of the receivers it will do the same measures (Vout and the time).
With the measures done, the time of the SAME Vout measures it will be compared, and with this data i can measure the speed of the liquid.
An example:
The firts line receivers generate 3.2V at Vout that was readed at A/D converter at the time 300ms.
The second line of receivers reads 3.2V at the time 320ms.
The diference between the time of the measures is:
320 - 300 = 20ms.
If the distante between the line of the receivers is 3cm, i can measure the speed:
speed = 3cm/20ms
The question is: It's possible to do this or the complexity it will be huge?
Any ideas how to start?
The main idea its to do 2 horizontal lines of tranceivers and receivers with a know vertical distance between then.
The infrared receiver it will generate a Vout that depends of the opacity of the liquid.
My idea is to measure in the first line, the Vout voltage with the A/D converter of the microcontroller and the time that the voltage was measured.
The second line of the receivers it will do the same measures (Vout and the time).
With the measures done, the time of the SAME Vout measures it will be compared, and with this data i can measure the speed of the liquid.
An example:
The firts line receivers generate 3.2V at Vout that was readed at A/D converter at the time 300ms.
The second line of receivers reads 3.2V at the time 320ms.
The diference between the time of the measures is:
320 - 300 = 20ms.
If the distante between the line of the receivers is 3cm, i can measure the speed:
speed = 3cm/20ms
The question is: It's possible to do this or the complexity it will be huge?
Any ideas how to start?