Page 1 of 1

use Crazyflie Bold with Flow and CPPM Receiver

Posted: Thu Mar 17, 2022 7:17 am
by 4things
Hey i need to use Crazyflie with brushless motors and flow deck.
how is it possible to connect external cppm receiver?
any solution will be a solution.

Thank you in advance.

Re: use Crazyflie Bold with Flow and CPPM Receiver

Posted: Thu Mar 17, 2022 10:16 am
by tobias
This should be possible by remapping CPPM to IO_1. This is not available for easy soldering on the BQ-deck but should be solvable by hooking it up elsewhere. Since we recently moved to KBuild easiest is probably to:

Code: Select all

#define CPPM_USE_PB8 // Remap to IO_1
in the top of the cpp.c file.

The Flow deck Chip Select (CS) would have to be moved as well as it uses IO_3 which BQ-deck uses for motor signal M2. This requires a patch of the Flow deck so that IO_4 from the Crazyflie connects to IO_3 on the Flow deck. The code in flowdeck_v1v2.c:

Code: Select all

#define NCS_PIN DECK_GPIO_IO3
should change to

Code: Select all

#define NCS_PIN DECK_GPIO_IO4
Also you probably have to remove C1 from the BQ-deck as it otherwise interfere with the Flow deck SPI.