LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Driving a 24V Relay with a USB-6009

Solved!
Go to solution

Hi,

 

Has anyone got a circuit diagram of how to drive a 24VDC Relay using a USB-6009 and a ULN2803? I have done it before but cannot find my old notes and for some reason I cannot get it going now.

 

I have set the channel up correctly using the DAQmxBase utility but I still cannot get the relay to switch.

 

Any help greatly appreciated.

 

Thanks

0 Kudos
Message 1 of 7
(4,753 Views)

http://www.google.de/search?q=ULN2803

 

Using a voltmeter , check the supply and output voltages. Without meter a 1k+LED can help 😉

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 7
(4,729 Views)
Solution
Accepted by topic author ssk

Got it sorted! It was my software not the hardware.

 

Thanks for the advice anyway.

0 Kudos
Message 3 of 7
(4,723 Views)

Hi 

 

I am using a USB 6009 to drive a 24V relay but as soon i connect the relay to the USB 6009 module the output voltage drops from 5v to 2 v and it is not swtiching the relay. 

 

Can any one please help me how to switch the relay.

 

my software is working properly and it the hardware connection where I think I am getting wrong, if any one has got a circuit diagram, it will he great help.

 

Thanks

 

Veer

0 Kudos
Message 4 of 7
(4,259 Views)

You would want to switch the relay via some kind of buffer (look at the data sheet three posts up for an idea of the device to use).

0 Kudos
Message 5 of 7
(4,255 Views)

Hi 

 

I am using a switch in the digital input line and then the USB 6009 gives a digital output line with 5V , but it is not driving the relay, i want to know do o need to connect any thing in between the realy and the digtial output line. 

 

Thanks

 

Veer

0 Kudos
Message 6 of 7
(4,248 Views)

Yes, you will need some interface circuitry inbetween the digital output pin and the relay coil (a simple transistor switch would suffice).

0 Kudos
Message 7 of 7
(4,246 Views)