View unanswered posts | View active topics It is currently Tue May 21, 2013 7:31 am



Reply to topic  [ 3 posts ] 
How to get GPIO lines working? 
Author Message

Joined: Tue May 10, 2005 12:45 pm
Posts: 1
Post How to get GPIO lines working?
Hi All,

I'm using ZM with 4-channel DVR card based on BT878 chip. Aside from TV channels, it has 16-pin connector, serving as general purpose digital input(?). It seems that BT chip has some GPIO lines. My question is: how to read states of these lines? Is it possible to use them as, say, alarm/event triggering inputs? Can it be done by ZM itself or should I write some program/script to watch after these lines and trigger event?

Thanks for replies.

Regards, MD


Tue May 10, 2005 1:09 pm
Profile
User avatar

Joined: Sun Aug 24, 2003 11:26 pm
Posts: 68
Location: Germany
Post IVC-100G
hi.
more or less same here...
i got a sdk with the GPIO module. all c++ files. and some demo stuff.
i think it wont be a problem to write some stuff that triggers some external device. i'm not sure how fast the "run console command" feature is.
the other problem is to get external signals as triggers for zm. maybe there is some secret ninja technic to get somehting like /dev/gpio ? :)
the next thing that comes in my mind is using sockets with zmtrigger.pl

any suggestions? even some brainstorming would help...

cheers


Sat May 28, 2005 12:54 am
Profile

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
hi, did you guys have any luck with this. I am looking for a way to get external alarm events into my zm box. i have read on here about parralel ports etc. maybe a 232 approach would be better and some sort of interface. anyway reason i ask is ultimatly to move a dome to various preset positions following an alarm input??. alarms into the box are my first step


Thu Jun 30, 2005 9:32 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group