From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-08-2021 09:46 PM
Hi All,
I am using USB6501 to trigger a 5vdc relay
when i pull high, i not see the relay triggered.
after troubleshoot i found that my USB6501 at port P0.0 only give 3.3 v instead of 5v.
are they any setting that i need to do to increase the voltage from 3.3v to 5v?
thanks in advance
Solved! Go to Solution.
12-09-2021 08:27 AM
This device has two digital output modes, "Active Drive" and "Open Collector", in order to get 5V you should be using Open Collector mode, but it's driving capabilities are limited, i suggest you to use a circuit between the USB device and the relay.
Page 2 of the spec for this device.
Saludos.
12-09-2021 09:38 AM
With the Open Collector, you have to supply your own 5V source.
Looking at the specification, it looks like the active output works in the 3.3V range. This will still work for TTL devices, but not likely for an actual relay. You are also likely limited by the current required to turn on your relay. You should at a circuit to boost that current and voltage level up.
12-09-2021 09:57 AM
Though this snippet is from the 6509 user manual, the concept is still the same for 6501 too.
As crossrulz described, you need an external transistor or buffer that can switch the voltage and current required by your relay coil.
Typically, 5V relays require a coil current of 20mA which the 6501 cannot supply.
12-13-2021 03:32 AM
Thank you everyone for the respond.
i've add ttl in between usb device and relay. and it works
actually i get a relay module that already sort the ttl and relay. only need to add external power supply and now can trigger the relay