public
Last active

  • Download Gist
raspi_nrf24.md
Markdown

PCB pinout

Picking pins so they are contiguous:

rpi - nrf
 20 - 1     gnd
 17 - 2     vcc
 18 - 3     ce  [rpi GPIO 24]
 24 - 4     csn
 23 - 5     sck
 19 - 6     mosi
 21 - 7     miso
 22 - 8     irq [rpi GPIO 25]

rpi - nrf
 17 - 2     vcc
 18 - 3     ce
 19 - 6     mosi
 20 - 1     gnd
 21 - 7     miso
 22 - 8     irq
 23 - 5     sck
 24 - 4     csn

Note this now includes IRQ. See previous revision for RF24 notes.

RasPi pinoutRasPi pinout

c.f. http://www.raspberrypi.org/phpBB3/viewtopic.php?f=45&t=17061&start=75#p303769 — the pin assignments above required RF24 radio(BCM2835_SPI_CS0, RPI_V2_GPIO_P1_22, BCM2835_SPI_SPEED_8MHZ); instead of the the more correct seeming RF24 radio(RPI_V2_GPIO_P1_22, BCM2835_SPI_CS0, BCM2835_SPI_SPEED_8MHZ); Notes above have been updated. [in previous rev]

For Teensy I think it's:

nrf teensy
1 gnd   [rail]
2 vcc   [rail]
3 ce    4
4 csn   0
5 sck   1
6 mosi  2
7 miso  3
8 irq   [nc]

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.