Construction quadropter
Quadropter / Quadropter / QuadTrollPter we intend to build a home-made quadropter with video streaming feature for remote control and HD video recording for processing after the shot strike |
Hardware
Je viens d'acheter ce materiel sur le site http://www.rctimer.com
2212-15 | 930KV Outrunner Brushless Motor (x4) | $43.96 |
---|---|---|
ESC 30A | Prgrammable ESC 30A Brushless Motor Speed Controller (x4) | $43.96 |
CFN1045 | 1 Pair Carbon Reinforced 10x4.5" Counter Rotating Propellers (x4) | $15.96 |
KK-5.5 | KKmulticontroller V5.5 Controller Board (x1) [1] | $19.99 |
11.1V 2200mAh 15C | 2Set 11.1V 2200mAh 15C Lipo Battery Black-B (x2) | $44.98 |
Air Control
The aim is to do servo-controlling (of angular speed). Servo-controlling for the n00bs: [2]
Control the propeller in order to enable air control. ATMEGA168P based mainboard. (same chip as on Arduino but needs an external ISP programmer)
With components side up, it seems "gyro reverse" must be enabled (later, see doc #missing link# for the asian named guy code)
Firmwares
Build KapteinKUKs Simple and Low Part Count Quad, Hex and Tricopter Flight Controller http://www.rcgroups.com/forums/showthread.php?t=1143569 http://www.rcgroups.com/forums/showthread.php?t=1143569&page=232#post15729361
Memory management
It seems that the flash of a uC cannot be modified by the running program while the eeprom can. So, flash should contain the program, eeprom should contain preferences.
Compilation and flashing toolchain
Tested on Ubuntu & ArchLinux, doc is done for Ubuntu
Install required tools: sudo apt-get install flex byacc bison gcc avrdude avr-libc gcc-avr libusb-1.0-0 libusb-1.0-0-dev libc6-dev
Compiling
avr-gcc -mmcu=atmega168p -O1 -I/usr/lib/avr/include/avr/ XXcontrol.c
Converting .out -> .hex
avr-objcopy -O ihex a.out out.hex
Flashing
Connect ISP programmer "usbtiny" to the computer and kk blackboard. Run test to check connectivity with the board:
sudo avrdude -c usbtiny -p m168
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e940b avrdude: Expected signature for ATMEGA168 is 1E 94
Double check chip, or use -F to override this check.
avrdude done. Thank you.
If this works, it should be able to flash programs using:
sudo avrdude -c usbtiny -p m168p -U flash:w:code.hex:i
Some platforms do not know the 168PA, neither 168P, but they know 168 -> use 168 profile and -F option to force ignoring signature checking:
sudo avrdude -F -c usbtiny -p m168p -U flash:w:code.hex:i
(checked using a hello world)
Pots tuning
It seems the Minsoo Kim code is running only a proportionnal P corrector as the doc talks about "gains". So the 3 pots control the gain for each direction (see labels on the board) with Minsoo Kim firmware.
[ http://www.kkmulticopter.com/downloads/resources/KKXXKR%20Settings%20Manual.pdf]
KapteinKuK PID firmware seems using the pots for setting P,I and D.
Video Stream
Here we discuss how to enable the following set-up : One camera for remote control feedback with cheap resolution and one camera for HD recording.
Video aquisition
- http://www.rangevideo.com/index.php?main_page=product_info&products_id=135
- http://www.youtube.com/watch?v=Slx0EmJo85c
Simpler / cheaper solution: (no drift, using IR horizon)
- http://diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A2525
- http://www.instructables.com/id/Single-HD-Gyro-Image-stabilizer/
- http://www.instructables.com/id/Universal-2-Gyro-Image-stabilizer/
Remote Control
- planète de playstation
- Recepteur radio MatV: FS-R6A (commande dead)
- Fréquences : [ http://www.aurel32.net/elec/frequences_radio.php]
Documentation
- http://hackerspaces.org/wiki/OccuCopter
- http://ng.uavp.ch/moin/FrontPage
- http://vision-du-ciel.com/Drone-multirotor-exapix-le-drone-a-tout-faire-020111.html
- http://team-blacksheep.com/
- http://www.multiwii.com/ (general purpose software to control a multirotor RC model)
- https://sites.google.com/site/fpgaandco/minima
- http://tom11.com/blog/?p=23 (landing gear interesting)
- https://ardupilotdev.googlecode.com/files/DIYquadricopter_en.pdf
- http://aeroquad.com/ AeroQuad - The Open Source Quadcopter
- https://www.aeroquadstore.com/
- GPS receiver on AeroQuad store
- http://wiki.leloop.org/index.php/Category:Quadcopter Projet de quadcopter au loop.
Dropez des liens ici
- blablabla: Kit low cost : [ http://www.getfpv.com/tricopter/pro-tricopter-delrin-kit-black.html]
- blablabla: http://www.mikrokopter.de/
- blablabla: https://www.mikrocontroller.com/index.php?main_page=index&cPath=80 << cher
- blablabla: http://www.fpvmanuals.com/2012/05/19/tricopter-build-manual-v1-2/
- blablabla: apres il faut monter l'electronique