using one stamp to modify data on another
Archiver
Posts: 46,084
I have a BS1 and a BS-2SX. Is there any way i can hook them together
so that one can modify data on the other? My BS1 will be monitoring a
pushbutton, and when it is pushed, I want it to increment a counter
on the BS-2SX.
Thanks
--Alex
so that one can modify data on the other? My BS1 will be monitoring a
pushbutton, and when it is pushed, I want it to increment a counter
on the BS-2SX.
Thanks
--Alex
Comments
>I have a BS1 and a BS-2SX. Is there any way i can hook them together
>so that one can modify data on the other? My BS1 will be monitoring a
>pushbutton, and when it is pushed, I want it to increment a counter
>on the BS-2SX.
>
>Thanks
>--Alex
Alex -
The all too obvious solution may be to use an external counter chip.
There are 4, 8, 16, and 32 bit counters readily available from many
chip manufacturers such as Fairchild, Philips, Hitachi and others.
Beyond 32 bits, the counters can generally be cascaded.
Hope that gives you one solution.
Bruce
from an external source -- nor would you want to, really, as there is
a lot of stuff going on you would interfere with if you did it at
a 'bad' time.
Having said that, it should be fairly simple to have a counter IN the
BS1, and have the BS2 ask it for the value, using periodic
SERIN/SEROUT commands. The BS2 would then update its own counter
with the value from the BS1.
You could also have an external EEPROM or SRAM that both could read
from and write to. The problem in all these scenarios is one
of 'synchronization'. You don't want the BS1 writing at exactly the
same time the BS2 is reading, since they use some of the same wires.
So somehow you must do something to insure the BS2 reads don't
interfere with the BS1 writes.
--- In basicstamps@yahoogroups.com, "atl_guy1138" <atl_guy1138@y...>
wrote:
> I have a BS1 and a BS-2SX. Is there any way i can hook them
together
> so that one can modify data on the other? My BS1 will be monitoring
a
> pushbutton, and when it is pushed, I want it to increment a counter
> on the BS-2SX.
>
> Thanks
> --Alex
ready.
Regards,
Al Williams
AWC
http://www.al-williams.com/pak7.htm
>
Original Message
> From: atl_guy1138 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=_v_ze8AvrbG7IEgNHYxNTW9U8oKDCSy6Txlvu8li55khfs4vOfm2zS5lMGmO2_ErceGwA1B_xxf-xQbZd4A]atl_guy1138@y...[/url
> Sent: Wednesday, June 04, 2003 3:41 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] using one stamp to modify data on another
>
>
> I have a BS1 and a BS-2SX. Is there any way i can hook them together
> so that one can modify data on the other? My BS1 will be monitoring a
> pushbutton, and when it is pushed, I want it to increment a counter
> on the BS-2SX.
>
> Thanks
> --Alex
>
>
>
> 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/
>
>
>