VB6 to control BS2 with PC
Archiver
Posts: 46,084
I want to be able to control motors and sensors connected to a BS2 with VB6. I want to do it without using BS2 pins and just the ones that are used to program the BS2, through the 9 pin serial adapter on the board. I read a page that showed how to control a BS2 with VB6 wirelessly but had used pins for the wireless device. Any examples or links are appreciated.
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
[noparse][[/noparse]Non-text portions of this message have been removed]
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
[noparse][[/noparse]Non-text portions of this message have been removed]
Comments
AlDemo\BS2_VBDemo.zip
This is a small but complete example and tutorial
on using VB6 Pro with the Bs2.
--- In basicstamps@yahoogroups.com, Kyle Cooper <crazykurby@y...>
wrote:
> I want to be able to control motors and sensors connected to a BS2
with VB6. I want to do it without using BS2 pins and just the ones
that are used to program the BS2, through the 9 pin serial adapter on
the board. I read a page that showed how to control a BS2 with VB6
wirelessly but had used pins for the wireless device. Any examples or
links are appreciated.
>
>
>
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
understand: 1) You cannot do flow control without additional pins --
this may be an issue, and 2) the programming port echoes every character
sent to it, so you're VB program will have to filter anything it sends
from its receive buffer.
This article may help:
http://www.parallax.com/dl/docs/cols/nv/vol1/col/nv41.pdf
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Kyle Cooper [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=0VriDnBLdABIKTNQ1l2zgcBQJRzmvLwHXOSIUV8kfBiLNWry4TtXrOwk0POnSmgVeXbtGAYlvSvDY_Pfzd4]crazykurby@y...[/url
Sent: Sunday, June 20, 2004 7:18 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] VB6 to control BS2 with PC
I want to be able to control motors and sensors connected to a BS2 with
VB6. I want to do it without using BS2 pins and just the ones that are
used to program the BS2, through the 9 pin serial adapter on the board.
I read a page that showed how to control a BS2 with VB6 wirelessly but
had used pins for the wireless device. Any examples or links are
appreciated.
different variables to the Stamp from VB6. I am using the Motor
Mind B, which I DO NOT recommend with VB6 because the highest baud
rate it can accept is 2400bps which sometimes makes the steering
jerky. I don't have the schematics up yet, but hopefully I will get
to them soon.
http://home.comcast.net/~a.przybilla/monster_truck.htm
have fun,
adam