Re: Writing pins to the RS232

2005-12-31 Thread Michael Schneider
Jay, Couple of points that may help you. 1) A serial port does not have data ports 0-n. A serial port takes a byte (8 bits), then shifts them down a single pipe using a chip called a UART (feel free to google for unfamiliar terms). example Bit pattern 1010 1010 would be shifted one bit at a

Re: Writing pins to the RS232

2005-12-19 Thread [EMAIL PROTECTED]
For those looking, I've already used IC's that convert RS232 to TTL, look up MAX233. It drops 12 to 5, essentially converting RS232 to TTL and vice versa. PyParallel is definitely the way I'll go, however, this project will be on hold for me for my priorities have been shifted. Thanks again for

Re: Writing pins to the RS232

2005-11-29 Thread Nick Craig-Wood
Richard Brodie [EMAIL PROTECTED] wrote: If you just need one or two signals, then it might be practical to use one of the control lines, and PySerial supports this (UPS monitoring software often works this way). I've done this many times (not with PySerial) for misc sensors. With PySerial

Re: Writing pins to the RS232

2005-11-28 Thread Richard Brodie
Roy Smith [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: While I realize this is more on a driver/hardware level it's interesting that it's so difficult to use a different protocol for an existing driver. For example, all serial does is

Re: Writing pins to the RS232

2005-11-28 Thread Peter Hansen
Richard Brodie wrote: If you just need one or two signals, then it might be practical to use one of the control lines, and PySerial supports this (UPS monitoring software often works this way). Setting 8 pins to 1 would be impossible, because there plain won't be that number of outputs wired,

Re: Writing pins to the RS232

2005-11-28 Thread Ian Vincent
Peter Hansen [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: All true, but then Jay might get into electrical compatibility issues, and may not realize that the output levels of RS-232 serial hardware are not simply 0 and 5V levels, but rather +9V (or so) and -9V (and with variations

Re: Writing pins to the RS232

2005-11-28 Thread Philippe C. Martin
Hi, Some of it should be doable on windows: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecoreos5/html/wce50lrfescapecommfunction.asp Yet this might require a new wrapper module for I am not sure what the current interface lets you do. Not sure about Linux. Regards;

Re: Writing pins to the RS232

2005-11-27 Thread [EMAIL PROTECTED]
First of all I'd like to thank all of you for your input. It's nice to have a place to throw ideas around and get some feedback. I think the reason the serial source code I'm using is using javax.comm stuff which is possibly part of Jython is because I'm on Mac OS X. However this is just my

Re: Writing pins to the RS232

2005-11-27 Thread Roy Smith
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: While I realize this is more on a driver/hardware level it's interesting that it's so difficult to use a different protocol for an existing driver. For example, all serial does is a series of high and low voltages on specific pins. Why should it be

Re: Writing pins to the RS232

2005-11-27 Thread [EMAIL PROTECTED]
ahhh I understand now -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing pins to the RS232

2005-11-26 Thread Paul Watson
[EMAIL PROTECTED] wrote: I want to write to the pins of an RS232 without using the serial protocol. The use would be every pin could act to complete a circuit in customized hardware. I could use python to communicate serially to a BASIC stamp or a Javelin stamp and then use the stamp to set

Writing pins to the RS232

2005-11-25 Thread [EMAIL PROTECTED]
I want to write to the pins of an RS232 without using the serial protocol. The use would be every pin could act to complete a circuit in customized hardware. I could use python to communicate serially to a BASIC stamp or a Javelin stamp and then use the stamp to set however many pins as 0's or

Re: Writing pins to the RS232

2005-11-25 Thread Roy Smith
In article [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to write to the pins of an RS232 without using the serial protocol. The use would be every pin could act to complete a circuit in customized hardware. I could use python to communicate serially to a BASIC stamp

Re: Writing pins to the RS232

2005-11-25 Thread Peter Hansen
[EMAIL PROTECTED] wrote: I want to write to the pins of an RS232 without using the serial protocol. The use would be every pin could act to complete a circuit in customized hardware. I could use python to communicate serially to a BASIC stamp or a Javelin stamp and then use the stamp to set