07-03-2018 02:58 PM
Hi
I want to read voltage from voltage sensor ZMPT101B as first step and then to read current from current sensor ACS712 .
for now the voltage measurements readings as shown in video just like noise .
attached the VI and the dropbox link has the video
https://www.dropbox.com/s/1as07olpqh6pzm6/ScreenCapture_11-10-2016%206.45.42%20PM.wmv?dl=0
.
please check the VI if needs for improvement and feel free to add and thing you see it is important to add on the VI
I'm using arduino Mega and Labview 2014
please help me since I west a lot time trying to troubleshoot this issue
07-06-2018 08:13 AM
Any help please !!
07-06-2018 10:15 AM
I want to read voltage from voltage sensor ZMPT101B as first step and then to read current from current sensor ACS712 .
The ZMPT101B device is only for measuring AC voltage. If your input is a DC source (steady-state voltage), then seeing noise on the output is expected.
07-12-2018 02:57 AM
It is AC voltage which I need to measure but the VI shows not clear sine wave
Any help please
07-12-2018 06:48 AM
What sample rate are you using? What is the frequency of the signal you are trying to read? My guess is you are running into a sampling issue.
07-20-2018 10:21 AM
Hi
I just use the simpe analog input for arduino
Please check the .vi which I used
the .vi attached in first post
Waiting your advice
07-20-2018 11:52 AM - edited 07-20-2018 12:16 PM
Well you should first get this working using the native Arduino programming language and IDE. Even something at simple as having the raw ADC values sent out to the serial monitor.
Also you do know that the voltage transformer is just a transformer, right? That means it is going to output an AC voltage. But an Arduino analog input CAN NOT accept an AC voltage input. The Arduino analog input can only accept voltages from 0 to VCC (+5 or +3.3 volts DC).
If you want to measure an AC voltage you will need an op amp circuit to add a DC offset to the AC voltage so it never goes below 0 volts DC.
07-20-2018 02:38 PM
Sounds like you may have already blown that input as the reasoning why it may look like noise. Can you connect a regular 1.5V (AAA, AA, C, or D) battery to the Arduino input and verify that you are getting about 30% of full-scale (5V) as proof that it is working? If that input doesn't work, try some of the others.
07-29-2018 02:24 PM
Hi
The problem with the .VI needs some improvment like filters or some modification because I used the same voltage sensor with arduino IED program it was work and gives 2.5 volt on secondary but at using same arduino with same sensor with labview I cannot get a nice sine wave so the .VI need some improvnents which I dont know about it
So if some of our colleagues know how to improve the .VI it will be nice
07-31-2018 09:15 AM
I have to see your interface circuit there has to be more to it than the transformer because of reasons I listed above.
Also you are NOT going to get a nice sice wave feeding even 2.5VAC into an Arduino analog pin. The best you can hope to see is a half wave rectified output (again because of the reasons I listed above)