Shop OBEX P1 Docs P2 Docs Learn Events
Sending commands between stamp''s (networking) — Parallax Forums

Sending commands between stamp''s (networking)

ArchiverArchiver Posts: 46,084
edited 2003-11-17 07:47 in General Discussion
i was wondering on how to network two basic stamp 2's together, my
project of the month is have two stamp 2's working together, one
would be gathering snesor input data from ADC's and the other would
be triggered and output a result from the other bs2....

the application is a fuel injection system on a two cylender
engine... both pistons on the crank shaft go up and down at same
time, but the timeing on the camshaft shows that the second piston is
180' degree's offset of the camshaft....

what i want to try to do is have the first basic stamp 2 perform the
sensor data from the thottle body postion, and the intake manfiold
presure useing the max 187 analog to digtial conveter...

the first basic stamp 2 would contiunlusly loop over and over
gathering data from the thottle postion and intake manifold presure..

the second basic stamp 2 would only work as a trigger, this stamp
would be triggered from the crank shaft and cam shaft postions. Once
triggered it would open the injectors , corresponding to there
locations, if both crank and cam shaft sensors were high, the stamp
would only trigger the first injector , if the camshaft was low and
crankshaft was high , the stamp would only open the second injector,
and keep looling....



And finaly hear is the question i ask, how would u communicate both
of the stamps with there variables, there is two variables in the
first stamp 2 that i want to send and receave on the over stamp 2...
but the second stamp will only run its main routine from which the
crank/cam sensors, are triggered and then run the rountine
to "receave" the variables from the first stamp 2's sensors, after it
would see the vaierables it would then do a lookup command from a
table of data for those vaules...

if anyone can help id apperiate it, i dont know if any this makes
sense , bottom line is i want to send a variable from one stamp to
another based on a request/trigger.
Sign In or Register to comment.