LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TURN OFF AND ON MINI WATER PUMP WITH MYDAQ

Hello guys ,

im new to the community. Im working on a project on mydaq board and i want to control a mini pump through it.Actually just turn it off and on nothinge else. The pump operates between 6-12v with 540mA . My question is :   a simply ss relay 5v with max 1A is enough ?  or is it dangerous and i should use something like a diode to protect the mydaq board? if so can you describe how?  Could you suggest maybe a better solution for the problem?

0 Kudos
Message 1 of 8
(1,405 Views)

Hi Katsanik,

 


@KatsanikJr wrote:

The pump operates between 6-12v with 540mA . My question is :   a simply ss relay 5v with max 1A is enough ?


What kind of SSR do you want to use?

How do you want to connect it?

Which signals of the myDAQ do you intent to use?

Which kind of power supply do you want to use?

Have you thought about placing a fuse somewhere in your circuit?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(1,399 Views)

I found these specs on the relay that im looking for 

  • Relay type: Electromagnetic
  • Contacts configuration: SPDT
  • Rated coil voltage: 5V DC
  • AC contacts rating @R (at resistance load): 1 A / 120 VAC
  • DC contacts rating @R (at resistance load): 1 A / 30 VDC
  • Contact current max.: 2A
  • Switched voltage: max 120V AC, max 30V DC
  • Relay variant: Subminiature, signal
  • Mounting: PCB
  • Operating temperature: -30...70°C
  • Relay series: SYS

 

 

I want to connect A0 output from my daq to the relay . And i will have an external source for the pump which will also be connected with the relay. So the signal which controls when the relay is open or close will come from the A0 output . Not considering fuse 

0 Kudos
Message 3 of 8
(1,388 Views)

Hi Katsanik,

 


@KatsanikJr wrote:

I found these specs on the relay that im looking for 

  • Rated coil voltage: 5V DC

There is (atleast) one spec missing: what is the needed coil current to actually switch the relay?

Is your myDAQ able to drive that current using any AO or DO channel?

 

Have you considered an external amplifier (a simple MOSFET will do) to drive the relay?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 8
(1,366 Views)

Sorry i am new to the circuit logic. As far as i can understand you suggest me to use both mosfet and the relay so the mosfet will open the relay and the relay will open the pump? 

0 Kudos
Message 5 of 8
(1,354 Views)

I also tried to take as example this one https://forums.ni.com/t5/Example-Code/Turn-on-a-DC-Computer-Fan-using-a-Solid-State-Relay-myDAQ-and/... . So instead of the cooling fan which operates at 12VDC i have the pump but im not sure if my thought is correct

0 Kudos
Message 6 of 8
(1,338 Views)

Hi Katsanik,

 

that example is "quite ok".

The point is: they took a certain kind of SSR, but you decided to use a coil-type relay ("electromagnetic").

Their main difference (from myDAQ point of view) is the current they need to actually switch the output contacts.

 

You still missed to provide the specs I asked for: how much current does your relay need and is your myDAQ able to deliver that current?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 8
(1,279 Views)

Hello again ,

 

and thank you so much that you actually helped me understand the problem. As i understood: mydaq can provide through output ports a max 0,2mA current. But the relay i am using needs more current in order to open the coil. So i have to figure out a way on how to find that current . So i figured out something else : im gonna use a mosfet which is on in low current (low voltages) and an external source connected to the pump  with a flyback diode to protect the mosfet. 

 

So i provide volt through mydaq in mosfet and mosfet will work as a relay. 

0 Kudos
Message 8 of 8
(1,264 Views)