Visualization of Real and Virtual Prototype Using Solidworks, Labview and Arduino

by Magesh Jayakumar in Circuits > Arduino

8146 Views, 39 Favorites, 0 Comments

Visualization of Real and Virtual Prototype Using Solidworks, Labview and Arduino

solidworks labview and arduino virtual prototype testing

If you don't know How your CAD model works before going for a 3D print, This might be a solution to some of the users who wants to visualize the performance of their CAD Assembly model. You might think visualization can be done with any software, most of the CAD software comes with the simulation package, but what if you want to compare the visualization with the real system?

What you need to achieve this?

Solidworks

Labview and NI softmotion

LINX or LIFA (if you use linx you need to create a library for working with servo motors, linx don't have the support for servo motors.)

Arduino.

Create a CAD Model in SolidWorks

servo.JPG

I created a Tower pro model in Solidworks to visualize its performance with the real servo motor , If you have any other CAD model and a working model of the same, you can use it .

If you want to use the same CAD file , It can be downloaded from the link below.

https://www.dropbox.com/s/n0sgs7ve1rjx1jh/SG90Serv...

Check the below instructable to know how to interface CAD model with Labview

https://www.instructables.com/id/3D-CAD-Simulation-...

Create Labview File

labviewsnippet.png

Labview File can be download from the below link.

https://www.dropbox.com/s/wa8ramgwudiw3or/servotes...

How to Test CAD Servo and Real Servo Motor

sevotest.JPG
fp.JPG

download Labview and Solidworks files.

Open the project file named servotest.lvproj

Open the CAD file in the Project explorer (if the CAD files say out of date) right click and select synchronize to assembly.

connect the real servo motor to arduino pin 3.

connect the arduino to system and upload the firmwire for labview. if you are new to arduino and labview check the link for how to interface labview and arduino

Select all the file in the labview project explorer window and right click and select deploy.

right click the Solidworks assembly file in the Project explorer and select start simulation

Open the VI (servotesting.vi) file in the project explorer and run the labview file.

change the servo position by controlling the dial in the front panel.