Two boards together?
Archiver
Posts: 46,084
> Group,
>
> I have the board of education with the BSX. I also have to SX Tech
> board. I have different applications for both. (I am running a moble
robot)
> What I would like to do is get them to correspond with each other. (ie.
hook
> up sensors with the Stamp, and the servos to the SX chip) Is this
possible?
> If any one can give me any help on this, I would sure appreciate it.
>
> Alex Burke
> W.F. Illinois
hmm, i don't know if i am correct, but if I were you, I would look into the
serin/serout command a little more. I bet that if you say make bsx serout
pin,baud,[noparse][[/noparse]data] then say you had a right side ir sensor so then you know you
need to send serout to the sx sending data for 'RIGHT' then in the sx
programming you have a loop going to control your servos but also has a
watch for serial data... does that make sense?... I am not an expert and
have not had to connect two together yet, but in theory that should work?...
you might need to set a loop around the serout command say 10 times just so
if the sx is not in the right spot in the programming due to processing
limitations then it would have ten chances to see that command.... maybe
even have a recieved signal send back so it could exit the loop early if it
was received.?
anyways that all I can think of without looking into the documentation.
-Tyson Stephen
tysonstephen@h...
>
> I have the board of education with the BSX. I also have to SX Tech
> board. I have different applications for both. (I am running a moble
robot)
> What I would like to do is get them to correspond with each other. (ie.
hook
> up sensors with the Stamp, and the servos to the SX chip) Is this
possible?
> If any one can give me any help on this, I would sure appreciate it.
>
> Alex Burke
> W.F. Illinois
hmm, i don't know if i am correct, but if I were you, I would look into the
serin/serout command a little more. I bet that if you say make bsx serout
pin,baud,[noparse][[/noparse]data] then say you had a right side ir sensor so then you know you
need to send serout to the sx sending data for 'RIGHT' then in the sx
programming you have a loop going to control your servos but also has a
watch for serial data... does that make sense?... I am not an expert and
have not had to connect two together yet, but in theory that should work?...
you might need to set a loop around the serout command say 10 times just so
if the sx is not in the right spot in the programming due to processing
limitations then it would have ten chances to see that command.... maybe
even have a recieved signal send back so it could exit the loop early if it
was received.?
anyways that all I can think of without looking into the documentation.
-Tyson Stephen
tysonstephen@h...
Comments
I have the board of education with the BSX. I also have to SX Tech
board. I have different applications for both. (I am running a moble robot)
What I would like to do is get them to correspond with each other. (ie. hook
up sensors with the Stamp, and the servos to the SX chip) Is this possible?
If any one can give me any help on this, I would sure appreciate it.
Alex Burke
W.F. Illinois
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
you should be able to connect them together with serout and serin.
Alternately, depending on how many inputs and outputs you are using, you may
be able to fashion a crude serial transmission. I would go with the serin
and serout commands if possible, but I've never used those commands so I
don't know how flexible they are.