Subject
- Posted on
December 4, 2006, 9:28 pm
Hi, I am currently doing a school project which involve the use of an
eb500, sound module and BASIC stamp II attached to a BOE.
We are using it to communicate with the handphone. Initially,the phone
could detect the eb500 and the eb500 LED light up.
However, after we connected the sound module, the eb500 could not
detect the phone.We suspect something is wrong with the eb500 but we
can't conclude that. Below is our program:
This program demonstrates how to get the address of the eb500 serial
' Bluetooth module.
'
' Instructions
' ============
' 1. Verify that the eb500 module is connected properly to the AppMod
' header of the developent board.
' 2. Modify the connection logic to use the correct Bluetooth Address.
' 3. Compile and run this program.
'
'
**************************************************************************
'{$STAMP BS2}
'Wait for the eb500 radio to be ready
PAUSE 1000
'Connect to the remote device
SEROUT 1,84,["con 00:0C:84:00:05:29",CR]
SERIN 0,84,[WAIT("ACK",CR)]
'Wait for the connection to be established and switch to data mode
WaitForConnection:
IF IN5 = 0 THEN WaitForConnection
HIGH 6
PAUSE 300
'Wait for 20 seconds
PAUSE 20000
'Switch to Command Mode
LOW 6
SERIN 0,84,[WAIT(CR,">")]
'Disconnect from the remote device
SEROUT 1,84,["dis",CR]
SERIN 0,84,[WAIT(CR,">")]
May I know what may be the possible causes for failure? A million
thanks!!
Best regards,
Elizabeth
eb500, sound module and BASIC stamp II attached to a BOE.
We are using it to communicate with the handphone. Initially,the phone
could detect the eb500 and the eb500 LED light up.
However, after we connected the sound module, the eb500 could not
detect the phone.We suspect something is wrong with the eb500 but we
can't conclude that. Below is our program:
This program demonstrates how to get the address of the eb500 serial
' Bluetooth module.
'
' Instructions
' ============
' 1. Verify that the eb500 module is connected properly to the AppMod
' header of the developent board.
' 2. Modify the connection logic to use the correct Bluetooth Address.
' 3. Compile and run this program.
'
'
**************************************************************************
'{$STAMP BS2}
'Wait for the eb500 radio to be ready
PAUSE 1000
'Connect to the remote device
SEROUT 1,84,["con 00:0C:84:00:05:29",CR]
SERIN 0,84,[WAIT("ACK",CR)]
'Wait for the connection to be established and switch to data mode
WaitForConnection:
IF IN5 = 0 THEN WaitForConnection
HIGH 6
PAUSE 300
'Wait for 20 seconds
PAUSE 20000
'Switch to Command Mode
LOW 6
SERIN 0,84,[WAIT(CR,">")]
'Disconnect from the remote device
SEROUT 1,84,["dis",CR]
SERIN 0,84,[WAIT(CR,">")]
May I know what may be the possible causes for failure? A million
thanks!!
Best regards,
Elizabeth
Re: Anyone know how to use BASIC stamp program, BOE or eb500?
I see you are not getting a response to your questions.
would suggest you try the stamp group at:
http://forums.parallax.com/forums/
I'm sure you will do a lot better there.
Don...
--
Don McKenzie
E-Mail Contact Page: http://www.dontronics.com/e-mail.html
Crystal clear, super bright OLED LCD (128x128) for your microcontroller.
Simple serial RX/TX interface. Many memory sizes.
http://www.dontronics-shop.com/product.php?productid 460
Site Timeline
- » about artificial vehicle
- — Next thread in » General Robotics Forum
-

- » Mars Exploration Rovers Update - December 4, 2006
- — Previous thread in » General Robotics Forum
-

- » evoMUSART 2013: First CFP (with correct dates)
- — Newest thread in » General Robotics Forum
-

- » Bending 1/8 inch thick 7075-T6 aluminum
- — The site's Newest Thread. Posted in » General Metalworking
-

- » Rysunek techniczny-pytania
- — The site's Last Updated Thread. Posted in » Engineering Science (Polish)
-




