Sin and Sout
EmilyP
Posts: 21
Sin and Sout are the programmable rs232 serial pins for the basic stamp. Recently, I bought an easy/no fuss, rs232 shifter. http://www.sparkfun.com/commerce/product_info.php?products_id=449 It takes any signal from your com port, makes it a safe voltage and interfaces it to most microcontrollers. I tried connecting this rs232 shifter to Sin and Sout but had no luck.
connections:
tx ---> sin
rx ---> sout
I am hoping to use the rs232 shifter to program my basic stamp. If anyone knows about Sin ans Sout's protocals that would also be nice.
connections:
tx ---> sin
rx ---> sout
I am hoping to use the rs232 shifter to program my basic stamp. If anyone knows about Sin ans Sout's protocals that would also be nice.
Comments
What is the RS-232 source? If it is a standard PC Com port, no extra
hardware is needed.
Can you attach a rough schematic of the circuit you are using?
phil
I am using this component because I am making a circuit which relays info to my client via bluetooth. This component is there just in case the bluetooth fails. However, I am also interested to know if I can also use this component to program stamps (which is probably unlikely without a redesign of the stamp's architecture). Also I didn't attach a circuit because my circuit is just stamp + component. Thanks everyone. Much appreciated as always. [noparse]:)[/noparse]
The Sin/Sout/Attn wiring can be used for data as well as programming. The DEBUG and DEBUGIN statements will use that serial port and the SEROUT and SERIN statements will also work there if you use pin # 16 (see the Manual for details).
You can use your RS232 adapter with any pair of I/O pins (0-15) using SEROUT and SERIN.