Shop OBEX P1 Docs P2 Docs Learn Events
Pink communication problems with BS2e — Parallax Forums

Pink communication problems with BS2e

foodgodfoodgod Posts: 13
edited 2008-08-27 17:02 in BASIC Stamp
I was hoping I could get help regarding a communication problem I'm having with a BS2e and pink. I'm trying to read set web variables on Pink (*see table below) but the readings I'm getting do not correspond to the values I've placed in the variable containers unless 7,8 and 9 mean 0, 2 and 128, respectively, in some format I'm unfamiliar with. I've also notice that when I recompile the program the values I'm reading in the Debug terminal change; and not to the values I should be seeing. I'm using the PINKReadVariable.bse program and have not modified it. The baud rate of the serial port has been set at 2400 as is the setting in the program. I've attached a gif image of a telnet session which looks nothing like the data being displayed in the tutorial. I changed TX(15) and RX(14) pins on the stamp to TX(13) and RX(12) and accordingly with the program variable descriptions but the results remain the same. My thinking here was that there might be a problem with the pins. I' beginning to believe it is a program formatting error but how would that be rectified? Anyway, if anyone has an idea as to what I'm doing incorrectly it would be greatly appreciated. Thanks!




Variable name Current Value Description Update RAM Update Flash
Nb_var00= [noparse][[/noparse]03] Web variable 00 Modify Set Default Value
Nb_var01= [noparse][[/noparse]7] Web variable 01 Modify Set Default Value
Nb_var02= [noparse][[/noparse]8] Web variable 02 Modify Set Default Value
Nb_var03= [noparse][[/noparse]9] Web variable 03 Modify Set Default Value
655 x 576 - 23K

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-08-27 03:46
    How long did the device work before you started having the problems? Are you or were you able to run the test code?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • foodgodfoodgod Posts: 13
    edited 2008-08-27 05:55
    Chris,

    Thanks for answering my post. As far as the time is concerned , I would say instantaneously. I've yet to run a test program successfully. I've tried writing and reading variables from the Pink as well as capturing the IP address and the results were the same, failure! As I watched the telnet session of each program communication, their output was similar to the output of PINKReadVariable.bse program. With the output of the IP capture program the Debug terminal only displayed " IP address:" with no IP address appended.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-08-27 15:47
    It occurs to me that you mentioned setting the baud rate correctly in the program, but how did you set it on the PINK Module? It should have been set from the web configuration page, not from the IPSETUP program. Is this correct and have you verified the changes remain in the web interface?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • foodgodfoodgod Posts: 13
    edited 2008-08-27 15:54
    I set the baud rate to 2400 on the web configuration page and the change did remain in the interface.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-08-27 17:02
    The fact that you’re getting a response at all baffles me given the fact you don’t seem to have communication. In that sense the PINK Module should not be responding at all. You can contact our Tech Support Dept. and obtain an RMA to have the unit sent in for testing. We can determine what is going on from there. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.