pySerial: write in a blocking mode

Alejandro alejandro.weinstein at gmail.com
Wed Mar 29 09:49:06 EST 2006


Peter Hansen wrote:
>  Alejandro wrote:
>  >
>  > Yes. The device is very simple (I made it).
>
> Perhaps a very simple change to it would make it as convenient as the
> commercial products.  I vaguely recall (not having checked for over a
> decade) that all they do is set the outgoing DTR line whenever there is
> data being transmitted by the PC, by using something like a 555 timer
> with a very short delay (effectively watching the start bit and any zero
> bits that are transmitted).  There are probably even example circuits
> based on this or better approaches available on the net.

You are right. For instance, the 485COSR converter, from B&B
electronics, does precisely that. The schematic is in the datasheet
(http://tinyurl.com/ro6qy).

I will try this route.

Thanks for the help.




More information about the Python-list mailing list