dennard 2060 dome

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

dennard 2060 dome

Post by jameswilson »

I have gained one of these for a while (hopefully permanently if it works) and want to connect to my zm box. I assume for 485 control i get a 232 to 485 converter and control the dome like that? Also is it possible to use a custom keyboard to control zm, ie inbuilt joystick camera sElect buttons etc.

At work we tend to use most ptz's, domes etc with 'down the coax' control. I know this works by putting some signal on the sync pulse but wondered if this was possible also. On the dome i have it has a protocol converter with and this has 4 alarm inputs. If the presets are programmed into the dome directly these inputs will move to presets 1-4. Can we read these inputs etc. And final question, can the zm interface be used to program this dome or would i need a sprite or tx1000 etc

James (questions come easy to me, answers i struggle with)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If you can get something to come out of a Linux box with the right signalling on it then you should be able to get working with ZM. Other than network PTZ cams I've only ever used the RS232->RS485 method which works quite well most of the time. If you have access to Dennard protocol specs I could knock up a control script for you to try.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

phil i have a couple of protocol lists bbv 485 and bbv serial keyboard. This is a rs232 device that has a joystick, camera controls etc (1-16) iris zoom focus, i beleieve they do a version now with twist zoom on the joystick. These any use to ya or u already got em?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The 485 would probably be useful. Not that I've got anything to test it against at the moment!

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

if i gain another i will send it you. Could we use the keyboard as a zm input keyoard for upto 16 cameras or does zm just output data and not listen for it. Im curious as it would be great to have a proper keyboard to make the thing look less like a pc? how shall i send you the pdf's
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

phil how do you want me to send the protocols
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

PDFs will be just fine for the docs. Just mail them to any @zoneminder.com address on here.

Currently the keyboard won't work with ZM directly but you could use the keyboard to control your cams directly, in other words don't use ZM for alignment at all. If you want to try and get a solution that has ZM in between the keyboard and your cams (as a sort of proxy/relay) then I'd have to figure out how the kb connects and on what.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

phil i think i may have sent you the wrong thing? did you ever get it?

I have now got hold of the full protocol ie select camera 1 is 0x40, 0xC0 (with 20mS between bytes apparently) Panl left is 0x68,(speedc req 0x30 - 0x30) would this doc be any more use.

This is the protocol for a BBV TX1000 which is an 8 - 64 camera matrix switcher. Point is its proper stuff and we use it to control our cams down the coax. Now this unit has 2 keyboard sockets on it 1 for the local keyboard (which obviously is 232 based and maybe as another project could be used to control remote installs?) and the other for a slave keyboard or any 232 device. I was hoping to be able to use this protocol (i think in the uk bbv is most widly used protocol, that ot pelco or baxall) I assume as its a keyboard input the commands that are passed would be select camera 0x40,0xc0 then a movement command or whatever.) I suppose once the protocol is included that it could be used via 485 direct to domes suppoering bbv)

James
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Oh and now with a bit of rennewed enthusiasm i am trying to get this working again. I have 232-422 converter. I have dome etc. and a little time. I know i need the dome supported by zm ultimatly but can i for testing puposes give it commands from the command line.

2 questions
1 can i send 232 commands from the command line if so dont suppose youd share.
2 how do i set the speed bit rate start bit etc for ttyS0

James
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The best thing to do is look at the zmcontrol-*.pl scripts and adapt one for your needs. The configuration of the serial ports etc should be fairly apparent and also how to send individual messages etc.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

thanks phil. I will look at this again soon but at the mo have moved my theory elsewhere. But will be back on ptz soon.

James
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

phil thankyou i habe looked at the script and i can set speed etc.
I have looked at it breifly and am slightly lost. I have modified the pelcod script as i thoughtthat was closest, set the speed stop bits etc.
The protocol command list i have lists various things
eg Byte 1 - BBV STX (0xB0) which i assume is the hello bbv stuff part of the command, byte 2 address 0 - 95
byte 3 - 6 as described below
byte 7 0xBF
Byte 8 Checksum (XOR of bytes 1,2,3,4,5,6, and 7)
Obviously it goes on.

As its a bit beyond me (just getting started with perl) and i want to set up both protocols (485 and 232) can you:-

a) give me a hand pointers etc (where can i see the pelco protocol just to get an idea)
b) i send you the protocols (right ones this time)

I have got both protocols and would love to be able to control my 2060 dome that looks so pretty on the front of my shed!.

BTW it has all the coammnds for how to get into the menu and program the dome etc..

Cheers James

PS unless anyone else has ecxpereince with modifiying or writing protocols
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Hi James,

Ordinarily you can't directly control RS485 from a PC, you have to use RS232 and then convert it. However that shouldn't be a problem.

Are you trying to use the Dennard protocol? If so then it might be easier if you just mail it to me and I'll do a basic script to get you going which you can improve on if you want it to do more. I'd like to add additional protocol support anyway.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Thanks Phil. The protocol im am trying to add is bbv. I have both the 485 and the 232 protocols. obviously the 485 telemetry is for contrlling the domes directly. The 232 one is for plugging zm straight into a bbv tx1000. This is a 16 way matrix that controls existing bbv domes std ptz etc with down the coax telemetry. ie the std matrix has 2 serial ports on it. One for a joystick ketboard the other for either another keyboard or any 232 device that sends the correct commands. This has numerous advantages but the main 2 are, 1 taking control remotly of existing systems and easy dvr upgrades etc.
2 there is then a keyboard that will plug straight into the serial port and can be told to talk to ZM (i assume)

if you are intested i will email both protocols over and some pictures etc of the matrix.

BBV telemetry is supported by most major domes but if not they make an RX100 or a starcard that will convert from bbv to anything (panasonic, baxall, jvc, pelco, sanyo etc)

hope this explains properly

James
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Hi James,

Mail away and if there is anything I don't understand I'll let you know!

Phil
Post Reply