03-20-2009 01:29 PM
03-23-2009 01:26 PM
Hello _jp_,
Check out this KB. This talks about using the serial port to output a constant signal with a small example and may be helpful in your application.
Does the device need to see this pulse on a specific line (Rx, Tx, DTR, etc.) on the serial port?
03-24-2009 04:57 AM
You also have to remember that the RS 232 output may swing from -12 volt to + 12 volt. So if interfacing to TTL type circuits you will need a level translator. Else you may might cause damage on your anemometer
03-25-2009 03:43 PM
"Hello _jp_,
Check out this KB. This talks about using the serial port to output a constant signal with a small example and may be helpful in your application.
Does the device need to see this pulse on a specific line (Rx, Tx, DTR, etc.) on the serial port?"
Yes the device needs to see the pulse on the Tx line, since that is the only output line connected to the device. (There is no pin connection for the DTR, DSR, RTS, CTS, and RI pins).
03-26-2009 10:49 AM
_jp_,
What device are you using? It seems strange that it would be triggered off of a low pulse of at least 10 usec on a serial line. If so, then almost any byte that you send will have a mark bit in the message (except for 0x00 which will have a mark stop bit that). 10 usec is rather fast for serial communication. For example, a generous baud rate of 9600 transmit each byte for 104 usec.
Here is an article on serial that shows an example serial frame.
If this is not what your device is looking for, post some more information on what type of signal it expects on what line.
Cheers
03-26-2009 03:01 PM
Pflores,
The device I'm using in an Applied Technologies Inc. Ultrasonic Anemometer. It requires a 9600 baud rate, 7 bit, 1 stop bit, even polarity, and "none" for flow control. All that has been properly configured using VISA Configure Serial Port. All the other information I mentioned earlier came directly from the Operator's Manual provided by the manufactorers. So from what I understand about the article, the device is expecting that signal.
03-26-2009 03:15 PM
03-27-2009 07:11 AM
Are you shure about the 10µs?
For me it sounds like a 10ms Break signal (at 9600 baud, it is worth a try) , when used with an ordinary rs232 cable.
Send a break and read back the value....
Another pitfall:
This seems to be an older device, and the old RS232 standard worked with higher voltages (+-12 (15?) Volt) , new(er) Computer provide only 9 to 5V levels , (recent PC none 😞 )
If that is the case, maybe you can harvest the needed potentials from the Anemometer RS232 output and use a transistor or a optocoupler to boost your PC signal....