How to Monitor Flow Rate using Microcontroller

cchandansjce

cchandansjce

@cchandansjce-4bNxMq Oct 26, 2024
Hi Ceans ,
Can anybody give me the microcontroller code to monitor flow rate and volume of the liquid ??

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww Apr 15, 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

    @cchandansjce-4bNxMq 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

    @harshad-ukH5ww Apr 16, 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.
  • cchandansjce

    cchandansjce

    @cchandansjce-4bNxMq Apr 16, 2012

    link for load cell
    #-Link-Snipped-#
    link for flow sensor
    #-Link-Snipped-#
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww 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

    @cchandansjce-4bNxMq 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

    @harshad-ukH5ww Apr 17, 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

    @cchandansjce-4bNxMq Apr 17, 2012

    analog signal
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww 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

    @harshad-ukH5ww Apr 18, 2012

    Which IDE you are using for writing code AVRStudio?
    Here is one Example for ATMEGA interface with ADC :- <a href="https://www.dharmanitech.com/2008/10/adc-project-with-atmega32.html" target="_blank" rel="nofollow noopener noreferrer">Design with Microcontrollers: 8-Channel ADC Project with ATmega32</a>
  • cchandansjce

    cchandansjce

    @cchandansjce-4bNxMq Apr 18, 2012

    Thought about that .... But how to write that sir ?? Is that similar to C code or different for ATMEGA32 ??
  • cchandansjce

    cchandansjce

    @cchandansjce-4bNxMq Apr 18, 2012

    IDE is khazama AVR programmer
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww 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.