Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #374280

Re: 16 analog outputs into 1 digital output

From rickman <gnuarm@gmail.com>
Newsgroups sci.electronics.design
Subject Re: 16 analog outputs into 1 digital output
Date 2015-08-24 09:09 -0400
Organization A noiseless patient Spider
Message-ID <mrf4um$kuq$2@dont-email.me> (permalink)
References <mr6rov$ev$1@l01news1.ot.hr> <mr8djo$40e$2@gonzo.alcatraz> <mreotd$1r4$1@l01news1.ot.hr>

Show all headers | View raw


On 8/24/2015 5:42 AM, gm wrote:
> On 08/22/2015 01:52 AM, Jasen Betts wrote:
>> On 2015-08-21, gm <notmy@mail.com> 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 ).
>>
>> These outputs are actually the terminals on LEDs, right? add a 100K
>> pull-down resistor, check performance, and measure again.
>>
>>> 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.
>>
>> sounds like you want a parallel-in serial out shift register.
>>
>> 3 wires pins to the raspberry pi GPIO, 16 to the alarm outputs,
>> there's 8 bit chips easily had, so you'd need 2 of them to make
>> a 16 bit unit. but that voltage will need to be converted to something
>> more sensible first,  a couple of ULN2008s and some pull-up resistors
>> could be all it takes. (ULN2008 used off-label as it just happens to have
>> its threshold in about the right place)
>>
>>> Did someone try to make something like this ?
>>
>> yeah, it's all been done before.
>>
>>
> -----------------
> Thank you all for reply !
>
> So basically you have one alarm station like -paradox-.
> There is a YT video that explains almost all :
>
> https://www.youtube.com/watch?v=TuO7_Nd9s00
>
> When i detect voltage change on connectors:
> COM - Z1
> COM - Z2
> COM - Z3
> COM - Z4
>
> i should log this data on RSP.
> All sensors are powered with 12VDC but i have to check how much is the
> voltage difference when the system is in alarm state. I think it's
> around 1,5V.
>
> According to your suggestions there are few options.
> Is there some ready made device that i can just hook up to alarm panel
> outputs and directly to RSP ? I can use 2x 8 pin solution.

I can't say for sure because I don't have this alarm panel, but I would 
expect more than 1.5 V.  When I worked with alarm systems they put the 
full battery voltage on the wire pair.  The pair went to all the 
switches in a loop and back to the panel so that if the wire were cut or 
shorted, it could be detected.  The voltage would switch between zero 
and the full battery voltage.  This panel is not wired that way, so I 
can't say what voltage is placed on the wires.

Have you measured the voltages on the zone wires?  I expect you will be 
designing a more complex circuit.

-- 

Rick

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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