ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Current measurement ACS712 with Arduino Mega

Hello everyone!

 

I'm trying to measure the current of a cartridge heater by using an ACS712 current sensor and an Arduino Mega 2560.

 

Maybe it is one of the following points:
1. I transferred the LIFA_BASE program without any changes to the arduino. Is that right?
2. Is the block diagram right? (see attachment[1])
3. The port that is used to connect the arduino to the computer is not suggested in the front panel. (see attachment[2]) I've already entered the name manually and tried it than.
4. The front panel of the arduino init, analog read, and output function is shown in [3] to [5]. Is it right that the objects for VISA resource and board type don't switch their settings to the settings I have made in the block diagram on the left?

 

Maybe you can think of other reasons why it doesn't work.

 

In [6] you can see the front panel after I started the program. The time is running but the current is nearly zero and does not change.

 

Thanks for your help!!!

0 Kudos
Message 1 of 1
(2,802 Views)