08-29-2015 12:28 AM
Hi
I would like to control a dc motor through Arduino and Labview. I use my Arduino Mega. The pin 5 is programmed as a PWM. I control one dc motor through MOSFET transistor because I need 9V supply. The control of the motor is OK. I can change the speed. But I have the following problem:
After the launch of the LabVIEW program, during the initialization procedure of Arduino, the signal comming from Arduino to the motor is 9V (the pin 5 is set to 9V). After the successfull initialization, Arduino gives the required voltage to the motor. I would like to overcome this problem. It is not so nice to send 9V to the motor at the begining.
I use LabView 2012 and I can't update the LINX library. I would like to ask if this library is supported by NI. If not what kind of a library I can use for controlling arduino with Labview?
Regards
09-18-2015 12:31 AM
Are you using a P channel or N channel MOSFET? Is there a corresponding pull-up or pull-down resistor on the gate of the MOSFET?
Could you post your VI for controlling the Arduino?