11-08-2015 02:07 AM
I do not have a good answer for you. But I do know that if you give more details about the issue (and specs') of the devices you are talking about and what exactly you want to do, You will definitely get more responses to your question and hopefully a good solution to your issue. Regards,Barddya
From: s.aryanpour <web.community@ni.com>
To: barddya <barddya@yahoo.com>
Sent: Saturday, November 7, 2015 11:13 PM
Subject: - Re: Power analyzer using arduino
|
|
NI Community |
|
Re: Power analyzer using arduino created by s.aryanpour in LabVIEW Interface for Arduino - View the full discussionhi how can i use zmpt101B transformer voltage to read ac voltage between 95 -265 volt ac ?can i help me i want to use transformer voltage and ct to calculate voltage and current by microcontroller or arduinoand analyze by labview Reply to this message by replying to this email -or- go to the message on Community Start a new discussion in LabVIEW Interface for Arduino by email or at Community |
11-08-2015 10:14 AM
For labview interface first you have to step down voltage and current according to arduino or microcontroller input range,for this purpose you can use sensors and the interface arduino with labview using LIFA or series communication
11-08-2015 12:43 PM
You will need to use resistor voltages dividers and an opamp to interface your voltage and current signals to Arduiuno's ADC. The voltage dividers are used to reduce the AC voltages to a an amplitude compatible with Arduino's 5 volt range. Then because AC signals are bipolar and Arduino's ADC input is unipolar you will need to offset the AC signal. Use an opamp in a summing configuration to add a 2.5 volt DC offset to the AC signals. I suggest a range of about 0.5 volts DC to 4.5 volts DC at the output of the opamp.
hrh212
11-08-2015 12:59 PM
and then how can i read the voltage
i must calculate rms ?
how is the arduino code
11-08-2015 05:39 PM
Update Update Update
The Arduino Due's analog input pins are rated at 3.3 volts DC. Therefore my previous comments about attenuating and off setting AC signals for a 0 to 5 volt DC range must be changed to a 0 to 3.3 volt DC range for an Arduino Due.
hrh212
11-08-2015 06:40 PM
RMS means root mean squared. Hence first square each voltage reading. Next calculate the sum of all of the voltage squared readings. Next divide the sum of voltage squared readings by the number of readings to find the mean value. Last take the square root of the mean value to find the RMS value. Measurement of the voltage signal must be made at regular intervals and for an integer number of cycles of the input signal.
The first formula on the following web page shows the formula for calculating the RMS value.
<https://en.wikipedia.org/wiki/Root_mean_square#Definition>
hrh212
11-09-2015 06:25 AM
how is arduino code ?
can u help me to write code
11-09-2015 08:05 AM
You can use Labview with Arduino after you install LINXcheck out this sitehttps://www.labviewmakerhub.com/
Barddya
From: s.aryanpour <web.community@ni.com>
To: barddya <barddya@yahoo.com>
Sent: Monday, November 9, 2015 4:25 AM
Subject: - Re: Power analyzer using arduino
|
|
NI Community |
|
Re: Power analyzer using arduino created by s.aryanpour in LabVIEW Interface for Arduino - View the full discussionhow is arduino code ?can u help me to write code Reply to this message by replying to this email -or- go to the message on Community Start a new discussion in LabVIEW Interface for Arduino by email or at Community |
11-09-2015 01:57 PM
i want to write code on arduino and connect to labview via serial port
please help me to write code on arduino
i dont want to use lifa or linx
i have problem on read ac and calculate rms
i know how to connect via serial to labview
thanks my friend
11-09-2015 03:48 PM
The only way to communicate Labview and Arduino through serial connection anyway obviously if you want to write native arduino code, then you should check out Arduino - FAQ It is a "c" like language. There are tons of examples out there, my advice would be try to find an example close to what you want to do and then edit it. Are you familiar with C?-B
| ||||
|
|
|
|
|
Arduino - FAQFrequently Asked Questions What is Arduino? Glad you asked, we have a great introduction page on Arduino, click here to read it. And what about Genuino? | ||||
View on www.arduino.cc | Preview by Yahoo | |||
|
From: s.aryanpour <web.community@ni.com>
To: barddya <barddya@yahoo.com>
Sent: Monday, November 9, 2015 11:58 AM
Subject: - Re: Power analyzer using arduino
|
|
NI Community |
|
Re: Power analyzer using arduino created by s.aryanpour in LabVIEW Interface for Arduino - View the full discussioni want to write code on arduino and connect to labview via serial portplease help me to write code on arduino i dont want to use lifa or linxi have problem on read ac and calculate rms i know how to connect via serial to labview thanks my friend Reply to this message by replying to this email -or- go to the message on Community Start a new discussion in LabVIEW Interface for Arduino by email or at Community |