/PWM2Pelco

Use RC transmitter to control the security camera.

Primary LanguageArduinoMIT LicenseMIT

PWM2Pelco

Convert PWM signal to PELCO-D protocol commands.
Use RC transmitter to control the optical zoom security camera mounted on UAV/quadrotor.

将舵机用PWM信号转换为PELCO-D摄像头控制协议,从而完成对常见安防摄像头的远程控制。
这一项目最初目的是在廉价航模/无人机上搭载可变焦安防摄像机,完成对地侦查,安防监视任务。

Usage

  1. Buy an arduino
  2. Read the code and modify it(which is terrible but short.)
  3. Modify the camera's ID to 01
  4. Connect the wire and run it
  5. good luck

如何使用这份代码?

  1. 你需要买一块arduino
  2. 阅读并修改这份代码(虽然写的很糟糕,但挺短的,所以我不觉得这一步很难)
  3. 修改摄像头的控制ID为01
  4. 连好线路,然后尝试运行
  5. 祝好运

Some Pictures

2 4 20140825151341 img_20140824_201046 img_20140930_175551

PS:

I know the code is so terrible and there should be more documents about how it works~ maybe, just maybe i will fix it later.

唔,那时候时间紧任务重我又太年轻,所以这份代码写的很糟糕。
刚刚也是从一个旧U盘里中发掘出了这份代码,放在github上防止丢失,顺手就开源出来。我知道现在这个项目缺少文档,代码需要整理,电路图也没给出。有时间的话我会完善的。