Crazyflie Deck design

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

Crazyflie Deck design

Post by Narasing » Mon Mar 20, 2017 10:38 am

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: 1541
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Crazyflie Deck design

Post by tobias » 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.

Narasing
Beginner
Posts: 7
Joined: Thu Feb 23, 2017 9:43 am

Re: Crazyflie Deck design

Post by Narasing » Thu Mar 30, 2017 6:26 am

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: 1207
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Deck design

Post by arnaud » Thu Mar 30, 2017 6:39 am

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 » Thu Aug 10, 2017 12:46 pm

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: 1207
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Deck design

Post by arnaud » Fri Aug 11, 2017 8:38 am

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 » Fri Aug 11, 2017 10:41 am

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: 1207
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Deck design

Post by arnaud » Mon Aug 14, 2017 9:21 am

Hi, Thanks a lot for the PR! I will test and merge it.

Post Reply