Wireless data transmission
ErikdS
Posts: 37
Hi,
an old tread by 'Damian' back in november 2005 was about using a basic stamp BS2p to send data through the transmitter Praat Hobbies uses in its cansat kit. I'd like to do the same for a regilar BS2, but wiring is unclear to me: is the BS2 sending over pin 2, pin or pin 15?
Also, can I choose a higher baudrate than 1200bps? How do I know which baudrate argument to use?
Kind regards,
Erik
an old tread by 'Damian' back in november 2005 was about using a basic stamp BS2p to send data through the transmitter Praat Hobbies uses in its cansat kit. I'd like to do the same for a regilar BS2, but wiring is unclear to me: is the BS2 sending over pin 2, pin or pin 15?
Also, can I choose a higher baudrate than 1200bps? How do I know which baudrate argument to use?
Kind regards,
Erik
Comments
As for a higher speed, if the transmitter can accept data at a higher speed, the Stamp can be set to accomodate it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
Looking over the documentation I see that they're using pin 15 from the Stamp as the connection to the transmitter:
serout P15,i1200,[noparse][[/noparse]“S”,“this is a test”,13]
It also looks like they're using a Basic Atom processor, which is different from the Stamp modules Parallax sells and supports. The syntax for the language is a little different from Stamp Basic. Perhaps you could give a link to the thread you mentioned? That'd help us to understand how this works with a Stamp.
The good news is that if you can come up with the right information, this should be pretty straightforward. I imagine you'll be up and running quickly.
the tread is:
http://forums.parallax.com/forums/pr.aspx?f=6&m=97955
Kind regards
I would not assume that you could simply transmit at a higher rate. The transmitter may have a device on it that expects data coming in at 1200 baud, and if so, unless you can reprogram the device some how (good luck with that...), you're stuck at 1200. The fact that it seems to interpret commands (like the "S" at the start of the data) strongly suggests that there is some kind of processing on the transmitter side. You could try a faster speed - all that will happen if it's wrong is that you won't be able to transmit. I'd bet it won't work. You change the baudrate by changing that "17197" to a different number, as specified in the Help file for the SEROUT command, in the PBASIC programming environment.