Shop OBEX P1 Docs P2 Docs Learn Events
Controlling serial devices...quick help needed! — Parallax Forums

Controlling serial devices...quick help needed!

VeeateVeeate Posts: 7
edited 2008-03-21 18:59 in BASIC Stamp
I'm trying to control a pair of projectors with a single stamp and was wondering if it is possible to just use the same three pins split between the two projectors.
Or do I need to send out two sets of the serial command, one to each?

Also, it is possible to send serial commands via any of the input/output pins on the stamp right?

These may be rudimentary questions, but I'm operating on very little sleep and have been struggling with other more complicated things.
Any help would be GREATLY appreciated!!!
Thanks!
Jason

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-03-21 18:51
    1) It is possible to use any of the I/O pins for serial commands (SERIN / SEROUT). The commands have a place for the pin number you want to use.

    2) You'll have to describe how the projectors work. Since you're asking about serial commands, I assume the projectors expect serial information. Sometimes you can send the same information to two serial inputs just by connecting them together. Sometimes that won't work ... for various reasons ... it depends on the devices. Assuming the projectors also send information back to the controller, you won't be able to connect the projectors' serial outputs together without possibly damaging them. Generally you will need some kind of external logic to select between the two projectors.

    3) It would be easiest to just use a different set of I/O pins for each projector.
  • VeeateVeeate Posts: 7
    edited 2008-03-21 18:59
    I see - this is just the response I needed.
    The projectors would both send a confirmation back in this case, so connecting them is not an option.
    Thanks for you clarity (something I am greatly lacking right now).

    Jason
Sign In or Register to comment.