easiest way to "fake" an rs232 signal ?
It may not be RS-232, but reading the origional problem statement, it may perform the intended function through the required range, AKA "getter done!'
--- Of course there's always something to be said for expedience, but the real RS-232 solution will _always_ work, so when the OP asks for:
"what's the simplest circuit that can "fake" an RS232 signal ?"
and he doesn't specify any of the vagaries of his system, the _right_ answer is the one which will _always_ work. Wouldn't you agree?-)
-- John Fields Professional Circuit Designer
Can a "fake" an RS232 signal actually exist? I agree that either it is RS232 or it isn't. The same for placebo, faux, spurious, pseudo, and herbal RS232 signals. ;)
In response to what John Fields posted in news: snipped-for-privacy@4ax.com:
No. The easiest way depends on the intended listening device. Catering for all possible varieties and vagaries is certainly *not* the 'easiest way'. That is the *hardest* way.
In response to what John Fields posted in news: snipped-for-privacy@4ax.com:
And you think /that/ is the /simplest/ way? What kind of sledgehammer do you use to crack nuts? Steam-driven?
Isn't the RS232 idle state(marking, logical 1) = -3 to -25 V and space, logical 0 = +3 to -25 V? He would need a single pulse going from (-3 to-25V) to (+3 to +25V) for a period of [(character bits
+2)/baud rate] seconds. Probably wouldn't hurt to throw in a couple of bit periods just prior and after the pulse. This would simulate a "real" RS232 transmission of ASCII 0, whatever that is.___ Quidquid latine dictum sit, altum viditur. (Whatever is said in Latin sounds profound.)
In response to what John Fields posted in news: snipped-for-privacy@4ax.com:
RS-232-C has nothing to do with start bits, stop bits or anything else connected with ASCII data. It is merely a specification of electrical characteristics.
However, it /does/ define a 'marking' state, logic ONE, as a negative voltage, An ASCII idle state is 'marking', i.e. a logic ONE - negative. A START bit is a zero and a STOP bit is a ONE - quite the opposite of what the 'Professional Circuit Designer' asserts. So an ASCII NULL, with start bit, stop bit and no parity, is ...0'00000000'1....
'Professional Circuit Designer'? Don't come here for a job.
no a dormant channel should be is in the "mark" state -5..-12V the start bit is a "space" +5..+12V
Bye. Jasen
pulse durationn is everything. too long and it looks like a "break" and is ignored, too short and it gets missed.
18V peek-to-peek seems about right, the offset seems otherwise what sort of scoope were you using. are you sure it was earthed to signal ground. (chassis ground would do)I doubt the serial port hardware inside your PC is capable of producing +18V
In response to what John Fields posted in news: snipped-for-privacy@4ax.com:
It isn't very professional to claim to be a 'Professional Circuit Designer' and then spout a load of rubbish. Glad to hear I won't have to chuck you off the premises.
*plonk*.
John Fields spake thuswise in news: snipped-for-privacy@4ax.com:
Am I missing something here? Seems to me that Joe was right and you were wrong.
Alan Jones.
Yes, Joe was correct, and then he was stupid. You missed something.
Don
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required