Serial to Computer interface
christian_hahn13
Posts: 30
Hello,
I am in need of something a bit unusual.
What I need is a way to succesfully interface a PC and a BS2e Stamp module.
The tricky thing about his is that I want the PC to be the transmitter and the BS2e to be the recieving end.
Also, I am intending to output data through the serial COM and have it be perfectly understood by the Stamp Module.
I good thing I have discoverd is that both the PC and the Basic Stamp module use an asychronous signal (which mean there is only a signal and a ground not a clock wire).
Any wise ideas or solutions about this dilema would be gratefully appreciated.\
Thank you very much!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (christian_hahn13) : 8/11/2005 6:47:37 PM GMT
I am in need of something a bit unusual.
What I need is a way to succesfully interface a PC and a BS2e Stamp module.
The tricky thing about his is that I want the PC to be the transmitter and the BS2e to be the recieving end.
Also, I am intending to output data through the serial COM and have it be perfectly understood by the Stamp Module.
I good thing I have discoverd is that both the PC and the Basic Stamp module use an asychronous signal (which mean there is only a signal and a ground not a clock wire).
Any wise ideas or solutions about this dilema would be gratefully appreciated.\
Thank you very much!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (christian_hahn13) : 8/11/2005 6:47:37 PM GMT
Comments
Can you be more specific on what you are doing? You can use serial communication either direction with a stamp (with certain limitations)-
Read the docs on SERIN~
Ryan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ryan Clarke
Parallax Tech Support
rclarke@parallax.com
Also, the serin documentation mentions nothing about an interface where the reciever is a stamp and the sender is a Pc.
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (christian_hahn13) : 8/8/2005 12:59:14 AM GMT
·· The BASIC Stamp can monitor the programming port using SERIN 16, however, it does matter how fast the data will be coming in (How often) and what else the Stamp Module will be doing.· Can you be more specific?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
When the PC will be involved it's important to use flow-control so that the BASIC Stamp can be ready (sitting on SERIN)·before any data is sent.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I only have one last question:
In the serin documentation it mentions the choice of using a line driver to boost the signal.
Would that be necessary for me?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Here's the thing ... serial ports seem to be very finicky anymore and aren't as easy to deal with as back in the "old days." The MAX232 circuit isn't expensive, and will probably save you a lot of trouble.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Thanks for all the help!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
?Thanks?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
But, I am still gonna be able to do the same in whatever other computer language. Correct?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Specifically, when you mentioned Python because that is exactly the one that I am using.l
Thanks!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Good Luck!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
-Christian Hahn
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔