Crazyflie Deck design

Discussions and questions about the Crazyflie Nano Quadcopter
Narasing
Beginner
Posts: 7
Joined: Thu Feb 23, 2017 9:43 am

Crazyflie Deck design

Post by Narasing »

Hi,

In Crazyflie Expansion Left side which pins are you using for IRQ and Reset?
If IO_2 and IO_3 then is their no need for Resistor

Please explain.

Thanks.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Crazyflie Deck design

Post by tobias »

I guess you are referring to the Loco Deck? The IO_2 and IO_3 are optional config instead of RX1 and RX2 pins currently used. Please see schematics for details.
Narasing
Beginner
Posts: 7
Joined: Thu Feb 23, 2017 9:43 am

Re: Crazyflie Deck design

Post by Narasing »

Hi,

Crazyflie 2.0 is 2 layer or 4 layer design?

What you think about design having ESP8266 (a wifi module) instead of nrf51822.

Thanks.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Deck design

Post by arnaud »

Crazyflie 2.0 is a 4 layer design. Using Wifi as main radio is not wanted since Wifi can have unreliable latency, the nRF51 allows to have a near real-time radio communication link.
WoNd3RBoY
Beginner
Posts: 2
Joined: Fri Jan 13, 2017 10:14 am

Re: Crazyflie Deck design

Post by WoNd3RBoY »

tobias wrote: Mon Mar 20, 2017 12:04 pm I guess you are referring to the Loco Deck? The IO_2 and IO_3 are optional config instead of RX1 and RX2 pins currently used. Please see schematics for details.
What does one have to do to use IO_2 and IO_3 instead of RX1 and TX1 for the LOCO deck IRQ and RESET?

I bridged the pads on the bottom side. At the moment it's not working, so I am checking the code if I need to manually change the PINS used for this.
I would like to have UART1 free.

Thanks.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Deck design

Post by arnaud »

Hi,

You will have to change the pin used in the locodeck driver. The cs pin is declared here: https://github.com/bitcraze/crazyflie-f ... deck.c#L64 and the interrupt pin is used there: https://github.com/bitcraze/crazyflie-f ... eck.c#L184

The best I think would be to make a define for the IRQ pin and to have an #ifdef on the to so that you would be able to choose the alternate pinout from config.mk. If you do so, a pull request is welcome so that you can keep using master :-).
WoNd3RBoY
Beginner
Posts: 2
Joined: Fri Jan 13, 2017 10:14 am

Re: Crazyflie Deck design

Post by WoNd3RBoY »

I've done this modification and created a pull request #247.

Please someone test default scenario. I have already bricked the loco deck so I haven't tested default settings, although the alternative pins flag in config.mk works. Thanks!

Cheers! :D
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Deck design

Post by arnaud »

Hi, Thanks a lot for the PR! I will test and merge it.
sstroobants
Beginner
Posts: 20
Joined: Wed Jan 30, 2019 1:13 pm

Re: Crazyflie Deck design

Post by sstroobants »

To free UART1, is it necessary to bridge only GS3 and GS4? I am not exactly sure which pads to solder, but it seems like at least GS3 and GS4 should be bridged, I am not sure about GS1 and GS2.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Deck design

Post by arnaud »

GS1 and GS2 should be cut (there is already a line connecting them, it is quite easy to cut the line between the pads with a cutter).

GS3 and GS4 should indeed be bridged.
Post Reply