Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #373971
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: 16 analog outputs into 1 digital output |
| Date | 2015-08-21 12:25 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <mr7jan$vro$1@dont-email.me> (permalink) |
| References | <mr6rov$ev$1@l01news1.ot.hr> <55d70301$0$1031$4c5ecfc7@frugalusenet.com> <55d70500$0$1015$4c5ecfc7@frugalusenet.com> <9dfea17d-380e-4db8-af89-a0e06fe26493@googlegroups.com> <mr73i2$2d1$1@l01news1.ot.hr> |
On 8/21/2015 7:54 AM, gm wrote: > On 21.08.2015 13:38, tabbypurr@gmail.com wrote: >> On Friday, 21 August 2015 12:01:25 UTC+1, bitrex wrote: >>> On 8/21/2015 6:52 AM, bitrex wrote: >>>> On 8/21/2015 5:41 AM, gm wrote: >>>>> Hi. >>>>> >>>>> I have one alarm station that has 16 outputs. >>>>> On each of this outputs you can read out some voltage change from 1 - >>>>> 1,5V ( when in alarm state ). >>>>> >>>>> To save space and money i was planning to hook up one multiplexer to >>>>> those outputs and then other part of multiplexer to raspberry PI GPIO. >>>>> >>>>> Did someone try to make something like this ? >>>> >>>> If all you need to know is if _a_ alarm is going off, not what >>>> particular one, you could use 4 LM339 quad comparators, one section for >>>> each alarm channel. Set them up with a reference voltage on one input >>>> and and some hysteresis, and since they have open collector outputs, >>>> the >>>> outputs can be OR-ed together into one "digital" output that pulls down >>>> when one of the comparators is triggered. >>>> >>>> Please see page 10 of the following datasheet: >>>> >>>> https://www.jameco.com/Jameco/Products/ProdDS/838727.pdf >>> >>> Actually, if the threshold voltages on all the comparators are going to >>> be the same, you could use fewer ICs - see page 7 of the datasheet for >>> an "OR" gate that accepts multiple inputs. >>> >>> I don't think I'd like to try to put 16 inputs all to 1 IC, but I'd feel >>> comfortable using a LM339 quad and putting 4 inputs into each, and then >>> ORing the outputs of each 4 input OR gate together. >>> >>> You can also do a multiple input OR gate with hysteresis. >> >> Just use 16 diodes, followed by one comparator to restore levels. >> >> >> NT >> > ------------- > I need to know which alarm is turned ON. This is the main thing. > So you have 16 different alarms. I was thinking that there is a way to > output those signals on single digital line. So i can read them as > binary value. > > Your suggestion is OK but i need to record each alarm state. > Alarm from each sensor... I'm not sure what you are thinking exactly. If you want to multiplex 8 inputs onto one input you need to control the mux with 4 outputs. Is that what you are thinking? I'd say the easiest way to do this is to use a 16 input analog mux chip to select the input to test, then use a single comparator to accurately set the threshold level. The digital output of the comparator is used to drive your computer input. -- Rick
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
16 analog outputs into 1 digital output gm <notmy@mail.com> - 2015-08-21 11:41 +0200
Re: 16 analog outputs into 1 digital output bitrex <bitrex@de.lete.earthlink.net> - 2015-08-21 06:52 -0400
Re: 16 analog outputs into 1 digital output bitrex <bitrex@de.lete.earthlink.net> - 2015-08-21 07:01 -0400
Re: 16 analog outputs into 1 digital output tabbypurr@gmail.com - 2015-08-21 04:38 -0700
Re: 16 analog outputs into 1 digital output gm <notMyMail@mail.not> - 2015-08-21 13:54 +0200
Re: 16 analog outputs into 1 digital output Phil Hobbs <pcdhobbs@gmail.com> - 2015-08-21 05:17 -0700
Re: 16 analog outputs into 1 digital output bitrex <bitrex@de.lete.earthlink.net> - 2015-08-21 08:55 -0400
Re: 16 analog outputs into 1 digital output pippo2@disney.com (Jack) - 2015-08-21 14:41 +0200
Re: 16 analog outputs into 1 digital output Tim Wescott <seemywebsite@myfooter.really> - 2015-08-21 11:01 -0500
Re: 16 analog outputs into 1 digital output rickman <gnuarm@gmail.com> - 2015-08-21 12:25 -0400
Re: 16 analog outputs into 1 digital output John Fields <jfields@austininstruments.com> - 2015-08-21 14:19 -0500
Re: 16 analog outputs into 1 digital output tabbypurr@gmail.com - 2015-08-21 14:59 -0700
Re: 16 analog outputs into 1 digital output bitrex <bitrex@de.lete.earthlink.net> - 2015-08-21 08:35 -0400
Re: 16 analog outputs into 1 digital output whit3rd <whit3rd@gmail.com> - 2015-08-21 12:47 -0700
16 analog outputs into 1 digital output Klaus Kragelund <klauskvik@hotmail.com> - 2015-08-21 15:16 -0700
Re: 16 analog outputs into 1 digital output Jasen Betts <jasen@xnet.co.nz> - 2015-08-21 23:52 +0000
Re: 16 analog outputs into 1 digital output gm <notmy@mail.com> - 2015-08-24 11:42 +0200
Re: 16 analog outputs into 1 digital output rickman <gnuarm@gmail.com> - 2015-08-24 09:09 -0400
Re: 16 analog outputs into 1 digital output gm <notmy@mail.com> - 2015-08-26 13:39 +0200
csiph-web