detecting high/low signals from different stamp
Matthew
Posts: 200
Say I had two stamps, "stamp a" and "stamp b"
On "stamp a", I make P1 an input, and P2 an output, and P3 an input
On "stamp b", I make P9 an output
If P2 on "stamp a" is connected to P1 on "stamp a", then P1 can detect high and low signals from P2.
But can P3 on "stamp a" detect high and low signals from P9 on "stamp b" if the two were connected?
·
On "stamp a", I make P1 an input, and P2 an output, and P3 an input
On "stamp b", I make P9 an output
If P2 on "stamp a" is connected to P1 on "stamp a", then P1 can detect high and low signals from P2.
But can P3 on "stamp a" detect high and low signals from P9 on "stamp b" if the two were connected?
·
Comments
Stamp A
[noparse][[/noparse]470 ohm]
Stamp B
That way, if one pin is made an output high and the other an output low (an accident through a programming mistake), the 470 ohm resistor will protect the BASIC Stamp modules.
On your programming logic ... there is no need for P1 on Stamp A to detect what P2 is doing -- it's on the same module.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office