SMC03A controlled by LabVIEW

Support for Pololu motor controllers/drivers and our motors and gearmotors.

SMC03A controlled by LabVIEW

Postby Roberto » Mon Aug 06, 2007 11:43 pm

Hi everybody,
I managed to link the SMC03A servocontroller board with feedback with a LabVIEW program.
You can find attached the complete source code (VI and SubVIs) that make it working.

I also added a small interface (schematics attached) to the SMC03A in order to implement additional functions to the board and through the Pc serial COM port:

OUTPUTS
(DTR) ==> Board Power ON/OFF
(RTS) ==> Board Mode Select

INPUTS
(DCD) <== ERROR LED (red)
(DSR) <== STATUS LED (green)
(RI) <== END OF RANGE SWITCHES
(CTS) <== TORQUE LIMIT SWITCHES

(all switches inputs +5V when not activated, 0V when activated)

The interface board is not mandatory to control the SMC03A from LabVIEW since the proposed transistor interface that is described in the SMC03A user manual is sufficient.

The attached LabVIEW code is using VISA functions, this allows it to work with physical COM ports and with virtual COM ports like those you get with RS232-USB adapters.

Ciao,
Roberto
Roberto
 
Posts: 6
Joined: Tue Nov 14, 2006 7:02 am
Location: Luxembourg

Postby jan » Tue Aug 14, 2007 1:54 pm

Hello,

Thanks for your example, Roberto! The supporting files are available at http://www.pololu.com/products/pololu/0392/smc03a_labview.zip.

- Jan
User avatar
jan
Pololu Employee
 
Posts: 2182
Joined: Sun Dec 28, 2003 7:12 pm
Location: Las Vegas, NV


Return to Pololu Motor Controllers/Drivers and Motors

Who is online

Users browsing this forum: No registered users and 0 guests