Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Thread Tools Display Modes
Old 18th January 2006, 09:28 AM   (permalink)
Default how to interface a mechanical part with C#

hi,
I am a newbie to C# programming. i would like to know how to interface a mechanical part with C# application i write in windows XP platform. to be more specific, how to communicate with a stepper motor interface through a serial port using C# application.

Assumption: I have a stepper motor interface that at one end connected with stepper motor and at the other end with serial port of my PC.

Aim: To send control signal through this serial port to the stepper motor interface.

I am basically electronics student. so kindly help.
parthi2929 is offline   Reply With Quote
Old 18th January 2006, 09:35 AM   (permalink)
akg
Default

c# have "System.IO.Ports" namespace by which u can communicate with ports.
pls look at
http://www.codeproject.com/csharp/se...munication.asp
http://msdn2.microsoft.com/en-us/lib....io.ports.aspx
akg is offline   Reply With Quote
Old 25th January 2006, 06:05 PM   (permalink)
Default

A stepper motor moves with steps which are normally fed into a control circuitry that takes care of controlling the actual stepper motor

Controlling a stepper motor with the serial port alone could be possibly done by using the control lines as discretes and feeding them into the control circuitry of the stepper. But I would not recommend this at all, since you are most likely to lose steps, etc.

The best way would be to have a microprocessor hooked up to your PC and you send commands vis the serial port such that the microprocessor is able to translate that to the control lines for the stepper control circuitry.

Regards,

Ivancho
ivancho is offline   Reply With Quote
Old 14th April 2006, 11:10 PM   (permalink)
Default

Check out...

http://www.phidgets.com/

They have a usb servo motor controller with a .NET API.

http://www.phidgetsusa.com/usb_servo_controller_HP.asp
jdeere78 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 05:24 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.