Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Alarm ouput on Hikvsion Camera


Lode
 Share

Question

Hi,

I have a Hikvision dome camera that has an alarm output.

There are four connections possible (OUT1,COM1,OUT2,COM2)

Does anybody know how to wire this with a smart implant ?

 

Thx...?

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hello

With the camera you have 2 outputs.
1A, 1B 1st output
2A, 2B 2nd output

Connect 1B and 2B to the GND of the SmartImplant and
1A with input 1 and 2A with input 2

Supply the SmartImplant with 12VDC because apparently that is the max voltage at the Cammera output
Actually unspectacular.

 

The circuit diagram is the basis of my statement.
Please do not check in your documents that my assumption is wrong.


I hope you can handle it.

Greetings from Germany / Sauerland
Frank

Please login or register to see this image.

/monthly_2020_07/image.png.f7318b55f22812b44b1da1d1085564ae.png" />

 

  • Like 2
Link to comment
Share on other sites

  • 0
  • Inquirer
  • @FBerges

    Hi Frank,

     

    Thank you so much for your help, i really appreciate this ?

    I want to try it out but just before i read your post i found this video where they only use two wires to make a led burn in case of an alarm.
    It's a little bit confusing te me.

     

    Please login or register to see this link.

     

    Thanks again

    Greetings from Limburg/Belgium (almost neighbours ?)

    Lode.

    Link to comment
    Share on other sites

    • 0

    @Lode Of course, you can only use one output. It all depends on what purpose you want it for. For example, the camera closes the first output as a "Motion detect" alarm signal, the second output may signal, for example, camera tampering or other AI events.
    In the past, I even helped myself by calling a special function in the camera, which could not be run from the ONVIF protocol. You can use ONVIF to control the outputs. I connected the output to the input and then defined an alarm event internally in the camera (for example, sending an image to FTP, PTZ route, PTZ pre-set, etc.).
    So it all depends on your requirements, which you need to solve.
    eM.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @Martin_N

     

    Hi, thanks for your reply.

    I think i do understand how it works now.
    There's only one more thing i'd like to know.

    The max voltage for the alarm output is 12VDC like Frank said above.

    In the manual i have been reading this :

     

    DO NOT Connect 12v directly to the "output" terminal as this may burn out the output driver. There must be some kind of resistance between the 12V source and output to control the current flow through the output.

     

    What kind of resistance should i use ?

     

    Thanks again

    Lode.

     

     

    Link to comment
    Share on other sites

    • 0

    @Lode @Lode

    It will probably be an OC (open collector) type output.
    Such an output (unless pull-up resistors are used) switches to ground.
    So, if it is closed, you get the ground here (negative pole).
    In practice, this means that you bring + 12V to one half of the relay coil, and sort the dates to the OC output. The relay will be at rest (because "you will not" have a negative field). If an alarm event occurs, the OC closes, so a negative field appears at the output, so the relay is powered from both sides + i - and the relay closes.
    Personally, if you use a connection of more disparate systems, I recommend this design. There is a galvanic separation with the help of a relay
      You will only use the contact of this relay for Smart Implant input.

     

    FBerges showed a picture showing just the galvanic separation. Just instead of 230V AC power supply and load, connect the Smart Implant input directly.


    Note:
    The issue of OC can be more complicated. Personally, in security systems I use common OC (voltage outputs) directly with connection to the input via 1kohm resistor. But these are specific situations and the system takes this into account (I will actually bring a negative field across the resistor to the input of the detection zone).

    Link to comment
    Share on other sites

    • 0

    galvanic separation is always good idea, however you might give a try without. Smart Implant is using internal pullup, e.g. to drive 0-10V sensors, and does have some input protection, so that might work within specs.

    • Like 1
    Link to comment
    Share on other sites

    • 0

    Oh, I guess I brought you into doubt.
    Cameras usually have two types of outputs, I will explain below:
    Voltage OC, I described in the last post - here I recommend galvanic isolation (it is almost a necessity).
    Relay (potential-free) and then it is enough to really connect the smart implant directly according to the descriptions of colleagues: o)

    If you are not sure what type of output you have, insert a voltmeter between COM and OUT. If there is no voltage when activated, it is a relay. You can verify it with an ohmmeter. When switched on you will have 0ohm, when switched off infinity (OL).
    Voltage output: If you get some voltage during activation - usually the same as the camera's supply voltage, or lower (usually 5V), it is OC.

    Look in the datasheet for what type of output it is. There may be a relay listed.

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  •  

    @tinman

    @Martin_N

     

    Hi, thanks again...

    I tried what you said.

    In the browserinterface of the camera you can trigger a manual alarm.

    I can't measure any voltage output when an alarm is triggered. (or not)

    When the alarm is triggered i have Oohm for about 5 seconds (i also tried the beepsound if you know what i mean).

    When there is no alarm it goes to infinity (on my meterdisplay i get "1")

    So i can be pretty sure it's a relay ?

     

    Best regards...

     

    Edited by Lode
    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...