I have a pager connected to a vibration sensor and when the pager vibrates the sensor will close sending a + 5v to pin 2 which should trigger the a comm event on the serial port which will start a VB program to make a phone call.
will the +5v cause the com event to trigger, is it safe to apply +5V to pin 2 in the first place.
any ideas on this would be of great help
RS232 port is designed for +/-25V.
Range +3..25V is considered '0' and -3...25V is considered '1'.
applying +5V would be considered zero.
VB can detect com events such as character received etc.
I don't think using data lines (pins 2 and 3) is good idea.
Even if you would apply negative voltage such as -5V, you would
have to pulse it to simulate transfer of one character and trigger event
for VB. I would bring signal to one of hardware handshaking inputs
on the com port.