November 22, 2024, 02:25:34 AM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


Prop 2 Serial Interface Specs

Started by datbates, June 14, 2007, 10:14:16 PM

Previous topic - Next topic

datbates

Vixen control looks really cool, I will use it for sure, but I need to do a slightly different serial connection.  I understand that the Prop 2's standard serial port is RS232.  I would like to use TTL.  Can I do that without using a converter?  Do you have any specs on it's ability to handle noisy signals? 

Thanks!

JonnyMac

June 14, 2007, 11:43:50 PM #1 Last Edit: June 14, 2007, 11:45:22 PM by JonnyMac
You could, of course, use one of the Prop-2 I/O pins to receive the Vixen stream -- we're forced to do this on the Prop-1.  If you are somehow getting the Vixen stream to TTL levels the use it; just set your SERIN to the desired pin (I suggest P15) and polarity.  If your polarity is True (idle is high, start bit is low) then use move the P15 SETUP jumper to UP and use the True mode constants; like this:

T2400           CON     396
T9600           CON     84                      ' recommended baud rate

SevenBit        CON     $2000
Inverted        CON     $4000
Open            CON     $8000

Baud            CON     T9600


If your polarity gets inverted (idle state is low, start bit is high), you'll need to move the P15 SETUP jumper to DN and change the Baud constant to:

Baud            CON     Inverted | T9600

There is no error correction in the BASIC Stamp 2 (Prop-2 core) -- don't allow your serial data to become noisy.
Jon McPhalen
EFX-TEK Hollywood Office

datbates