This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:crazyflie2:expansionboards:bigquad [2016-03-09 13:16] tobias [Current (2016-03) status notes] |
projects:crazyflie2:expansionboards:bigquad [2021-06-24 16:09] (current) kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https:// | ||
+ | </ | ||
+ | |||
<WRAP center round info> | <WRAP center round info> | ||
The BigQuad deck is currently part of our [[https:// | The BigQuad deck is currently part of our [[https:// | ||
Line 55: | Line 59: | ||
BigQuad expansion deck {{: | BigQuad expansion deck {{: | ||
+ | ===== Compatibility with Loco deck, microSD and Flow (v2) deck ===== | ||
+ | |||
+ | {{ : | ||
+ | The Loco deck, microSD and Flow (v2) deck all uses the SPI bus. As the BigQuad deck uses the deck SPI buss pins for possible voltage and current measurement, | ||
+ | - By removing capacitor C1 on the BigQuad deck. See image on the right. | ||
+ | - Not having BQ_DECK_ENABLE_PM defined. | ||
+ | - Disabling the extRx functionality by commenting out [[https:// | ||
+ | Capacitor C1 is used to filter the current measurement and removing this has the effect that it will not be filtered any more. Still possible to use it if a deck using the SPI is not wanted any more. | ||
+ | |||
+ | To make it work with the Flow (v2) deck more changes/ | ||
+ | - The Flow HW ChipSelect (IO3) interfere with BigQuad PWM and needs to be moved. Cut trace and solder patch on Flow deck from IO3 to IO1. | ||
+ | - Change the CS pin in [[https:// | ||
+ | |||
+ | Next problem is how to mount the deck in a nice way on the quad, we leave that up to you. | ||
====== Setting up ====== | ====== Setting up ====== | ||
<WRAP center round warning> | <WRAP center round warning> | ||
====A big quad is dangerous so make sure to be SAFE!==== | ====A big quad is dangerous so make sure to be SAFE!==== | ||
</ | </ | ||
- | Currently there is only a basic setup but as the developments advance | + | Currently there is only a basic setup but as the development advances |
- | Start by mounting the big quad deck on the frame. After that connect the ESCs according to the diagrams below. | + | Start by mounting the big quad deck on the frame. After that connect the ESCs according to the diagrams below. **Note** that the 5V is needed for the motor signals and is not optional. |
===== Basic connection diagram ===== | ===== Basic connection diagram ===== | ||
Line 69: | Line 87: | ||
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
- | If the frame allows the Crazyflie 2.0 motors | + | The front of the Crazyflie 2.0 should be pointing in the direction of the arrows (front) on the BigQuad deck. |
+ | |||
+ | If the frame allows | ||
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
Line 80: | Line 101: | ||
==== Enable BigQuad features ==== | ==== Enable BigQuad features ==== | ||
Make sure to have the crazyflie-firmware code updated to a later version then [[https:// | Make sure to have the crazyflie-firmware code updated to a later version then [[https:// | ||
- | Then define the flag [[https:// | + | Then define the flag [[https:// |
< | < | ||
CFLAGS += -DENABLE_BQ_DECK | CFLAGS += -DENABLE_BQ_DECK | ||
</ | </ | ||
Clean and build the firmware and flash it using you preferred method. | Clean and build the firmware and flash it using you preferred method. | ||
- | Now when the Crazyflie 2.0 is started and it is connected to the BigQuad deck it will start outputting PWM signals to the ESC connectors. | + | Now when the Crazyflie 2.0 is started and it is connected to the BigQuad deck it will start outputting PWM signals to the ESC connectors. |
- | + | ===== Current firmware status notes (2019-10)===== | |
- | ===== Current firmware status notes (2016-03)===== | + | |
* CPPM input is working but calibration and dynamic channel setup is not implemented yet. Doing the first tests with cfclient and gamepad is wise but might not be as reliable as a RC transmitter and receiver, yet. | * CPPM input is working but calibration and dynamic channel setup is not implemented yet. Doing the first tests with cfclient and gamepad is wise but might not be as reliable as a RC transmitter and receiver, yet. | ||
- | * When the BQ-Deck is detected it will automatically switch to brushless motor drivers. It will be noted in the cfclient console if it detected | + | * When the BQ-Deck is detected it will automatically switch to brushless motor drivers. It will be noted in the cfclient console if it is detected or not. |
* 1mbit or 2mbit datarate seem to be more stable when communicating with the BigQuad deck attached. It is wise to do a range test before flying far away. | * 1mbit or 2mbit datarate seem to be more stable when communicating with the BigQuad deck attached. It is wise to do a range test before flying far away. | ||
- | * Different PID tuning parameters might be needed for it to fly well. Currently this has to be [[https:// | + | * Different PID tuning parameters might be needed for it to fly well. Currently this has to be [[https:// |
- | * External battery voltage/ | + | * External battery voltage/ |
- | * The PWM output is set to 400Hz. Use ESC which can handle this or compile with [[https:// | + | * The PWM output is set to 400Hz. Use ESCs which can handle this or compile with [[https:// |
* **Be safe**, it is experimental software. Run all testing **without** props! | * **Be safe**, it is experimental software. Run all testing **without** props! | ||
====== Reference setup ====== | ====== Reference setup ====== |