Skip to content

Instantly share code, notes, and snippets.

@natevw
Last active December 18, 2015 13:19
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natevw/5789019 to your computer and use it in GitHub Desktop.
Save natevw/5789019 to your computer and use it in GitHub Desktop.

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 pinout RasPi pinout

@natevw
Copy link
Author

natevw commented Jun 23, 2013

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]

@natevw
Copy link
Author

natevw commented Nov 23, 2013

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment