ABaylog
03-07-2005, 07:07 AM
Please bear with me as I have no previous experience in the world of Stamps or 485 networking. I am working on designing and building a network to serve as an emergency alarm/alert system.·The system needs to be efficient and low cost since the project budget is·~$400.·Since the system will 5 nodes we are considering using 5·BS2 OEM kits to save money.
There will be nodes in 4 rooms and the main base station will be located in the nurse's station. Each node should have the option of two types of alarm and a·system reset as local inputs. The local outputs will be three LEDs.·The first signifies alert 1 was sent, second LED signifies that second alarm type is sent, and the third LED signifies that the·Alarm was acknowledged in the base station. A fourth output·that is being considered is a relay to drive a 120AC light bulb circuit. The·fourth output is·but a minor concern at this point.·The inputs will be push button switches·which are connected to input pins of the stamp. I have seen·the wiring diagrams for the switches and understand·how they should be connected.
The·base station should have an acknowledge button as its only local input. The output of the base station will be a panel with multiple·LEDs indicating from which room the signal was received, and which type of alarm it is.···Each alarm output can be coded with a label indicating which room with two LEDs indicating the alarm type. Also considered for this base node is a relay circuit to power a light bulb which is connected in the hallway as a secondary indicator.
Right now we are considering the TI SN75176A transceiver chip to send a signal over the network. The distance from one end of the system to the other is approximately 250'.
The signals which need to be sent over the network bus need to be coded to describe which room the signal comes from, which station is intended to listen to it, what type of data (alarm 1, alarm 2, acknowledge, reset). Our power source has not yet been determined but a 9V wall wart has been considered.
I am currently trying to read through the BASIC Stamp Syntax and Reference Manual and get a feel for the Stamp programming process. From my understanding the best way to run the system would be·a Master/Slave type set-up, but it seems to me like each node needs to be ready to send and receive a signal at any time.
I am trying to make sure that the BS2 is capable of running this type of system before ordering all the parts. If it is capable then a few pointers to lead me in the right direction as to where and/or how to start programming would be greatly appriciated. Sorry about the length, and thanks in advance for any consideration which is given in assisting me towards designing a working system.
There will be nodes in 4 rooms and the main base station will be located in the nurse's station. Each node should have the option of two types of alarm and a·system reset as local inputs. The local outputs will be three LEDs.·The first signifies alert 1 was sent, second LED signifies that second alarm type is sent, and the third LED signifies that the·Alarm was acknowledged in the base station. A fourth output·that is being considered is a relay to drive a 120AC light bulb circuit. The·fourth output is·but a minor concern at this point.·The inputs will be push button switches·which are connected to input pins of the stamp. I have seen·the wiring diagrams for the switches and understand·how they should be connected.
The·base station should have an acknowledge button as its only local input. The output of the base station will be a panel with multiple·LEDs indicating from which room the signal was received, and which type of alarm it is.···Each alarm output can be coded with a label indicating which room with two LEDs indicating the alarm type. Also considered for this base node is a relay circuit to power a light bulb which is connected in the hallway as a secondary indicator.
Right now we are considering the TI SN75176A transceiver chip to send a signal over the network. The distance from one end of the system to the other is approximately 250'.
The signals which need to be sent over the network bus need to be coded to describe which room the signal comes from, which station is intended to listen to it, what type of data (alarm 1, alarm 2, acknowledge, reset). Our power source has not yet been determined but a 9V wall wart has been considered.
I am currently trying to read through the BASIC Stamp Syntax and Reference Manual and get a feel for the Stamp programming process. From my understanding the best way to run the system would be·a Master/Slave type set-up, but it seems to me like each node needs to be ready to send and receive a signal at any time.
I am trying to make sure that the BS2 is capable of running this type of system before ordering all the parts. If it is capable then a few pointers to lead me in the right direction as to where and/or how to start programming would be greatly appriciated. Sorry about the length, and thanks in advance for any consideration which is given in assisting me towards designing a working system.