Serializing Sensors with a bs2sx stamp
Archiver
Posts: 46,084
Does anyone know of a device that will allow you to combine many
sensors to communicate on one I/O Port of a BS2SX Stamp? The device
would have to do this while still allowing the stamp to know which
sensor is triggered. I don't have enough I/O ports to put on all
the sensors that I want. Thanks.
Sam
sensors to communicate on one I/O Port of a BS2SX Stamp? The device
would have to do this while still allowing the stamp to know which
sensor is triggered. I don't have enough I/O ports to put on all
the sensors that I want. Thanks.
Sam
Comments
possible CS features using a demux IC (3 to 4 ports) to select up to 16
sensors. A lot depends on the sensor you are trying to use and what
requirements it needs. Also the One Wire devices are able to be placed on a
bus and activated by a match rom command to talk to each sensor separately.
Again what is your application and number of sensors and sensor types you
want to use.
Original Message
From: "Sambo_Commando" <sambo_commando@y...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, October 15, 2003 7:35 PM
Subject: [noparse][[/noparse]basicstamps] Serializing Sensors with a bs2sx stamp
> Does anyone know of a device that will allow you to combine many
> sensors to communicate on one I/O Port of a BS2SX Stamp? The device
> would have to do this while still allowing the stamp to know which
> sensor is triggered. I don't have enough I/O ports to put on all
> the sensors that I want. Thanks.
>
> Sam
>
>
>
> 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/
>
>
sambo_commando@y... writes:
Does anyone know of a device that will allow you to combine many
sensors to communicate on one I/O Port of a BS2SX Stamp? The device
would have to do this while still allowing the stamp to know which
sensor is triggered. I don't have enough I/O ports to put on all
the sensors that I want. Thanks.
Sam
++++++++++++++++++++++++++++++++++++++++++
Sam,
If the timing of the additional input signals is not SUPER critical, you can
use a serial shift register. Using jus a few stamp lines (3 I think) you can
expand to 8, 16, 24, 32 ........additional inputs. The Parallax web sight has
the schematic and code example.
Ken
[noparse][[/noparse]Non-text portions of this message have been removed]