5iMX宗旨:分享遥控模型兴趣爱好

5iMX.com 我爱模型 玩家论坛 ——专业遥控模型和无人机玩家论坛(玩模型就上我爱模型,创始于2003年)
查看: 2763|回复: 9
打印 上一主题 下一主题

新手求助,kk飞控支持i2c电调吗?

[复制链接]
跳转到指定楼层
楼主
发表于 2011-3-29 18:48 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
kk飞控支持i2c电调吗?

欢迎继续阅读楼主其他信息

沙发
发表于 2011-3-29 19:54 | 只看该作者
我也想做的
3
发表于 2011-3-29 19:55 | 只看该作者
我也想知道
4
 楼主| 发表于 2011-3-29 20:08 | 只看该作者
没人知道吗?求助~~~:em18: 就要上电调了
5
发表于 2011-3-29 20:12 | 只看该作者
不支持。买个好盈啦。没多少钱。
6
发表于 2011-3-29 20:46 | 只看该作者
不支持的, 但是以前MK上的i2C电调是支持PWM的, 可以试一试
7
 楼主| 发表于 2011-3-29 21:04 | 只看该作者
I've spent a bit of time looking at the code manuLRK posted earlier in the thread (here) regarding improved ESC PWM rates (>450Hz) and, after a day or so fiddling, I have incorporated this into XXcontroller code.



Theoretical maximum ESC rate is 497Hz, but probably less, as there are a few tens of micro-seconds's lost along the way.

Actually, I have noticed that the internal Xtal isn't very accurate, so results may vary a surprising amount.



Since this is a significant change, release is now V1.1



Things to note

There are 2 pairs of defines, ESC_RATE and PWM_LOW_PULSE_INTERVAL which allow you to set PWM rate.

One pair you set ESC_RATE and it calculates PWM_LOW_PULSE_INTERVAL, the other pair vice-versa.

PWM_LOW_PULSE_INTERVAL is measured in 10's of microSeconds (minimum 1)

Stick-arming is now standard feature

new define for Stick-arm side (for those non-standard folks out there )

When the controller is not armed, no signal is sent to ESC's, so they will bleep.

I actually quite like this (others may not) as led isn't always easy to see.

Some ESC's are a bit fussy, and you may need to re-arm to get them to sync/start correctly.

Sensor calibration now takes place @ arming.

also, gyro gain pots are read @ arming, so if you change them, you must re-arm for the changes to be used



As a general note, the code (V1.1) is time critical.

Essentially, the program expects certain sections of the code to take a short period of time.

What this means is that if you modify the code, you must avoid putting any long delay(s) (>200uS - yes, thats long!) in the code which gets executed when armed.

Failure to follow this guidline will cause motors to mis-behave.



I have flown @ 450Hz with my big Quad (config) and am suitably impressed.

I havn't checked the results on TRI copter tho'

I also havn't put this on my test-bench to check PWM consistency.



and finally, thanks to manuLRK !

这个是kk官网的,好像说电调刷新率越高越好?
8
发表于 2011-3-30 10:01 | 只看该作者
电调反应速度越快越好,我用我的aq50d的飞控输出pwm的频率是440hz的,好盈的飞腾系列18安电调一样能用。为什么要用i2c电调,i2c电调很不稳定,空中总线死机就一个结果炸鸡。还是pwm扎实。
9
发表于 2011-5-24 14:51 | 只看该作者
不支持的哦,我看了KK1.0的代码,PPM的.
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

关闭

【站内推荐】上一条 /1 下一条

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