Re: RS232 treshold revisited




"René" <rjz~nospam~@xs4all.nl> wrote in message
news:nmda12hcg0nlom2dr3gu2qaldplkrv4ukt@xxxxxxxxxx
I need to design a PC compatible RS232 I/F in a very small, battery
operated, cheap device. (isolated housing) 1200bd speed. RX / TX only.

The "royal way" would be obvously to use some MAX232 derivative, but
the battery drain budget (1 year out of a CR2032), BOM budget and
space budget make that highly unattractive.
Question. Is the RX line always going to be available, when the TX is
required?. RS232, is never going to be a 'low power' interface. You need
to be able to drive at least a 3K load, with +/-3v (at the receiver -
supposedly +/-5v at the transmitter), and given that the
idle condition is 'driven', you are talking a minimum of over 3mA...

As I see it I am left with 2 alternatives:

1. Hook the device ground to the minus voltage of a RS232 gate ,
and have a transistor + collector resistor switch between + and -
RS232 voltages at the collector. (or use a fet)
(use 2 any non-rx/tx RS232 pin to get steady + and - voltage out of
the PC, set dedicated RS232 PC driver to provide these voltages in a
steady mode)

Advantage: Full RS232 swing available
Disadvantage: device grounded to neg RS232 voltage, unsolid ground.

2. Use TTL method, switching between pos value (derived from
steady state RS232 pin), and true RS232 ground. Here it is assumed
most (all?) PC RS232 I/F's actually switch at TTL level tresholds.

Advantage: solid ground
Disadvantage; will not work if treshold is close to, or below 0V.

Knowing full well that both methods are sub-optimal and non-compliant,
I lean towards method 2.

Question: On which PC's will I run into trouble? Any other low cost /
low energy solutions? What's with Apple PC's?
Look at the DS275. Close to compliant, and the solution used in most low
power devices. It steals the -ve voltage, from the incoming RX line, and
uses this to drive the TX. However even with this (or your solutions), you
should consider using a protocol at the PC end, which accepts 'break'
between packets, and resynchronises when the packet starts, and then have
your driver switch off when not actually sending. Otherwise, even with a
low power solution, a CR2032, will run down too fast.

Best Wishes



.



Relevant Pages

  • Re: Simple 555 PWM - disappointing performance
    ... Further since you are now switching voltage across the motor, ... The diode is placed to ensure the motor current has somewhere to commutate to when the switch turns off. ... for a pnp switch, the pnp collector goes to the motor and the cathode of the ... Connecting the emitter to the motor places the pnp transistor in a ...
    (sci.electronics.design)
  • Analysis of KVM Switch Problems
    ... The mouse and keyboard each send digital messages to the ... sent by changing the voltage on the wires back and forth between ... the KVM switch must maintain the ... In this case, the clock signals would ...
    (alt.os.linux.suse)
  • Re: CFL flickers - when switch is off. . .
    ... circuit in my stairway that pulses very weak light, from near the base of the discharge tube, about every second, when the switch is in the "off" position. ... And that probably uses a very small neon bulb. ... voltage across the empty socket would give the full 110 volts. ... The likely cause was a "plug and wire change" last year which was shortly followed by the engine running very rough rough because the stationary electrode fell right off the plug in that same cylinder. ...
    (alt.home.repair)
  • Re: using mosfets as rectifiers?
    ... >>drive the gate with a lower voltage. ... can use a partially conducting mosfet. ... I am however going to use a mosfet to switch my load, ...
    (sci.electronics.design)
  • Re: using mosfets as rectifiers?
    ... >>drive the gate with a lower voltage. ... can use a partially conducting mosfet. ... I am however going to use a mosfet to switch my load, ...
    (sci.electronics.repair)