LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW + Arduino Uno + Servo Motors (HerkuleX DRS-0201)

Hello everyone,

Im doing a project where im controlling two servo motors from Dongbu Herkulex (DRS-0201) which are mounted on x and y axis on XY table. Also i made a code on arduino software where by use of keypad on laptop im controlling the position of the table: 8 up, 4 left, 6 right, 2 down, 1 stop servo on x-axis, 3 stop servo on y-axis. My next step is try use LabVIEW to communicate with servo's throw arduino uno board. I download Arduino toolkit from LabVIEW to interface with board. I got the examples working, example: i used potentiometer to display in LabVIEW analog values (0-5V). I saw that arduino can communicate with servos cause have the servo.vi. There is example in ardubio toolkit where you can control 2 servo motors by arduino uno board but the servo that are in example have ground, power and pwm cable meaning they are 3 wire. Now my question is how i can control my servo motors because DRS-0201 have power, ground, rx and tx line meaning they have 4-wires??? Or what should i try first.

Any help or hints i would appreciate,

Thanks.

DRS-0201 manual ->     http://robosavvy.com/RoboSavvyPages/DongbuRobot/%5BENG%5DHerkulex_Manual_Ver.1.00.pdf

0 Kudos
Message 1 of 3
(6,506 Views)

Your servo is not the same type of servo used in the servo examples.  The DRS-0201 uses UART serial communication.  It will not be possible to use this servo with an Arduino Uno.  Also, UART communication is not implemented in LIFA.  However, there is one thread that talks about implementing this in a custom version of LIFA with an Arduino Mega.

0 Kudos
Message 2 of 3
(3,677 Views)

to have the recommended serial communication would also use the labview VISA, this function is low level ys eemplea any application to communicate serially

0 Kudos
Message 3 of 3
(3,677 Views)