Which basic stamp will support a baud rate of 57600bps
SOUVIK SEN
Posts: 1
I have a Tagsense ZR USB active rfid reader and ZT 50 active tag and i want to interface both of them to two basic stamps separately.But i am facing the following problems:
- The reader sends out serial data at a baud rate of 57600 bps ,no parity,1 stop bit,no Flow Control.Now i don't know which Basic stamp module to use.
- In the manual of the tag it is written that pin 0 on it is TTL RS232 output to an external microcontroller.In the BASIC STAMP manual it is written that TTL level output can be connected directly to one of the general purpose I/O but RS 232 output have to be connected via a series 22 k resistor.Now I am getting confused how to connect it to the BASIC STAMP ie, whether to directly give the output of pin 0 to the BASIC STAMP or connect a 22 k resistor in series with it (as it is mentioned the output is TTL RS232).
Comments
The BS2p can send and receive 57600 bits per second with a baudmode setting of $17. The Stamp might have a problem receiving though if the tag reader reader does in fact send a packet with only one stop bit. The Stamp can keep up fine if there is a little extra pacing between the individual bytes, however, it will start missing bytes if they really come one right after another with exactly one stop bit. For that reason it is more likely to work with the BS2px (baudmode=$31). No problem at all with a Propeller.
For the hardware, you should be able to connect the tag directly to the Stamp input, however, I'd still put in a 1kΩ resistor for assurance. RS232 levels from the old days are at higher level both positive and negative. When they say TTL level RS232, they usually mean 0 to 5 volt levels but using the same serial byte encoding as RS232.