Read ascii from rs 232
Greg
Posts: 5
Hi everyone
I am quite a novice with stamps and I need your quidance...
I would like my stamp to read ASCII or binary characters from a device that has an rs232 port...
how can I do it??
I am quite a novice with stamps and I need your quidance...
I would like my stamp to read ASCII or binary characters from a device that has an rs232 port...
how can I do it??
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Thank you for your reply...
The maker of the device said:
The unit can be easily configured for communication in an ASCII or Binary protocol. A selectable
baud rate can be set from 600 baud to 76.8k baud with hardware RTS and CTS handshaking. The
ASCII implementation is easy to use and debug with standard programming tools while the Binary
version is a more efficient for method for transferring information between the two systems.
They told me it uses ‘transition-based broadcasting’.
Enabling the Transitions (2 segments)
Programming the Command / Request Enables (4 segments)
Although I have a good knowledge of automatic control I cannot say that I make any sence of the above...
Can I use such information with my BS to make a simple controller?? and If yes can you suggest me a way??
Thank u in advance
Here's a link to that product: http://www.parallax.com/detail.asp?product_id=29120
You might want to download and have a look at the docs -- a schematic is included in the event you want to "roll your own."
As far as the information you have, I think the term "transition based braodcasting" means that when something changes it sends a message -- this is why it's important to use flow control; you want to make sure the BASIC Stamp is ready to receive a message before your device sends it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I 'll do some studying and I'll get back if I have more questions..