GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Yogurt-994/pelco-d-ptz-control: 基于Windows平台下使用C++封装PELCO_D云台镜头控制协议,通过串口RS485发送协议命令

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
PELCO_D.pro
PELCO_D.pro
 
 
PELCO_D.pro.user
PELCO_D.pro.user
 
 
README.md
README.md
 
 
dialog.cpp
dialog.cpp
 
 
dialog.h
dialog.h
 
 
dialog.ui
dialog.ui
 
 
main.cpp
main.cpp
 
 
protocol.cpp
protocol.cpp
 
 
protocol.h
protocol.h
 
 

Repository files navigation

PELCO_D_PTZ_Control

基于Windows平台下使用C++封装PELCO_D云台镜头控制协议,通过串口RS485发送协议命令

Qt版本:5.14.2|QtCreator:4.11.1

PELCO_D协议:

通信数据格式:1位起始位,8位数据,1位停止位,无校验位

默认通信波特率:9600B/S

默认地址:1

Pelco-D 命令描述:

+-------+-------+-------+-------+-------+-------+-------+

| Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |

+-------+-------+-------+-------+-------+-------+-------+

| Sync Byte | Address | Command 1 | Command 2 | Data 1 | Data 2 | Checksum |

+-------+-------+-------+-------+-------+-------+-------+

  1. 该协议中所有数值都为十六进制数
  2. 同步字节始终为 FFH
  3. 地址码为摄像机的逻辑地址号,地址范围:00H–FFH
  4. 指令码表示不同的动作
  5. 数据码 1、2 分别表示水平、垂直方向速度(00-3FH),FFH 表示“turbo”速度
  6. 校验码 = MOD[(字节 2 + 字节 3 + 字节 4 + 字节 5 + 字节 6)/100H]

About

基于Windows平台下使用C++封装PELCO_D云台镜头控制协议,通过串口RS485发送协议命令

Resources

Readme
Activity

Stars

6 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.