Javelin Stamp code to communicate to Visual Basic program
Sabre3487
Posts: 16
I·want to simulate a hardware function through a display using VB6 and
a Javelin Stamp. The Javelin stamp used to use sensors to check and
see if screws were present in a design.
Instead of waiting to see if the sensors picked up the presence of a
screw, I wanted to simulate that with a visual display of the design
with screw placements. When I simulate a screw being there with the
stamp I want to then communicate to the VB program and light the
corresponding led.
Does anyone know of the proper javelin to pc communication to handle
this? Is this fairly easily accomplished?
I saw on the parallax website this: RS-232 DCE AppMod
·http://www.parallax.com/detail.asp?product_id=29120
·http://www.parallax.com/dl/docs/prod/appmod/Rs232.pdf
a Javelin Stamp. The Javelin stamp used to use sensors to check and
see if screws were present in a design.
Instead of waiting to see if the sensors picked up the presence of a
screw, I wanted to simulate that with a visual display of the design
with screw placements. When I simulate a screw being there with the
stamp I want to then communicate to the VB program and light the
corresponding led.
Does anyone know of the proper javelin to pc communication to handle
this? Is this fairly easily accomplished?
I saw on the parallax website this: RS-232 DCE AppMod
·http://www.parallax.com/detail.asp?product_id=29120
·http://www.parallax.com/dl/docs/prod/appmod/Rs232.pdf
Comments
If you have the javelin demoboard you don't need the rs232dce appmod kit because
the javelin demoboard has the sp237 level converter chip and db9 female connector
onboard. Checkout the javelin manual
http://www.parallax.com/javelin/downloads.asp
page 84-89 shows how to setup the javelin demoboard.
If you rewrite the basic stamp example from your 2nd reference
for the javelin you will have a working example of javelin to pc communication.
regards peter
with an appmod header, then you need the rs232dce appmod kit.
To see both javelin communication and the vb communication you
need two rs232 ports. This also implies you need·two pc com ports.
If you don't have these, you can consider to add an usb to serial adapter
to your pc. Parallax has these as well.
regards peter