Click here to Skip to main content
15,886,774 members
Home / Discussions / C#
   

C#

 
GeneralRe: led to rs232 Pin
_Q12_1-Nov-09 12:56
_Q12_1-Nov-09 12:56 
GeneralRe: led to rs232 Pin
Christian Graus1-Nov-09 13:02
protectorChristian Graus1-Nov-09 13:02 
GeneralRe: led to rs232 Pin
_Q12_1-Nov-09 13:10
_Q12_1-Nov-09 13:10 
GeneralRe: led to rs232 Pin
Christian Graus1-Nov-09 13:33
protectorChristian Graus1-Nov-09 13:33 
AnswerRe: led to rs232 Pin
Alan N1-Nov-09 13:25
Alan N1-Nov-09 13:25 
AnswerRe: led to rs232 Pin
Luc Pattyn1-Nov-09 13:28
sitebuilderLuc Pattyn1-Nov-09 13:28 
GeneralRe: led to rs232 Pin
_Q12_1-Nov-09 13:53
_Q12_1-Nov-09 13:53 
GeneralRe: led to rs232 Pin
Luc Pattyn1-Nov-09 14:15
sitebuilderLuc Pattyn1-Nov-09 14:15 
merlinq12 wrote:
I don't mind about the U/Led.


I don't know what you mean here, if you want to forgo the resistor chances are you will ruin your serial port, which will cost you more than thousands of resistors.


merlinq12 wrote:
.I can run a stepper motor with this?


with the proper H bridge in place you can control motor steps, yes. However:
- there is bound to be some unpredictable delay between setting a control line in software, and getting the result at the end of the USB cable (a motherboard serial port is much better in this, it does not need a USB packet to transmit the command over a multi-device bus);
- a Windows PC would be unreliable in generating a smooth stepper motor sequence, as Windows has lots of overhead and isn't real-time at all.

The only good way to control moving equipment at the step level is by using a dedicated micro-controller, such as a PIC.


merlinq12 wrote:
how to make a timer run 1.25ms , then 1.50ms , then 1.75ms


There is no way to do that reliably, unless you:
- replace the USB-to-RS232C cable by a motherboard port;
- and write a device driver (which can really run its code at a priority above all applications),


FWIW: moving parts that may harm a human being should not be controlled directly by a PC; always use a dedicated micro-controller, some micro-switches to detect out-of-order situations, and appropriate code.


PS: stop abusing the C# forum for something that is purely hardware oriented!

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: led to rs232 Pin
_Q12_1-Nov-09 14:43
_Q12_1-Nov-09 14:43 
GeneralRe: led to rs232 Pin
_Q12_1-Nov-09 16:18
_Q12_1-Nov-09 16:18 
Questionmain form is not activated Pin
Maddie from Dartford1-Nov-09 12:05
Maddie from Dartford1-Nov-09 12:05 
AnswerRe: main form is not activated Pin
Christian Graus1-Nov-09 12:07
protectorChristian Graus1-Nov-09 12:07 
QuestionMaking custom control subscribe to external event ? Need Approach advise... Pin
idan_bismut1-Nov-09 9:30
idan_bismut1-Nov-09 9:30 
AnswerRe: Making custom control subscribe to external event ? Need Approach advise... Pin
Christian Graus1-Nov-09 9:42
protectorChristian Graus1-Nov-09 9:42 
AnswerRe: Making custom control subscribe to external event ? Need Approach advise... Pin
DaveyM691-Nov-09 10:52
professionalDaveyM691-Nov-09 10:52 
Questionhow to create a chart Pin
h.pordel1-Nov-09 9:20
h.pordel1-Nov-09 9:20 
AnswerRe: how to create a chart Pin
Christian Graus1-Nov-09 9:24
protectorChristian Graus1-Nov-09 9:24 
GeneralRe: how to create a chart Pin
h.pordel1-Nov-09 9:39
h.pordel1-Nov-09 9:39 
GeneralRe: how to create a chart Pin
Christian Graus1-Nov-09 9:40
protectorChristian Graus1-Nov-09 9:40 
GeneralRe: how to create a chart Pin
h.pordel1-Nov-09 9:49
h.pordel1-Nov-09 9:49 
GeneralRe: how to create a chart Pin
Christian Graus1-Nov-09 9:51
protectorChristian Graus1-Nov-09 9:51 
GeneralRe: how to create a chart Pin
h.pordel1-Nov-09 9:59
h.pordel1-Nov-09 9:59 
GeneralRe: how to create a chart Pin
Christian Graus1-Nov-09 10:10
protectorChristian Graus1-Nov-09 10:10 
AnswerRe: how to create a chart Pin
Henry Minute1-Nov-09 9:30
Henry Minute1-Nov-09 9:30 
QuestionRedirecting keystrokes to a RichTextBox Control in C# Pin
pbalaga1-Nov-09 9:02
pbalaga1-Nov-09 9:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.