Grablo Help Grablo Help
  • User Manual
  • Tips
  • News
  • Go to
    • Grablo Home
    • Grablo App
  • 한국어
Grablo Help Grablo Help
문의하기
Grablo Help Grablo Help
  • User Manual
  • Tips
  • News
  • Go to
    • Grablo Home
    • Grablo App
  • 한국어
loading
  1. Home
  2. Tips
  3. Hardware
  4. Raspberry Pi
  5. GPIO
Updated on August 11, 2025

Tips

  • Folder icon closed Folder open iconBasics
    • Bits and Bytes
    • Digital Input/Output
    • Digital/Analog Signals
    • Calculating LED Resistor Values
    • Pull-up/down Resistors
    • 3.3V ↔ 5V Conversion
    • Serial Communication (UART)
    • DC Motor, Servo Motor, Stepper Motor
    • Multi Thread
    • Relay
  • Folder icon closed Folder open iconHardware
    • Raspberry Pi
      • GPIO
      • Installing Operating System
      • How to Change 1-Wire Pin
      • How to Find I2C Device Addresses
      • Raspberry Pi vs Arduino
      • Serial (UART) Port
      • Using Desktop Environment with VNC
    • Beagle Bone
      • GPIO
      • Installing Operating System
    • Jetson Nano
      • GPIO
      • Installing Operating System
    • GPIO Expander
      • FT232H/FT2232H/FT4232H
      • MCP2221A
      • NUMATO USB-GPIO
  • Folder icon closed Folder open iconLinux
    • Linux Directory Structure
    • Configuring Linux Auto Login
    • Installing Linux on Windows (Virtual Machine)
    • Installing Linux on macOS (Virtual Machine)
    • Installing SSH Server
    • Finding Your Controller’s IP Address
    • Connecting via SSH
    • Transferring Files Between PC and Controller
    • Fixing “User is not in the sudoers file” Error
  • Folder icon closed Folder open iconAudio/Video
    • Fixing Audio Stuttering and Latency Issues
    • Playing Audio Through Bluetooth Speakers
    • Selecting Instruments from SoundFont Files
    • Fixing “Failed to create new vlc instance” Error
  • Folder icon closed Folder open iconDatabase
    • Setting Up Firebase Database
  • Folder icon closed Folder open iconIoT
    • Setting Up Google Cloud TTS/STT
    • Setting Up OpenAI TTS/STT
    • Setting Up ElevenLabs TTS
    • Setting Up Telegram Bot
    • Getting Data from WeatherAPI.com

GPIO

Estimated reading: 3 minutes 305 views

GPIO stands for General Purpose Input/Output, which refers to a general-purpose input/output interface. These are pins used to control various external devices such as push buttons, LEDs, and sensors.


All currently released Raspberry Pi models provide 40-pin GPIO, and the function of each pin is the same regardless of the model. There are two methods for numbering pins: one based on the connector pin numbers (Physical/Board) and another based on the Broadcom CPU channel numbers (GPIO/BCM).

All pin numbers used in Grablo are based on GPIO/BCM. Therefore, care must be taken not to confuse GPIO pin numbers with connector pin numbers.

In the pin map above, the numbers shown in circles are the connector pin numbers, and the numbers labeled “GPIO xx” are the GPIO pin numbers.


You can connect to GPIO more conveniently by using GPIO expansion boards available in the market.



3.3V, 5V, GND(Ground)

Pins for supplying power to external devices.

The current consumption of connected external devices must not exceed the maximum allowable current of the pins.
– 3.3V pin: approximately 800mA
– 5V pin: approximately 2.5A minus the Raspberry Pi’s own current consumption (including camera, USB, etc.) and 3.3V pin current consumption

For external devices with high current consumption such as motors and many LEDs, it is recommended to supply power from a separate external power source.


Hardware I2C Pins

GPIO 2 and 3 are pins for I2C communication. They can also be used as general digital input/output pins.


Hardware SPI Pins

GPIO 7, 8, 9, 10, and 11 are pins for SPI communication. They can also be used as general digital input/output pins.


Serial (UART) Communication Pins

GPIO 14 and 15 are pins for serial (UART) communication. They can also be used as general digital input/output pins.


Hardware PWM Pins

GPIO 12 and 13 are pins for hardware PWM output. They can also be used as general digital input/output pins.


Other GPIO Pins

Pins for general digital input/output.

Raspberry Pi does not have analog input pins. Therefore, to receive analog signals, you must use a separate analog-to-digital converter (ADC) such as the ADS1115.
For more detailed information about each pin, please refer to https://pinout.xyz/.
The voltage level of all Raspberry Pi GPIO pins except power pins is 3.3V, and connecting 5V may damage the Raspberry Pi. Care must be taken not to exceed the allowable current levels for each GPIO pin: maximum input 0.5 mA, maximum output approximately 8mA (maximum total of all output pins 50mA).

찾으시는 내용이 없나요? 문의하기

문의하기

공유하기

GPIO

Or copy link

Clipboard Icon
콘탠츠

ㅤ

Grablo Inc.
support@grablo.co

Site Links

  • Grablo Home
  • Grablo App

이 사이트의 모든 컨텐츠는 저작권법에 보호받는 저작물로서, 무단으로 복제, 배포하는 경우에는 저작권법에 의하여 처벌을 받을 수 있습니다. Copyright 2024 grablo.co. All Rights Reserved.