Shop OBEX P1 Docs P2 Docs Learn Events
BoE Board with Bluetooth Serial Adapter — Parallax Forums

BoE Board with Bluetooth Serial Adapter

lastwordlastword Posts: 1
edited 2008-02-25 14:51 in BASIC Stamp
I connected ping and compass sensor to the BoE board(from parallax)·with Bluetooth adapter EB-500 from A7 ENG. Then, I programmed basicstamp to send two sensor datas to the hyperterminal in my laptop via bluetooth connection. It takes too long and random time for the datas to be shown in the hyperterminal. I am doing this for my project at school and I really want to know why there is always a random delay when sending the sensor datas via bluetooth to the hyperterminal.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-02-25 14:51
    It is impossible to tell you specifically why there are what seem to be random delays without a lot more information, particularly a listing of your program, but some general information that might apply:

    1) The amount of time that the PING takes to respond to the Stamp varies depending on the closest object detected.

    2) The Bluetooth adapter buffers the data, then sends it as a packet. There is a timeout involved so that, if the data has been sitting in the buffer for the specified period of time, it is sent anyway, even if the packet is short. I think the timeout is configurable through a command sent by the Stamp. Check the EB-500 documentation.
Sign In or Register to comment.