Pin Usage (pin 2)

Firmware/software/electronics/mechanics
Post Reply
ECiocca
Beginner
Posts: 6
Joined: Wed May 30, 2018 9:51 pm

Pin Usage (pin 2)

Post by ECiocca »

Hello All,

I have created a custom deck for my crazyflie 2.0. I am using pins 2, 6, and 9 as digital inputs for IR detection. I have the flow deck attached. Pins 6/9 (IO pins) work as expected. Pin 2 (RX?) is reading high when it should be high but has a spiky fluctuation when it should be low.
Between the basic drone usage and the flow deck, is RX a free pin? If not, what pins ARE available for digital input?
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Pin Usage (pin 2)

Post by arnaud »

I assume by pin2 you mean the pin RX2.

The best to check if a pin is available is to look at the deck page on the wiki: https://wiki.bitcraze.io/projects:crazy ... allocation. According to it there should be no problem using pin2 with the flow.

Did you measure the physical voltage of the pin using an oscilloscope to see if these spikes also shows?
Post Reply