November 21, 2024, 04:05:00 PM

News:

You can now use Vixen to program your Prop-1 and Prop-2 controllers!  Get started quickly and easily, without having to learn PBASIC.  Details in the Library forum.


Triggering 1 Prop1 from another Prop1

Started by ChrisBartram, June 22, 2007, 01:07:08 PM

Previous topic - Next topic

ChrisBartram

I'm working on a set of inter-related props that will each be PROP1 controlled. Each will be 12V powered, and the two props will be ~20 feet apart. I'll have at least one OUT port available on each and will have the power set on both to pass 12V power to the outputs since I will be triggering valves on each.

What are my best options for triggering the 2nd PROP1 from the 1st PROP1?

FWIW the 1st PROP1 will start the sequence when triggered by a PIR. At some point in it's sequence (not at the very beginning) I want to tell the 2nd PROP to start it's sequence. Timing is important (though not microsecond resolution).

Thanks!

JonnyMac

You can use the free pin on the "master" to trigger the "slave" through its free pin.  Assuming the pin is P7 on each you could do something as simple as:

Slave_Start:
  HIGH 7
  PAUSE 25
  INPUT 7


And on the slave side:

Main:
  IF PIN7 = 0 THEN Main


Connect the P7 headers together -- you'll need P7.W and P7.B (you need a common ground for this to work, DO NOT connect the R pins together).  On the master side remove the P7 setup jumper; on the slave side put the P7 SETUP jumper in the DN position.

Note: I always suggest that you name your pins with the SYMBOL directive -- the point of this post is to illustrate a process.

Jon McPhalen
EFX-TEK Hollywood Office

ChrisBartram