12-10-2013 02:29 AM
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
12-10-2013 09:50 PM
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:
12-30-2013 02:50 AM
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