Visual Basic & bluetooth & BasicStamp
thelay
Posts: 1
Hi,
I would llike to get help.
My project scenrio is as follows.
My CMUcam is connected to basicstamp and eb500. My PC is connected to bluetooth adaptor.
I would like to write a GUI from that i can send the data to CMU via bluetooth adaptor. From that bluetooth adaptor to eb500 and eb500 to basicstamp and basicstamp to CMU cam.
Can you suggest me what language should i use and some examples for that.
If i want to use visual basic .net. how can i find the examples?
I need urgent.
thanks.
with regards,·
I would llike to get help.
My project scenrio is as follows.
My CMUcam is connected to basicstamp and eb500. My PC is connected to bluetooth adaptor.
I would like to write a GUI from that i can send the data to CMU via bluetooth adaptor. From that bluetooth adaptor to eb500 and eb500 to basicstamp and basicstamp to CMU cam.
Can you suggest me what language should i use and some examples for that.
If i want to use visual basic .net. how can i find the examples?
I need urgent.
thanks.
with regards,·
Comments
in VB its easiest to add the MSCOMM control (to handle the serial comms) to your form
then set it up in the code with comething like this
you should always terminate the com when unloadiung the form (below)
when the CMU sends data to you is is received by the oncomm event and dumped into a var ive called sdata
this will send the contents of a variable (perhaps from a textbox) called 'cache' out to the CMU
the syntax of commands to address the CMU via serial are located in the manual at www.cs.cmu.edu/~cmucam2/CMUcam2_manual.pdf
but to begin with try sending the command GV short for get version. the CMU should reply with something like CMU CAM v1.....