dm368的网络摄像机现在要装云台,其实要求的功能很简单,只要能实现云台的转动就行,不用控制镜头。但是要求通过网络远程控制,现在不知该怎么着手做,能不能给些建议或指导?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
dm368的网络摄像机现在要装云台,其实要求的功能很简单,只要能实现云台的转动就行,不用控制镜头。但是要求通过网络远程控制,现在不知该怎么着手做,能不能给些建议或指导?
一般是通过422,485或者232接口控制。云台厂家提供控制的code
通过网络的控制方法,你就去参考一下DM368的参数是怎么通过网页设置的就可以了吧
怎么调用dm368的uart1收发指令啊,我们板子上的485是通过uart1的两个口转的。
你好 ! 我自己写了个程序在368上跑,程序能顺利跑起来,但是UART1完全没反应,没有输出,是我的程序根本没有调用到368的UART1吗,如果是的话该怎么改呢
问题解决了,之前内核设定的uart1是复用gpio16,17.而实际上我们自己的板子uart1用的是gpio34,25.在内核的mach-davinci/dm365.c把uart1的引脚改成
MUX_CFG("UART1_RXD", 4, 14, 3, 3, 0)
MUX_CFG("UART1_TXD", 3, 29, 3, 3, 0)
在static int __init dm365_init_devices(void)里加上
davinci_cfg_reg(DM365_UART1_TXD);
davinci_cfg_reg(DM365_UART1_RXD);
就改好了,重新编译内核即可。