Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@harshad-ukH5ww • Apr 15, 2012
Which Microcontroller you are using? And sensor to measure flow? Have you tried to write code by yourself?cchandansjceHi Ceans ,
Can anybody give me the microcontroller code to monitor flow rate and volume of the liquid ?? -
@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-ukH5ww • Apr 16, 2012
Okey. I can help to write code instead of giving you code.cchandansjcewe 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 ...
Please post link for both Sensors. -
@cchandansjce-4bNxMq • Apr 16, 2012
link for load cell
#-Link-Snipped-#
link for flow sensor
#-Link-Snipped-# -
@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-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-ukH5ww • Apr 17, 2012
Is it Pulse generated or Variation in Voltage(Analog Signal) ?cchandansjcethe 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. -
@cchandansjce-4bNxMq • Apr 17, 2012
analog signal -
@harshad-ukH5ww • Apr 18, 2012
Ok. So Now You have to measure both analog signals and according to that reading you can calculate Flow rate.cchandansjceanalog signal
Have you tried to write ADC Measurement Code? -
@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-4bNxMq • Apr 18, 2012
Thought about that .... But how to write that sir ?? Is that similar to C code or different for ATMEGA32 ?? -
@cchandansjce-4bNxMq • Apr 18, 2012
IDE is khazama AVR programmer -
@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.