LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

arduino et relais

bonjour,

je dois alimenter individuellemnt 3 relais dont la bobine et alimentée en 5v pour actionner des électrovannes, je possède un arduino et labview, comment faire? j'aimerais avoir une interface graphique qui me permette, à partir de boutons que j'actionne avec la souris, d'ouvrir et de fermer les relais. cordialement et merci pour l'aide

0 Kudos
Message 1 of 3
(3,930 Views)

frag2013 wrote:

I have to feed individuellemnt 3 relay whose coil and supplied with 5v to power solenoid, I have a arduino and labview, how? I would like to have a graphical interface that allows me, from buttons that I operate the mouse, open and close the relay. and cordially thank you for the help

If your relay coil draws less than 40 mA then you should be able to simply use a digital pin.  Write a 1 to it to turn it on, and a 0 to turn it off.  Here is an example:

DigitalPinExample.png

0 Kudos
Message 2 of 3
(3,417 Views)

One more thing...

You mention that you wish to control electrovalves, I draw you attention on the point that the with arduino board and LIFA, the states of the digitals outputs are random before the init.

So you electrovalve may have unexpected behaviour at program start-up, take care...

A contermeasure could be found here : https://decibel.ni.com/content/message/41624#41624

(Other thread are dealing the same issue in this community, make a search)

I personnally never find a suitable solution for this issue....

Regards

antoine

0 Kudos
Message 3 of 3
(3,417 Views)