|
这里有一个快速写起来,将增加更多的时候有机会
1) Hardware 1)硬件
You will need您将需要
1.1) Yellow Jacket An Arduino mini clone with WiFi on-board. 1.1) 耶洛贾基特板载阿尔杜伊诺迷你克隆与WiFi。
1.2) FTDI USB基本突围- 5V的素描下 载所需的入黄夹克 1.3)接收器。 I'm using this one from Hobbycity But I'm sure most receivers will work.我使用这从一个Hobbycity但我敢肯定,大多数接收机将工作。
RC Controlled AR.Drone 遥控控制AR.Drone
--------------------------------------------------------------------------------
Please go to post #2 for the latest version of the Sketch请到后#2的最新版本的素描
___________________________________________ ___________________________________________
Here's a very initial test flight of the Ar.Drone controlled from an RC radio.这里有一个非常初步的Ar.Drone试飞由无线电控制的一个RC。 Arduino UNO and WiShield is used to interface the RX to the Drone.阿尔杜伊诺UNO和WiShield是用来接收接口到机器人。
Ar.Drone controlled by RC Radio (2 min 10 sec) Ar.Drone无线电遥控控制 (2分10秒)
If you do not mind the weight of the Arduino and RX, you can put them on the Drone and break free from the WIFI range limitation.如果你不介意的阿尔杜伊诺和RX体重,你可以把他们的雄蜂,脱离了WIFI范围限制自由。
I flew around for a bit, it's certainly a lot more fun than using the iPod Touch to control it.我飞了一会儿左右,这当然大大超过使用iPod触摸来控制它的乐趣。
Still need a bit more work to make it smooth.仍然需要更多的工作,使其顺利。
Next, need to get a GPS module to make this thing UAV下一步,需要获得一个GPS模块,以使这个东西无人机
[9Nov10] [9Nov10]
The code is now relatively smooth and very much flyable.该代码是目前相对平稳,非常flyable。 Still a lot of work to do.仍然有很多工作要做。 But just in case someone is interested I attached the Arduino Sketch.但万一有人感兴趣,我附上阿尔杜伊诺素描。
Hardware硬件
- Arduino UNO - 阿尔杜伊诺的UNO
- Aynclabs WiShield - Aynclabs WiShield
I have ordered the YellowJacket.我已下令耶洛贾基特。 If it works, this will be better than the 2 separate components above如果成功,这将是比2以上的独立元件更好
- RX, I've tested Assan X8R7, but I'm sure most RX will work. - 接收,我测试过的Assan X8R7,但我敢肯定,大多数Rx将工作。
Please note that my Ar.Drone is still on the 1.1.3 firmware.请注意,我Ar.Drone仍然在1.1.3固件。 I started this project before the new firmware was released.我开始这个项目之前,新的固件被释放。
I'm using Arduino 0020 IDE.我使用的Arduino 0020 IDE中。
This is my first Arduino project, so don't laugh too much at my programming skill这是我第一次阿尔杜伊诺项目,所以不要笑我太多的编程技巧
Please please please , test this in-door so you don't get fly away when you assign a wrong value to a variable请请请,测试这门这样你就不会飞走,当您得到一个错误的值赋给一个变量
[24Nov10] Full instructions [24Nov10]的完整说明
The Yellow Jacket is perfect.黄河外套是完美的。 The size and weight is good.大小和重量是好的。 The Drone now flies very smooth and proportional to the stick.无人机飞行非常顺利,现在成正比的棒。
Here's a quick write up, will add more when have a chance这里有一个快速写起来,将增加更多的时候有机会
1) Hardware 1)硬件
You will need您将需要
1.1) Yellow Jacket An Arduino mini clone with WiFi on-board. 1.1) 耶洛贾基特板载阿尔杜伊诺迷你克隆与WiFi。
1.2) FTDI USB Basic Breakout - 5V Required for downloading the sketch into the Yellow Jacket 1.2) FTDI USB基本突围- 5V的素描下 载所需的入黄夹克
1.3) Receiver. 1.3)接收器。 I'm using this one from Hobbycity But I'm sure most receivers will work.我使用这从一个Hobbycity但我敢肯定,大多数接收机将工作。
The following RX also tested to be working下面的接收工作也通过测试,
- Spektrum AR6200 - Spektrum AR6200
- JR790UL spcm Rx (72 Mhz) - JR790UL spcm接收(72赫兹)
1.4) 5V power for your Rx. 1.4)5V电源为您的接收。 I'm using a small Switching BEC connectted to the balance plug of the Drone LiPo battery.我使用的一个小开关BEC的连通到无人机锂电平衡插头。 A linear voltage regulator , such as 7805, would be better as it should have low noise.线性稳压器,如7805等,会更好,因为它应该具有低噪音。
2) Wiring 2)接线
We will be using the Digital pins, 3,4,5,6 and 7 on the Yellow jacket to connect to the Signal pin of the Rx.我们将使用数字引脚,在黄马褂3,4,5,6和7连接到了接收信号引脚。 The YJ will get its power from the Rx.该YJ将得到它从接收功率。 Similar to servo getting the power from the Rx.伺服得到类似的接收功率。
3)软件
3.1) Arduino IDE. 3.1)的Arduino的IDE。 I'm using the 0020 version.我使用的是0020版本。 This will be used to modify and download the code to the Yellow Jacket.这将用于修改和下 载代码到黄河夹克。
3.2 The latest sketch. Attached. When unzipped, there should be 3 files under the "RC_AR_Drone_V2_YJ" folder. 3.2最新的素描。 附加。解压时,应当有3文件夹下的“RC_AR_Drone_V2_YJ”。 Do not change the folder or the filenames.不要更改文件夹或文件名。 Arduino IDe requires the filename and folder name to be the same.阿尔杜伊诺IDE需要的文件和文件夹的名称相同。 And do not place this folder inside the Arduino IDE folder.也不可在这里面的阿尔杜伊诺IDE的文件夹。
3.3 Yellow Jacket WiFi driver. Attached. Unzip into the libraries folder of the Arduino IDE folder. 3.3耶洛贾基特WiFi驱动。 附加。文件夹解压缩到阿尔杜伊诺IDE的库文件夹中。 You should have something similar to ....\libraries\WiShield你应该有类似的东西.... \库\ WiShield
4) Upload Sketch. 4)上传素描。
4.1) Plug the breakout board to the YJ. 4.1)接口板插入但二者之间。 Make sure the GND pin on the breakout board and GND pin on the YJ matches.确保董事会对突破GND引脚和GND引脚的鹰击比赛。
4.2) Plug a mini USB cable to the breakout board and to a USB port on your computer 4.2)插入一个迷你的USB电缆连接到接口板,并在您的计算机的USB端口
4.3) Wait for Windows to detect the new device. 4.3)等待Windows检测新装置。 It should be detected as a COM port.它应被检测为一个COM端口。 If required, the driver is located at ...drivers\FTDI USB Drivers under the Arduino IDE folder如果需要,司机驾驶位于... \ IDE文件夹下的阿尔杜伊诺FTDI的USB驱动程序
4.4) Open the Arduino IDE and load the Sketch RC_AR_Drone_V2_YJ.pde 4.4)打开阿尔杜伊诺IDE和负载素描RC_AR_Drone_V2_YJ.pde
4.5) Under Tools->Serial Port, choose the new COM port that has just been added. 4.5)根据工具“>串行端口,选择新的COM端口,刚刚被添加。
4.6) Under Tools->Board , choose "Arduino Pro or Pro Mini (5V, 16MHz) w/ATmega328" 4.6)根据工具“>板,选择”阿尔杜伊诺Pro或临迷你(5V电压,16MHz时)w/ATmega328“
4.7) Now upload the sketch to YJ 4.7)现在上传到鹰击素描
4.8) Once uploaded, open the Serial port monitor under Tools. 4.8)一旦上传,在工具打开串行端口监视器。 Set the speed to 38400.设置速度为38400。
4.9) You should now see some messages complaining about Moving the stick to middle. 4.9)你现在应该看到一些消息有关移动坚持中间抱怨。
... ... Need some sleep now, to be continued......现在需要一些睡眠,未完待续......
收音机设置
5.1) With Tx sticks in the middle and your CH5 switch in low position. 5.1)凭借TX插在中间,你CH5的开关处于低位。 You should see the "Aux:9xx" value close to the 900 value.您应该看到“辅助:9xx”值接近900的价值。 If your "Aux" value is near 2000 then you need to reverse your AUX channel如果你的“辅助”的价值近2000,那么你需要调整你的AUX通道
Aux : 950 Throttle : 1477 Yaw : 1503 Roll : 1497 Pitch : 1503 Please move stick to middle positionon... 奥克斯:950节气门:1477偏航:1503卷:1497点距:1503请将坚持中间positionon ...
Adjust your Aux "End point" so that when the switch at low postion the "Aux:value" is about 950调整你的辅助“终点”,以便在低位时切换“辅助:值”约950
Adjust your Aux "End point" so that when the switch at high postion the "Aux:value" is about 2000调整你的辅助“结束点”,这样,当在高的位置切换“辅助:值”是关于2000年
You should now get the following message.您现在应该得到以下消息。 (With Aux at low position) (在低位置辅警)
[ 本帖最后由 心在自由飞翔 于 2010-12-18 22:57 编辑 ] |
欢迎继续阅读楼主其他信息
|