--=====================_972621351==_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sven in Sveden wrote: >Yes, this is functionally a case for external watchdogs, confirmation LED's and all the rest of it. It is important that this really will work, and give an alarm if the button is pressed. I had the idea that the buttons would all get "called" one at a time and asked for an individual code response periodically to see that it all works (maybe a safer id=E9a is to inhibit= the PIC under the button as it is pressd, and the lack of a responce is actually the alarm). > Yes, this application sounds like a perfect fit for having the master unit "polling" the remote units in succession and continuously. This way the network protocols will be much much simpler than where the remote units interrupt the main unit, and have to deal with possible bus conflicts. Also, by polling each remote in sequence, the master can tell immediately that each and every one is operating correctly.=20 Each remote has onboard RAM so it can store the existence of keypresses=20 until the master gets around to it. Assuming 1200 baud xmssn, ie 120=20 bytes/sec, on the bus, and maybe 10 bytes of exchange with each remote,=20 this system could poll 120 remotes in 10 sec. That should be fast=20 enough for this situation. =20 The remotes could even count the number of keypresses and indicate the patients who are "yelling" the loudest. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >The problem of supplying the PIC's with power seems still to me as the real problem. There is no "local power-point". This technology doesn't seem to have a real standars, such as "singlewire", MicroWire (R) or something. Just crude experementing with diodes and stuff... Right ? > I think you are very correct - there are no stds for this. However,=20 if you run the remote PICs with 32Khz xtals, then each requires only 15 uA to run, and 100 remotes will require only 1.5 mA. A PIC at 32=20 Khz can do 1200 baud RS232 [not 2400 as mentioned on a recent thread].=20 This is why I picked 1200 baud above.=20 Comm link current should only add another 1 mA or so for the xmit=20 channel [only one xmits at a time - 5v/5K], and <=3D 0.1 mA for each=20 receive channel. Therefore, 100 remotes would require about 11.5 mA,=20 and that should be possible to supply on the comm/power channel.=20 Alternatively, you could break the system up into more channels with=20 smaller units - say 10 channels with 10 remotes/channel - and then=20 you need to supply only about 2 mA of current to each. This should be=20 very easy, I would think. I am including a GIF image of a combined RS232/power channel arrangement I jinned up a couple of weeks ago. May help with=20 ideas. [note - this ckt will take a little more current than=20 mentioned above]. best regards, - Dan Michaels Oricom Technologies http://www.users.uswest.net/~oricom =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=====================_972621351==_ Content-Type: image/gif; name="2-WIRE.GIF"; x-mac-type="47494666"; x-mac-creator="4A565752" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="2-WIRE.GIF" R0lGODdhQAJAAYAAAAAAAP///ywAAAAAQAJAAQAC/oyPqcvtD6OctNqLs968+w+G4kiW5omm6sq2 7gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1Kp9Sq9YrNarfcrvcLDovH5LL5jE6r1+y2+w2P y+f0uv2Oz+v3/L7/DxgoOEhYaHiImKi4yNjo+AgZKTlJWWl5iZmpuSkEAGDgCfoZEEo6Wop6qirK atqKyhkrizc6a3uL21Cr4LlrWipa65tb19sbbEyaIAxsfOwMTMwzDHogjHBqXS195/tJ3Zy9rU0u Ta0DvqzMq37O/ea93q78rV4uT+yOk46Nf0//zg40ZP3W1Ss47pe+gDT4aQM3cCHDNNcS/jt4b5fE /okzzlXEh7HaRo5lNFq0KM6fSW4jOw4MtuyYSoUySVJsF9HeL3bWXs5qaTOoUDnQiho9ihTo0CpJ mzp9qnSp1KlUKUStijXrhqtau3r9Cjas2LFk95U9i1Zn2rVs27p9CzduPrl0pXKti1eNT4V52UbD FQ9k37V3I8UrXAHx4EXeks1k8K2mM5TIsjkW81LxBM2LEa18iHNytJAA+x3+DMZhZ8IIRaqNaXqe 6cn+yHhsvTos6tIp2Tk+vI30yTHuLo/gnHtQTZo9XemCfDlUOJnI/VRPLuv60FSvVjnn/t07+PHi y3c/Hx49efXisbt3oD1O/Pd0fNLWFT3/csj0/vtrAY4bbqQN+MB8/h1oA4AXqPaPBwa68WBVgS0Q 2XQWRtiEfb9p+NdyxoGA4Roh2vUaNiYpOBwaH/HEX4EptojgJiuy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RqDfTSD0R4XMGeZDD6Gr1SJDdF4CaKI8IqUNXsyJxVonnEzhZWIUoyZHcZXnNqI9jSJKfJnUg 54W2EXvQ1ZPJc0ax/lCTvjh4NmSAS3loyKaIFcNGXyiKajRigsF+TMlamYOSQiiH31Z1ISmSQwmI UGmFXYmU+VQhEXKURkmWTGWJ0LZ2YPmPZ5hX3xMUa2mB9uR4B/iHOzg9S4GX/YRRhMdrfDmWjchj RJQZoRF2OvWWhZY/VEFroqeXSslZj6lXgRhK8yAp5JghmBlWdGgsi/kn58h5oNkIaegtjwN65kWX UglO0KIaSWiTr8mWDURVDDJuuGeWtxmb7AaPP7lAdgScnymcMsKDxWmctrlATqmc9CeWkbWVzTWZ z1mc02mdupGd2xmW3Omdcvmdwoad4YkV4/l4k+gRSJWUEEeefdkV/hDxR9CXVJrSnuCYahTTYo+0 KwAGeubpHv4pBfzQGyDFHCK1k/XZdgcENmi0Um0ob5aJoJWimzszn2IGoBFKC30XHKSYlAXKnhi6 PosGoiNKoiVqorMlRCeqoivKoi3aJ43pojEqozNKozVqozeKozmqozvKoz3qoz8KpEEqpENKpEVq pEeKpEmqpEvKpE3qpE8KpVEqpVNKpVVqpSAqkZ6JgO3oQhd6pcrXg1rkpV/Kjh1iI4MZUh7KF5SW lnbUptv4pdt3VMTnpvjljt5kmpWpdM81pldKPq+nikzTjTnioMiVQoBKGWwVp4xmU1OzY1Fjp4bK H0F5kym5qF6SqnjUgabpmV4Idy95yqlWpip9eqm6BqNzWaqpqqqrmp0TSizllKb2xKp36YRm8jKR SpizOoNnukzpkJ9VtJ/Wp5+6SoujQqEgM6DjmKZGRawDxp88FH2ZiofNaKnNCoUPqlA6clNAOFLW mprARjUaahAcuqzU5a3niq7pqq7ryq7t6q7vCq/xKq/zSq/1aq/3iq/5qq/7yq/96q//CrABK7AD S7AFa7C5UQAAADs= --=====================_972621351==_ Content-Type: text/plain; charset="us-ascii" --=====================_972621351==_-- -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.