ninjablocks / 433Utils

433Kit is a collection of code and documentation designed to assist you in the connection and usage of RF 433MHz transmit and receive modules to/with your Arduino and Rapberry Pi.
ninjablocks.com
MIT License
893 stars 336 forks source link

Raspberry Pi 3 GPIO pins equivalence #53

Open BehindTheSciences opened 6 years ago

BehindTheSciences commented 6 years ago

I just wanted to check if my GPIO pin 23 is the Wiring Pin 4. In other words, my RX data pin is connected to Wiring Pin 4 as it's shown in that picture. but is that correct also for Raspberry Pi 3? Because I don't receive any data. I edited the RFSniffer.cpp file, where it says "int PIN = 2;" I put "int PIN = 4;" is that correct? If so, something else may be wrong.

RednibCoding commented 5 years ago

The side where your micro sd card is, is the upper side:

Left row from up to down:

1 3v3 Power 3 BCM 2 (WiringPi 8) 5 BCM 3 (WiringPi 9) 7 BCM 4 (WiringPi 7) 9 Ground 11 BCM 17 (WiringPi 0) 13 BCM 27 (WiringPi 2) 15 BCM 22 (WiringPi 3) 17 3v3 Power 19 BCM 10 (WiringPi 12) 21 BCM 9 (WiringPi 13) 23 BCM 11 (WiringPi 14) 25 Ground 27 BCM 0 (ID_SD) 29 BCM 5 (WiringPi 21) 31 BCM 6 (WiringPi 22) 33 BCM 13 (WiringPi 23) 35 BCM 19 (WiringPi 24) 37 BCM 26 (WiringPi 25) 39 Ground

Right row from up to down:

2 5v Power 4 5v Power 6 Ground 8 BCM 14 (WiringPi 15) 10 BCM 15 (WiringPi 16) 12 BCM 18 (WiringPi 1) 14 Ground 16 BCM 23 (WiringPi 4) 18 BCM 24 (WiringPi 5) 20 Ground 22 BCM 25 (WiringPi 6) 24 BCM 8 (WiringPi 10) 26 BCM 7 (WiringPi 11) 28 BCM 1 (ID_SC) 30 Ground 32 BCM 12 (WiringPi 26) 34 Ground 36 BCM 16 (WiringPi 27) 38 BCM 20 (WiringPi 28) 40 BCM 21 (WiringPi 29)