This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https://www.bitcraze.io/documentation/system/]] ====== Expansion decks ====== * [[projects:crazyflie2:expansionboards:ledring|LED-ring expansion deck]]: The LED-ring expansion deck * [[projects:crazyflie2:expansionboards:buzzer|Buzzer expansion deck]]: The Buzzer expansion deck * [[projects:crazyflie2:expansionboards:qi|Qi expansion deck]]: The Qi inductive charging expansion deck * [[projects:crazyflie2:expansionboards:qi1_2|Qi 1.2 deck]]: Qi 1.2 compatible wireless charging deck * [[projects:crazyflie2:expansionboards:proto|Prototype expansion deck]]: The prototype expansion deck * [[projects:crazyflie2:expansionboards:breakout|Breakout expansion deck]]: The breakout expansion deck * [[projects:crazyflie2:expansionboards:bigquad|BigQuad expansion deck]]: Expansion deck to build a bigger quad * [[projects:crazyflie2:expansionboards:microsd|Micro SD expansion deck]]: Expansion deck to read, write files to SD-card. * [[projects:crazyflie2:expansionboards:zranger|Z-ranger expansion deck]]: Expansion deck for precise height control. * [[projects:crazyflie2:expansionboards:bosch|Bosch Sensortec expansion deck]]: Expansion deck with a variety of Bosch Sensortec sensors * [[projects:crazyflie2:expansionboards:lighthouse|Lighthouse positioning deck]]: Expansion deck that supports the SteamVR Lighthouse positioning * [[projects:crazyflie2:expansionboards:mocapmarker|Motion capture marker deck]]: Expansion deck where motion capture markers can easily be mounted * [[projects:crazyflie2:aideck|AI-deck]]: Expansion deck with a camera, WiFi an AI on the edge MCU. [[projects:crazyflie2:expansionboards:template|Expansion board template]]: The Crazyflie 2.0 expansion port template explained ===== Mechanical architecture ===== Expansion boards can be installed on top, bottom, or both top and bottom of the Crazyflie 2.0. The Crazyflie 2.0 and expansion board have female, pass-through connectors that can be fitted with male pins. Pins in two differing lengths exist to permit installation of either one expansion board on top, one board on bottom and one on top, or two boards on top. There should always be one expansion board or battery holder on top to secure the battery, unless the battery is held by other means (ie. rubber band, sticky pad, etc...). ==== Orientation ==== **WARNING**: It is important to install expansion boards in the right orientation. Installing a board in the wrong orientation might damage the expansion board and the Crazyflie 2.0. All expansion boards display a logo describing the correct orientation: {{:projects:crazyflie2:expansionboards:orientation-symbols.png?direct&800|}} ==== One expansion board on top ==== {{:projects:crazyflie2:expansionboards:exp_schetch_1top.png?direct&800|}} ==== One expansion board on top, one on bottom ==== {{:projects:crazyflie2:expansionboards:exp_squetch_1top1bottom.png?direct&800|}} ==== Two expansion board on top ==== {{:projects:crazyflie2:expansionboards:exp_squetch_2top.png?direct&800|}} ===== Expansion port pinout ===== {{:projects:crazyflie2:expansionboards:connector_multiplexing2.png?direct&900|}} * The Crazyflie 2.0 is a 3.0V system, meaning a high output will be 3.0V but still compatible with a 3.3V system. * VCC can supply max 100mA * VCOM can supply max 1.0A * All IO pins are 5V tolerant except PA5 and the NRF51 pins * The NRF51 pins can be multiplexed with any of the available NRF51 peripheral. * The STM32F405RG pins can be multiplexed with more functions. For full specification see the datasheets of the NRF51 and the STM32F405 ===== Expansion board detection ===== Expansion boards are detected by having a one-wire memory cabled on the OW pin. At startup memories are detected and read by the power management MCU, the nRF51822. If no incompatibility is detected the nRF51 starts the system and makes available the memories content to the application processor, the STM32F4, where the application code is running. ===== Deck info ===== ^ VID ^ PID ^ ID ^ Name ^ Weight ^ Consumption ^ Mount location ^ Details page ^ Schematic ^ | 0xBC | 0x01 | bcLedRing | LED-ring | 3.3g | 0 - 700mA | Below | [[projects:crazyflie2:expansionboards:ledring|link]] | {{projects:crazyflie2:expansionboards:led-ring_revb.pdf|link}} | | 0xBC | 0x02 | bcQi | Qi charger | 5g | N/A | Below | [[projects:crazyflie2:expansionboards:qi|link]] | {{projects:crazyflie2:expansionboards:qi_revb1.pdf|link}} | | 0xBC | 0x04 | bcBuzzer | Buzzer | 1.8g | 10mA | Below/Above | [[projects:crazyflie2:expansionboards:buzzer|link]] | {{projects:crazyflie2:expansionboards:buzzer-revc.pdf|link}} | | 0xBC | 0x05 | bcBigQuad | Big quad | 3.8g | N/A | Below/Above | [[projects:crazyflie2:expansionboards:bigquad|link]] | {{projects:crazyflie2:expansionboards:bigquad-revc.pdf|link}} | | 0xBC | 0x06 | bcDWM | UWB LPS | 3.3g | 160mA | Below/Above | [[projects:lps:deck|link]] | {{projects:lps:loco_deck_revd.pdf|link}} | | 0xBC | 0x08 | bcUSD | Micro-SD | 1.7g | ~30mA | Below/Above | [[projects:crazyflie2:expansionboards:microsd|link]] | {{projects:crazyflie2:expansionboards:sdcard_schematics.pdf|link}} | | 0xBC | 0x09 | bcZRanger | Z-Ranger | 1.3g | ~15mA | Below | [[projects:crazyflie2:expansionboards:zranger|link]] | {{ :projects:crazyflie2:expansionboards:z-ranger_rev.b.pdf|link}} | | 0xBC | 0x0A | bcFlow | Flow | 1.6g | ~40mA | Below | [[projects:crazyflie2:expansionboards:flow|link]] | {{ :projects:crazyflie2:expansionboards:flow-deck_reve.pdf | link }} | | 0xBC | 0x0B | bcOA | Obstacle Avoidance | N/A | ~0.3mA | Above | N/A | N/A | | 0xBC | 0x0C | bcMultiranger | Multi-ranger | N/A | ~90mA (depending on mode) | Above | N/A | N/A | | 0xBC | 0x0D | bcMocap | Mocap marker deck | N/A | 0mA | Above | N/A | N/A | | 0xBC | 0x0E | bcZRanger2 | Z-Ranger v2 | 1.3g | ~15mA | Below | N/A | N/A | | 0xBC | 0x0F | bcFlow2 | Flow v2 | 1.6g | ~40mA | Below | N/A | N/A | | 0xBC | 0x10 | bcLighthouse4 | Lighthouse-4 | 2.7g | ~40mA | Above | N/A | N/A | ===== Deck pin allocation ===== Below is a table showing which pins each deck uses. The table also contains information about boards that are not released yet, these are subject to change. Assignments in parenthesis are unconnected but connectable via solder bridges or 0 Ohm resistors and are thus alternative connections. The idea is to make it possible to re-route a connection if you want to use two decks where the connections collide. | ^ UART1 ^^ I2C ^^ STM32 IO ^^^^ UART2 ^^ SPI ^^^ nRF51 IO ^^ ^ Name ^ RX1 ^ TX1 ^ SDA ^ SCL ^ IO1 ^ IO2 ^ IO3 ^ IO4 ^ TX2 ^ RX2 ^ CLK ^ MOSI ^ MISO ^ NIO1 ^ NIO2 ^ PWR ^ ^ bcLedRing | | | | | | PWM | PWM | | | | | | | | | VCOM | ^ bcQi | | | | | | | | | | | | | | GHG | | N/A | ^ bcGPS | X | X | | | //(PP)S// | | //(RST)// | | //(X)// | //(X)// | | | | | //(VBAT)// | VCOM | ^ bcUSD | | | | | //(CS)// | //(CS)// | //(CS)// | CS | | | X | X | X | | | VCC | ^ bcDWM | IRQ | RST | | | CS | //(IRQ)// | //(RST)// | | | | X | X | X | | | VCOM | ^ bcBigQuad | //(X)// | //(X)// | //(X)// | //(X)// | | **X** | **X** | //(X)// | **X** | **X** | //(X)// | //(X)// | //(X)// | | | N/A | ^ bcBuzzer | | | | | | | | | PWM | PWM | | | | | | N/A | ^ bcESP | | | | | | | | //(X)// | X | X | | | | | | N/A | ^ bcZRanger, bcZRanger2 | | | X | X | | //(X)// | | | | | | | | | | VCC | ^ bcFlow, bcFlow2 | | | X | X | | //(X)// | X | | | | X | X | X | | | VCC | ^ bcOA | | | X | X | | | | | | | | | | | | VCC | ^ bcMultiranger | | | X | X | | | | | | | | | | | | VCOM | ^ bcMocap | | | | | | //(X)// | //(X)// | | | | | | | | | N/A | ^ bcLighthouse4 | X | X | X | X | | | | | | | | | | | | N/A | ===== Compatibility matrixes ===== ==== Platform - deck ==== This table shows which deck that works on which platform. | ^ Crazyflie 2.X ^ Roadrunner ^ ^ LED-ring | yes | yes | ^ Qi charger | yes | yes | ^ Micro-SD | yes | *1 | ^ UWB LPS | yes | | ^ Big quad | yes | yes | ^ Buzzer | yes | | ^ bcESP | yes | yes | ^ Z-Ranger, Z-Ranger V2 | yes | yes | ^ Flow, Flow V2 | yes | yes | ^ Multi-ranger | yes | yes | ^ Mocap marker deck | yes | yes | ^ Lighthouse-4 | yes | *2 | ==== Deck - deck ==== This table shows which decks that can be used at the same time. **Note**: This matrix is for unmodified decks and the standard firmware. Some decks can be modified to use other pins on the expansion port and thus work with decks that are marked as not compatible. Also decks that are normally physically blocking each other are marked as not compatible. | ^ LED-ring ^ Qi charger ^ Micro-SD ^ UWB LPS ^ Big quad ^ Buzzer ^ bcESP ^ Z-Ranger ^ Flow ^ Multi-ranger ^ Mocap marker deck ^ Lighthouse-4 ^ ^ LED-ring | | | yes | yes | | yes | yes | | | yes | yes | yes | ^ Qi charger | | | yes | yes | yes | yes | yes | | | yes | yes | yes | ^ Micro-SD | yes | yes | | *1 | yes | yes | yes | yes | *1 | yes | yes | yes | ^ UWB LPS | yes | yes | *1 | | yes | yes | yes | yes | yes | yes | yes | *2 | ^ Big quad | | yes | yes | yes | | | | yes | | yes | yes | *2 | ^ Buzzer | yes | yes | yes | yes | | | | yes | yes | yes | yes | yes | ^ bcESP | yes | yes | yes | yes | | | | yes | yes | yes | yes | yes | ^ Z-Ranger, Z-Ranger V2 | | | yes | yes | yes | yes | yes | | | yes | yes | yes | ^ Flow, Flow V2 | | | *1 | yes | | yes | yes | | | yes | yes | yes | ^ Multi-ranger | yes | yes | yes | yes | yes | yes | yes | yes | yes | | yes | yes | ^ Mocap marker deck | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | | yes | ^ Lighthouse-4 | yes | yes | yes | *2 | *2 | yes | yes | yes | yes | yes | yes | | **Notes:** - SPI sharing issue, see https://github.com/bitcraze/crazyflie-firmware/issues/270 - Will be supported in the future, SW update