Shop OBEX P1 Docs P2 Docs Learn Events
Eb500 Communication with HyperTerminal — Parallax Forums

Eb500 Communication with HyperTerminal

PhufPhuf Posts: 2
edited 2008-11-12 15:54 in Propeller 1
Hey, I have an eb500 Blue Tooth board that is connected to my Dell mini laptop via the "serial connection" blue tooth option. What I'd like to do is have the blue tooth board transmit the variable "range" (for the ping.spin demo) to the hyperterminal on my laptop (just one way communication). All attempts so far have failed and my team is frustrated to say the least. freaked.gif

It's not the connection that's the problem, it's the code:

serial_PC.init(0, 1, 9600) 'serial_PC.init(rxpin,txpin,9600)
serial_PC.str(string("Range"))
serial_PC.str(Num.toStr(range,Num#DDEC))

Can anyone tell me what's wrong? Greatly appreciate your help!

- Phil

Comments

  • Cluso99Cluso99 Posts: 18,069
    edited 2008-11-12 08:25
    If you are using the FullDuplexSerial you have an .init parameter missing which sets the mode (inverts) - see the object for instructions.
    Your conversion to string looks wrong but I am not a spin expert.
  • JonathanJonathan Posts: 1,023
    edited 2008-11-12 15:54
    Are you sending the correct connection string, with the address? Does the connection llight come on? Are you polling the connection pin? Have you played with setting the baud rate? If so, reset the baud to default, the instructions for that are in the maual.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Sign In or Register to comment.