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摄像头控制协议,从而完成对常见安防摄像头的远程控制。
这一项目最初目的是在廉价航模/无人机上搭载可变焦安防摄像机,完成对地侦查,安防监视任务。
- Buy an arduino
- Read the code and modify it(which is terrible but short.)
- Modify the camera's ID to 01
- Connect the wire and run it
- good luck
如何使用这份代码?
- 你需要买一块arduino
- 阅读并修改这份代码(虽然写的很糟糕,但挺短的,所以我不觉得这一步很难)
- 修改摄像头的控制ID为01
- 连好线路,然后尝试运行
- 祝好运
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上防止丢失,顺手就开源出来。我知道现在这个项目缺少文档,代码需要整理,电路图也没给出。有时间的话我会完善的。