找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: zncs520

感谢 ID: djjk,帮助,实现ar9331的gpio输出pwm!控制舵机 ,全程跟踪指导

  [复制链接]
 楼主| 发表于 2014-7-21 11:26 | 显示全部楼层
eastwoodnet 发表于 2014-7-21 10:51
这贴值得长期关注,楼主是想直接用WIFI玩四周?不对,既然是舵机可能是固定翼么?

呵呵 你想的倒是很高端。。我就是做个舵机云台而已。.
既然能够控制舵机了 应用就很广泛了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-7-22 17:01 | 显示全部楼层
djjk 发表于 2014-7-13 14:06
你的内核参数就没配置好,PWM over gpio,首先得选中GPIO才行,GPIO driver是基础。你的第二张截图下面是 ...

求教:我也试着编译一个看看,但是依然看不到这个选项,PWM over GPIO需要先选中那个菜单才会出现本图的这个选项啊?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-7-22 17:10 | 显示全部楼层
djjk 发表于 2014-7-17 22:22
对头!特别提醒一下,make kernel_menuconfig 中 PWM Support这一项一定要用built-in模式。

忽略上一个回复吧,我用的trunk代码,内核支持里面的选项PWM是没有那个的,换到12.09就出现这个选项了……

点评

貌似Openwrt BB版本没有这个模块  详情 回复 发表于 2014-11-16 17:26
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-8-15 10:46 | 显示全部楼层
有新进展吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-8-18 00:18 | 显示全部楼层
这个贴要顶起来 希望楼主把研究成果 分享一下!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-8-22 14:33 | 显示全部楼层
求成果
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-8-31 04:02 | 显示全部楼层
请问你用哪几个GPIO口?
能上些图吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-10-30 23:56 | 显示全部楼层

请问一下,有可能把你这最下的pwm驱动移植到barrier_breaker版本吗?我copy过来编译后两个包大小太小~~

-rw-r--r-- 1 tong tong   4056 10月 30 23:55 bin/ramips/packages/base/kmod-pwm_3.10.49-1_ramips_24kec.ipk
-rw-r--r-- 1 tong tong   2875 10月 30 23:55 bin/ramips/packages/base/kmod-pwm-gpio_3.10.49-1_ramips_24kec.ipk

点评

同问  详情 回复 发表于 2014-11-16 17:21
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-10-31 00:47 | 显示全部楼层

  CC      drivers/pwm/pwm.o
  CC      drivers/pwm/gpio-pwm.o
drivers/pwm/pwm.c: In function '__pwm_request_byname':
drivers/pwm/pwm.c:99:8: warning: passing argument 4 of 'class_find_device' from incompatible pointer type [enabled by default]
        d = class_find_device(&pwm_class, NULL, (char*)name, pwm_match_name);
        ^
In file included from drivers/pwm/pwm.c:26:0:
include/linux/device.h:395:23: note: expected 'int (*)(struct device *, const void *)' but argument is of type 'int (*)(struct device *, void *)'
extern struct device *class_find_device(struct class *class,
                       ^
  LD      drivers/pwm/built-in.o




-rw-r--r-- 1 tong tong 4063 10月 31 00:37 bin/ramips/packages/base/kmod-pwm_3.10.49-1_ramips_24kec.ipk
-rw-r--r-- 1 tong tong 2875 10月 31 00:37 bin/ramips/packages/base/kmod-pwm-gpio_3.10.49-1_ramips_24kec.ipk
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-16 17:21 | 显示全部楼层
大神@djjk, 请问这个代码可以移植到Openwrt BB版本上吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-16 17:21 | 显示全部楼层
xajialuo 发表于 2014-10-30 23:56
请问一下,有可能把你这最下的pwm驱动移植到barrier_breaker版本吗?我copy过来编译后两个包大小太小~~ ...

同问
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-16 17:26 | 显示全部楼层
eastwoodnet 发表于 2014-7-22 17:10
忽略上一个回复吧,我用的trunk代码,内核支持里面的选项PWM是没有那个的,换到12.09就出现这个选项了… ...

貌似Openwrt BB版本没有这个模块
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-16 17:28 | 显示全部楼层

期待大神的进一步结果,最好是有BB版本的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-16 17:29 | 显示全部楼层
djjk 发表于 2014-7-19 18:35
试试直接操作GPIO 端口看能不能停下来,不排除 这个 patch 还存在些小问题。

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

vanadic 该用户已被删除
发表于 2014-12-30 17:11 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-24 11:27

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表