The Godfather talking
You think I am funny guy huh?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2017, 07:26:28 19:26


Login with username, password and session length


Pages: [1]
Print
Author Topic: camera RS485  (Read 649 times)
0 Members and 1 Guest are viewing this topic.
papy_bidouille
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 15
-Receive: 0


« on: September 08, 2017, 08:07:25 20:07 »

I want to control the zoom of a samsung SNZ-6320P camera by 2 buttons via rs485. The protocol supports are RS-485 protocol
Samsung-T / E, Pelco-P / D, Panasonic, Honeywell, AD, Vicon, Bosch, GE
someone knows the sequence to send to zoom in and out
big thanks in advance
Logged
UncleBog
Active Member
***
Offline Offline

Posts: 101

Thank You
-Given: 126
-Receive: 135


« Reply #1 on: September 09, 2017, 10:14:15 10:14 »

Plenty of information on the Pelco protocol on the internet, see https://www.codeproject.com/Articles/8034/Pelco-P-and-D-protocol-implementation-in-C for commands and coding examples.
Logged
papy_bidouille
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 15
-Receive: 0


« Reply #2 on: September 18, 2017, 09:26:46 09:26 »

Hello,
μP pic 16F628 interface SN75176
I use the SAMSUNG-T protocol but I can not communicate with the camera. here the code I use (simple code) someone can tell me what's wrong.
  in simulation under proteus it seems to work
joint protocol samsung-T
big thanks
Logged
Wilksey
Cracking Team
Senior Member
****
Offline Offline

Posts: 258

Thank You
-Given: 129
-Receive: 1910


« Reply #3 on: September 18, 2017, 11:55:15 11:55 »

Silly question,

Are you using an RS485 transceiver IC?

Also -
The baud rate is set to 4800 in the code, manual shows 9600, has the BR been changed on the camera?

I don't see any serial receive code, if you don't read from the port will this not cause a buffer overrun and shut down the UART from working until it is cleared?  Can't remember how CCS handles it.
« Last Edit: September 18, 2017, 11:58:45 11:58 by Wilksey » Logged
papy_bidouille
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 15
-Receive: 0


« Reply #4 on: September 18, 2017, 06:53:28 18:53 »

ont peut,  je pense envoyer seulement des ordres sans reponse tous les 70ms minimun comme indique en debut de doc du protocol .4800Bd c'est pour aller plus loin la camera l'accepte et est regle pour cela.joint simulation sous proteus
merci
Logged
Wilksey
Cracking Team
Senior Member
****
Offline Offline

Posts: 258

Thank You
-Given: 129
-Receive: 1910


« Reply #5 on: September 18, 2017, 10:22:21 22:22 »

And again in English?
Logged
papy_bidouille
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 15
-Receive: 0


« Reply #6 on: September 19, 2017, 09:27:19 09:27 »

sorry i did not pay attention
can i think i send only orders with no response every 70ms minimun as indicated in the beginning of doc of the .4800Bd protocol is to go further the camera accepts it and is set for it.joint simulation under proteus
thank you
Logged
Wilksey
Cracking Team
Senior Member
****
Offline Offline

Posts: 258

Thank You
-Given: 129
-Receive: 1910


« Reply #7 on: September 19, 2017, 11:21:06 11:21 »

Ok, but you haven't really answered any of my questions have you?
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC