06-22-2020 11:01 PM
Hello,
I'm using a NI-6323 card connected to a SCB-68A board to control a motor using a digital output.
I'm facing an issue when turning off my computer : I actually get a high level (5V) in the Dout and the motor starts running by itself. It looks like the pin is set as a pull-up.
Is there a way to set it as a pull-down?
Did anybody face the same problem?
Thank you for your help.
06-22-2020 11:06 PM
Hello,
I'm using a NI-6323 card connected to a SCB-68A board to control a motor using a digital output.
I'm facing an issue when turning off my computer : I actually get a high level (5V) in the Dout and the motor starts running by itself. It looks like the pin is set as a pull-up.
Is there a way to set it as a pull-down?
Did anybody face the same problem?
Thank you for your help.
06-23-2020 12:31 AM
Hi CE,
@CE-EM wrote:
I'm facing an issue when turning off my computer : I actually get a high level (5V) in the Dout and the motor starts running by itself. It looks like the pin is set as a pull-up. Is there a way to set it as a pull-down?
According to the specsheet: no.
Why is the motor still powered when you switch off the computer?
Is there no safety circuit in your testbench? This would be the proper way to handle such situations!
06-23-2020 08:17 AM
Thank you for your answer, I understand that I should have safety circuit to avoid any moving parts.
However my questions was more about how to configure the digital output as a pull down to avoid getting a high level on the output when turning off my computer.
Best regards,
06-23-2020 08:25 AM
Hi CE,
@CE-EM wrote:
However my questions was more about how to configure the digital output as a pull down to avoid getting a high level on the output when turning off my computer.
Options I can imagine:
06-23-2020 08:50 AM
@CE-EM wrote:
However my questions was more about how to configure the digital output as a pull down to avoid getting a high level on the output when turning off my computer.
This is something that has to be fixed in hardware. Add a buffer circuit. There are many buffer chips out there that include an enable line (commonly active low). You can then add a pull-down resistor on the buffer output going to your motor controller.