monitoring several inputs at once
Archiver
Posts: 46,084
Hey guys,
I'm trying to monitor 5 inputs from a ming receiver and decoder.
This is how I want it to work--When a valid transmission occurs, the
receiver sends a high to pin 2 on the stamp to let it know that data
is coming. After this the next four bits of data are latched to pins
3, 4, 5, and 6 on the stamp. Can a stamp monitor these inputs at
once? If not, what can I do? The decoder sends the four bits (data)
out binary. If possible, I would prefer not to change it from binary
to serial. Thanks for any help.
Jon
I'm trying to monitor 5 inputs from a ming receiver and decoder.
This is how I want it to work--When a valid transmission occurs, the
receiver sends a high to pin 2 on the stamp to let it know that data
is coming. After this the next four bits of data are latched to pins
3, 4, 5, and 6 on the stamp. Can a stamp monitor these inputs at
once? If not, what can I do? The decoder sends the four bits (data)
out binary. If possible, I would prefer not to change it from binary
to serial. Thanks for any help.
Jon
Comments
Ben, Wellington, New Zealand.
--
http://www.lennard.net.nz/
Ben Lennard, NCEE, Dip EE
Web Hosting and Electronics R&D
Club Coordinator, Victoria University of Wellington Hockey Club
Hm: +64 4 972 7567
Mb: +64 21 536 627
87 Spencer Street
Crofton Downs
Wellington
New Zealand
"To the optimist, the glass is half full. To the pessimist, the glass is
half empty. To the engineer, the glass is twice as big as it needs to be."
No animals were harmed in the transmission of this email, although the
Dog next door is living on borrowed time, let me tell you! Those of you
with an overwhelming fear of the unknown will be gratified to learn that
there is no hidden message revealed by reading this warning backwards.
From: "jhtoolman2000" <jhtoolman2000@y...>
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] monitoring several inputs at once
Date: Wed, 6 Mar 2002 10:03 AM
Hey guys,
I'm trying to monitor 5 inputs from a ming receiver and decoder.
This is how I want it to work--When a valid transmission occurs, the
receiver sends a high to pin 2 on the stamp to let it know that data
is coming. After this the next four bits of data are latched to pins
3, 4, 5, and 6 on the stamp. Can a stamp monitor these inputs at
once? If not, what can I do? The decoder sends the four bits (data)
out binary. If possible, I would prefer not to change it from binary
to serial. Thanks for any help.
Jon
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
[noparse][[/noparse]Non-text portions of this message have been removed]
>Hey guys,
>I'm trying to monitor 5 inputs from a ming receiver and decoder.
>This is how I want it to work--When a valid transmission occurs, the
>receiver sends a high to pin 2 on the stamp to let it know that data
>is coming. After this the next four bits of data are latched to pins
>3, 4, 5, and 6 on the stamp. Can a stamp monitor these inputs at
>once? If not, what can I do? The decoder sends the four bits (data)
>out binary. If possible, I would prefer not to change it from binary
>to serial. Thanks for any help.
>Jon
Jon -
As I understand it, when VT goes high, the data is latched and available.
Once the transmission is validated by the decoder, it's only necessary to
fetch the four data bits. If you were to move the data input to Stamp ports
pins
4, 5, 6 and 7 it would be merely a matter of using something like this:
In_Data var NIB
In_Data = INB 'Grab 4 bits of data from ports 4-7
I hope that answers your question.
Regards,
Bruce Bates