extended full duplex communication
avionikeren
Posts: 64
I want to recieve a string with the propeller and I guess the extended full duplex object would do the job.
But I can`t find out how to do it...
The string is sent from a visual basic program·with rs232. I can·of course change the delimiter,
but I have been using carriage return earlier when the program has communicated with a BS2PX.
I have also added a character in start and end of the string so I can check that the hole string has been recieved.
Is it possible to do the same with a propeller?
String example:
s
101
188
135
054
083
172
003
e
·
But I can`t find out how to do it...
The string is sent from a visual basic program·with rs232. I can·of course change the delimiter,
but I have been using carriage return earlier when the program has communicated with a BS2PX.
I have also added a character in start and end of the string so I can check that the hole string has been recieved.
Is it possible to do the same with a propeller?
String example:
s
101
188
135
054
083
172
003
e
·
Comments
Instead of delimited, your could simply accept each one at a time:
Not tested!!
-Martin
Yes I ment to change the delimiter on the pc side, but as long as this work with carriage return, it`s· perfect...
I have added a LED at pin 15 just to see that it runs. but it will only run when the "repeat while" line is removed.
I know that the "s" is transmitted from the computer, because a basic stamp recieves it with no trouble...
What could be wrong?
did you check that ALL parameters are correct:
baudrate, databits, stopbits, paritybits ?
did you receive the SAME but wrong characters every time?
if not
is only one method sending out data at the same time?
what is the hardware you are using ? (maybe Problem of voltage-levels, lack of or too small capacitors used with voltagelevelshifter
did you test on the propeller itself with a closed loop (Prop-TX-PIN directly connected to Prop-RX-PIN
and checking the data with TV-object or something like that?
regards
Stefan
I have·tried all settings on the hyper terminal, but none outputs the correct character.
I do not have the correct resistors to make the TV output.
PLAYING ARAOUND with the parameters does not lead to the target did you COMPARE every detail
of the parameters between propeller and terminalsoftware ?
ok we'll gonna make another small step
program a loop that starts at value 32 up to 255
send with command .tx(value) and post the result here
another thing is to try another terminalsoftware hyperterminal is quite not comfortable
here is a link for downloading another terminalsoftware
http://forums.parallax.com/forums/default.aspx?f=25&m=169419&p=1&ord=d
the problem was that I had to set the mode bit to 3, but I can`t see why?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot