-As suggested I reposted my question under the registered account -
-I received an excellent reply from @LecauseAndThePi, I hope he repost his answer again so I can accept it, for now I posted the answer myself and will delete it afterwards -
-Original post as unregistred user : Log / monitor gate (dry contact) with Raspberry PI -
Original question :
Dear Stackexchange Raspberry Pi community,
I hope somebody can help me get started with my first Raspberry project..
It seems doable except this is my first project and I do have sufficient programming / computer skills but no electrical knowledge.
I hoped somebody could help me get this simple project started, let me start with explaining some background information ;
I moved to an other house 6 months ago and I have some people helping me in the house and garden. They all come in through the big automated port at my home.
The idea is to make a logger whenever this port opens (in a later stadium I will add a camera to take a picture..)
The board which controls the port has a TLS contact which means in English it’s contact dry contact.
Everytime the port opens it gives a pulse (can be set anywhere from 1 sec till 240 sec). I want to log this pulse.
The question is how I can connect the Raspberry PI to my board ? Can I connect it directly to the GPIO pins or do I need some sort of circuit ? About the software part I don't worry, but as I said I don't know where to start with the hardware part.
Thanks for all your help !