View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12829 Members
Join this group to post and comment.
cchandansjce
cchandansjce • Apr 14, 2012

How to Monitor Flow Rate using Microcontroller

Hi Ceans ,
Can anybody give me the microcontroller code to monitor flow rate and volume of the liquid ??
Harshad Italiya
Harshad Italiya • Apr 16, 2012
cchandansjce
Hi Ceans ,
Can anybody give me the microcontroller code to monitor flow rate and volume of the liquid ??
Which Microcontroller you are using? And sensor to measure flow? Have you tried to write code by yourself?
cchandansjce
cchandansjce • Apr 16, 2012
we are using ATMEGA 32 microcontroller and for volume we are using load cell and for flow we got a flow sensor . I tried writing code in ATMEGA 32 but still not able to do that . So need help sir ...
Harshad Italiya
Harshad Italiya • Apr 17, 2012
cchandansjce
we are using ATMEGA 32 microcontroller and for volume we are using load cell and for flow we got a flow sensor . I tried writing code in ATMEGA 32 but still not able to do that . So need help sir ...
Okey. I can help to write code instead of giving you code.
Please post link for both Sensors.
Harshad Italiya
Harshad Italiya • Apr 17, 2012
Load cell gives you change in analog signal and you have to use ADC for measurement. Now can you tell me whats the output of this flow sensor. I am not able to understand that part only.
cchandansjce
cchandansjce • Apr 17, 2012
the output of flow sensor will be analog voltage . Its a magnetic flow meter in which voltage will be generated corresponding to the rotation of the wheel inside the flow sensor.
Harshad Italiya
Harshad Italiya • Apr 18, 2012
cchandansjce
the output of flow sensor will be analog voltage . Its a magnetic flow meter in which voltage will be generated corresponding to the rotation of the wheel inside the flow sensor.
Is it Pulse generated or Variation in Voltage(Analog Signal) ?
cchandansjce
cchandansjce • Apr 18, 2012
analog signal
Harshad Italiya
Harshad Italiya • Apr 18, 2012
cchandansjce
analog signal
Ok. So Now You have to measure both analog signals and according to that reading you can calculate Flow rate.
Have you tried to write ADC Measurement Code?
Harshad Italiya
Harshad Italiya • Apr 18, 2012
Which IDE you are using for writing code AVRStudio?
Here is one Example for ATMEGA interface with ADC :- Click Here
cchandansjce
cchandansjce • Apr 19, 2012
Thought about that .... But how to write that sir ?? Is that similar to C code or different for ATMEGA32 ??
cchandansjce
cchandansjce • Apr 19, 2012
IDE is khazama AVR programmer
Harshad Italiya
Harshad Italiya • Apr 22, 2012
C is common for all the microcontroller as IDE compiler converts it to assembly so you can go with the same code. You have to check the code after loading into controller this is not exact code you want.

Share this content on your social channels -