boe-bot and bluetooth - barcode reader
hi my name is Yoon Oh who is currently attending to the Maryland Institute College of Art
·i bought the Boe-bot last year and i did some project with this model like avoiding the edge in
the black lined circle. and i am currently doing the project called "barcoding navigation" which is
first you make the barcode out of your name - with barcode generator program and print them
out. and scan that barcode with the USB barcode scanner then this information goes to the basic
stamp through the usb port in the computer and delievered to the EB500 which is bluetooth
module. once this bluetooth module got this information, it will send to the boebot through the pair
of EB500 and make this boe-bot move!··
i got this two bluetooth module connected and communicated, but i cannot send the data getting from the barcode reader to the other bluetooth module
i get the numbers from barcode scanner to the debug window but why i can't send the data to the other bluetooth module...
should i set up the variable that makes communicate two bluetooth module?
or is there any other specific command or word for working this??
·i bought the Boe-bot last year and i did some project with this model like avoiding the edge in
the black lined circle. and i am currently doing the project called "barcoding navigation" which is
first you make the barcode out of your name - with barcode generator program and print them
out. and scan that barcode with the USB barcode scanner then this information goes to the basic
stamp through the usb port in the computer and delievered to the EB500 which is bluetooth
module. once this bluetooth module got this information, it will send to the boebot through the pair
of EB500 and make this boe-bot move!··
i got this two bluetooth module connected and communicated, but i cannot send the data getting from the barcode reader to the other bluetooth module
i get the numbers from barcode scanner to the debug window but why i can't send the data to the other bluetooth module...
should i set up the variable that makes communicate two bluetooth module?
or is there any other specific command or word for working this??
Comments
·· You should attach your code so we can see what's going on with it.· It could be something in your code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
thanks
'{$PBASIC 2.5}
' {$PORT COM7}
temp VAR Word 'Loop counter
szData VAR Byte(20)
'Wait for the eb500 radio to be ready
PAUSE 1000
connect:
SEROUT 1,84,[noparse][[/noparse]"con 00:0C:84:00:0D:AB",CR]
SERIN 0,84,[noparse][[/noparse]WAIT("ACK",CR)]
'Either an Err #<CR> or a ">" will be received
DEBUG "connected"
IF IN5 = 0 THEN connect
send:
DO
DEBUG "which direction should i go? " ' Enter values in debug
DEBUGIN DEC temp ' Terminal
DEBUG "hello",CR
SEROUT 1, 84,[noparse][[/noparse]temp]
PAUSE 200
LOOP
' this is the code that i used for one board but it not getting the point to the /debug "hello"/
'it keep got freezing when it gets the data from debugin