Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

how to interface a mechanical part with C#

Status
Not open for further replies.

parthi2929

New Member
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.
 
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
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top