02-23-2018 12:41 PM
Hi,
I am using labview interface for arduino and I have tried to programm asc712 sensor but i couldn't. here is the link of the sensor code: circuits4you.com/2016/05/13/ac-current-measurement-acs712/ .
i researched a lot and i found that i can modify lifa function ,but i don't know how to do so. if i modify function,is it necessary to make the same code in labview? .
can any one guide me or making labview code for this sensor.
thanks.
02-23-2018 01:28 PM - edited 02-23-2018 01:32 PM
Well to begin with LIFA has long since been deprecated and replaced with LINX
But to your basic problem, the ACS712 converts current to a scaled voltage and you are simply reading that voltage on the analog in pin of the Arduino.
So no special libraries or functions beyond "Analog Read" are needed.
You read the voltage on the proper analog pin and then do the necessary math to convert that to the current value you are measuring.
02-24-2018 07:36 AM
thanks for this quick response .
actually, i am not professional in labview and i i couldn't know how to make the programm in especially this line:
02-24-2018 11:20 AM - edited 02-24-2018 11:20 AM
It would look like this.
02-24-2018 12:11 PM
please, can you complete doing all the cod in labview ...
thank you so much.
02-24-2018 02:56 PM
No. I'm not getting paid to do other people's work.