Stax

Raspberry Pi GPIO पिनआउट

Raspberry Pi का पूर्ण 40-पिन GPIO रेफरेंस।

5V Power3.3V PowerGPIOGNDSpecial
Bus quick reference
InterfaceBCM PinsPhysical
UARTBCM 14 (TX), BCM 15 (RX)Phys 8, 10
I2C1BCM 2 (SDA), BCM 3 (SCL)Phys 3, 5
SPI0BCM 10 (MOSI), 9 (MISO), 11 (SCLK), 8 (CE0), 7 (CE1)Phys 19,21,23,24,26
SPI1BCM 20 (MOSI), 19 (MISO), 21 (SCLK), 18/17/16 (CE)Phys 38,35,40,12,11,36
PWMBCM 12 (PWM0), BCM 13 (PWM1), BCM 18 (alt)Phys 32,33,12
1-WireBCM 4 (default)Phys 7
Raspberry Pi 40-pin GPIO header (BCM numbering). All GPIO are 3.3V logic — NOT 5V tolerant.

Raspberry Pi GPIO पिनआउट क्या है?

यह Raspberry Pi का complete 40-pin GPIO reference है — Pi 3, 4, 5 सब के लिए। Power, GPIO, I²C, SPI, UART pins identified।

GPIO pinout का उपयोग कैसे करें

  1. 40-pin header visual देखें।
  2. BCM और Physical pin numbers।
  3. Functions: GPIO, I²C, SPI, UART।
  4. Power pins (3.3V, 5V, GND)।

GPIO features

  • 26 GPIO pins (3.3V tolerance)
  • I²C: SDA (GPIO 2), SCL (GPIO 3)
  • SPI: MOSI, MISO, SCLK, CE0, CE1
  • UART: TXD (GPIO 14), RXD (GPIO 15)
  • PWM: GPIO 12, 13, 18, 19

अक्सर पूछे जाने वाले प्रश्न

Raspberry Pi GPIO क्या हैं?
40-pin header — General Purpose Input/Output। 26 GPIO pins, plus power (3.3V, 5V), GND, और special-function pins (I²C, SPI, UART)। Linux से programmatic access — Python, Node.js, C/C++।
Pi vs Arduino में फर्क?
Pi: full Linux computer, ज्यादा processing power, network out-of-box, video output। Arduino: real-time, simpler, low-power, microcontroller। Pi hub/server, Arduino sensor/actuator। दोनों मिलकर use करें।
I²C, SPI, UART क्या हैं?
I²C — 2-wire serial (sensors, displays)। SPI — fast 4-wire (cards, fast displays)। UART — 2-wire async (GPS, Bluetooth modules)। Pi में पहले से dedicated pins available — हर protocol के लिए।
GPIO voltage 3.3V है, 5V का क्या?
Pi GPIO 3.3V tolerance — 5V लगाने से damage हो सकता है। Level shifters (logic level converters) use करें 5V devices के साथ। Voltage divider basic shifts के लिए acceptable।

संबंधित टूल्स