use Crazyflie Bold with Flow and CPPM Receiver

Post here to get support
Post Reply
4things
Beginner
Posts: 9
Joined: Wed Mar 02, 2022 8:27 pm

use Crazyflie Bold with Flow and CPPM Receiver

Post 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.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: use Crazyflie Bold with Flow and CPPM Receiver

Post 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.
Post Reply