Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use GPIO Extension Board: Examples, Pinouts, and Specs

Image of GPIO Extension Board
Cirkit Designer LogoDesign with GPIO Extension Board in Cirkit Designer

Introduction

The GPIO Extension Board by Sunfounder (Part ID: Extension Board) is a versatile circuit board designed to expand the number of General Purpose Input/Output (GPIO) pins available for microcontrollers or single-board computers. This board simplifies the process of connecting multiple peripherals, sensors, and modules, making it an essential tool for prototyping and development in electronics projects.

Explore Projects Built with GPIO Extension Board

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Pushbutton Interface with General Purpose I/O Plug
Image of Assista GP IO: A project utilizing GPIO Extension Board in a practical application
This circuit consists of a General Purpose Input/Output (GPIO) plug connected to four pushbuttons. Each pushbutton is wired to a unique input pin on the GPIO plug, allowing the state of each button (pressed or not pressed) to be detected individually. The common terminals of the pushbuttons are interconnected and likely serve as a ground or reference voltage connection.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Industrial Control System with RS485 Communication and I2C Interface
Image of DRIVER TESTER : A project utilizing GPIO Extension Board in a practical application
This circuit integrates a microcontroller with a display, digital potentiometer, IO expander, and opto-isolator board for signal interfacing and isolation. It includes a UART to RS485 converter for serial communication and a power converter to step down voltage for the system. The circuit is designed for control and communication in an isolated and protected environment.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Weather Station with GPS and SD Card Storage
Image of Copy of ACP_Circuit: A project utilizing GPIO Extension Board in a practical application
This circuit features an ESP32 microcontroller interfaced with a GPS module, a Micro SD card module, and a DHT11 humidity and temperature sensor for data logging and environmental monitoring. Power is supplied through a DIN rail mount power supply and regulated by a DC buck step-down converter.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered ESP32-C3 Interactive Control Panel
Image of GTV-Transmitter Advanced: A project utilizing GPIO Extension Board in a practical application
This circuit features an ESP32-C3 microcontroller connected to various input devices and an OLED display. The input devices include two KY-023 Dual Axis Joystick Modules for directional input and a Rotary Encoder for incremental input, both interfaced with the ESP32-C3's GPIO pins. The circuit also includes a power management system with a Polymer Lithium Ion Battery, a JST connector, and a toggle switch to control power to an LED indicator.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with GPIO Extension Board

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Assista GP IO: A project utilizing GPIO Extension Board in a practical application
Pushbutton Interface with General Purpose I/O Plug
This circuit consists of a General Purpose Input/Output (GPIO) plug connected to four pushbuttons. Each pushbutton is wired to a unique input pin on the GPIO plug, allowing the state of each button (pressed or not pressed) to be detected individually. The common terminals of the pushbuttons are interconnected and likely serve as a ground or reference voltage connection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of DRIVER TESTER : A project utilizing GPIO Extension Board in a practical application
ESP32-Based Industrial Control System with RS485 Communication and I2C Interface
This circuit integrates a microcontroller with a display, digital potentiometer, IO expander, and opto-isolator board for signal interfacing and isolation. It includes a UART to RS485 converter for serial communication and a power converter to step down voltage for the system. The circuit is designed for control and communication in an isolated and protected environment.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of ACP_Circuit: A project utilizing GPIO Extension Board in a practical application
ESP32-Based Weather Station with GPS and SD Card Storage
This circuit features an ESP32 microcontroller interfaced with a GPS module, a Micro SD card module, and a DHT11 humidity and temperature sensor for data logging and environmental monitoring. Power is supplied through a DIN rail mount power supply and regulated by a DC buck step-down converter.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of GTV-Transmitter Advanced: A project utilizing GPIO Extension Board in a practical application
Battery-Powered ESP32-C3 Interactive Control Panel
This circuit features an ESP32-C3 microcontroller connected to various input devices and an OLED display. The input devices include two KY-023 Dual Axis Joystick Modules for directional input and a Rotary Encoder for incremental input, both interfaced with the ESP32-C3's GPIO pins. The circuit also includes a power management system with a Polymer Lithium Ion Battery, a JST connector, and a toggle switch to control power to an LED indicator.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Expanding GPIO pin availability for microcontrollers like Arduino or Raspberry Pi.
  • Simplifying connections for sensors, actuators, and other peripherals.
  • Prototyping complex circuits with multiple input/output requirements.
  • Educational projects and learning environments for electronics and programming.

Technical Specifications

The GPIO Extension Board is designed to be compatible with a wide range of microcontrollers and single-board computers. Below are the key technical details:

General Specifications

Parameter Value
Manufacturer Sunfounder
Part ID Extension Board
Input Voltage 3.3V or 5V (depending on host)
GPIO Pin Compatibility 40-pin GPIO header (Raspberry Pi)
Dimensions 65mm x 56mm x 15mm
Operating Temperature -40°C to 85°C

Pin Configuration and Descriptions

The GPIO Extension Board features a 40-pin GPIO header that maps directly to the GPIO pins of the host microcontroller or single-board computer. Below is the pinout description:

Pin Number Pin Name Description
1 3.3V 3.3V power supply
2 5V 5V power supply
3 GPIO2 (SDA) I2C Data Line
4 5V 5V power supply
5 GPIO3 (SCL) I2C Clock Line
6 GND Ground
... ... ... (follows Raspberry Pi GPIO layout)
39 GND Ground
40 GPIO21 General Purpose I/O

Note: The pinout follows the standard Raspberry Pi GPIO layout. For other microcontrollers, ensure compatibility before use.

Usage Instructions

How to Use the GPIO Extension Board in a Circuit

  1. Connect the Board to the Host Device:

    • Align the GPIO header of the extension board with the GPIO pins of your microcontroller or single-board computer.
    • Gently press the board into place to ensure a secure connection.
  2. Connect Peripherals:

    • Use jumper wires to connect sensors, actuators, or other peripherals to the GPIO pins on the extension board.
    • Refer to the pinout table to ensure correct connections.
  3. Power the Board:

    • The board draws power directly from the host device. Ensure the host device is powered on and capable of supplying sufficient current for all connected peripherals.
  4. Program the Host Device:

    • Write and upload code to the host microcontroller or single-board computer to control the connected peripherals.

Important Considerations and Best Practices

  • Voltage Compatibility: Ensure that the connected peripherals operate at the same voltage level as the GPIO pins (3.3V or 5V).
  • Avoid Overloading: Do not exceed the current rating of the GPIO pins to prevent damage to the host device.
  • Secure Connections: Use proper connectors or soldering to ensure stable and reliable connections.
  • Static Precautions: Handle the board with care to avoid static discharge, which can damage sensitive components.

Example: Using the GPIO Extension Board with Arduino UNO

Below is an example of how to use the GPIO Extension Board with an Arduino UNO to control an LED:

// Example: Blink an LED using the GPIO Extension Board
// Connect the LED's positive leg to GPIO pin 7 and the negative leg to GND.

const int ledPin = 7; // GPIO pin connected to the LED

void setup() {
  pinMode(ledPin, OUTPUT); // Set the GPIO pin as an output
}

void loop() {
  digitalWrite(ledPin, HIGH); // Turn the LED on
  delay(1000);                // Wait for 1 second
  digitalWrite(ledPin, LOW);  // Turn the LED off
  delay(1000);                // Wait for 1 second
}

Tip: Use resistors in series with LEDs to limit current and prevent damage.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Peripheral Not Responding:

    • Cause: Incorrect GPIO pin connection or configuration.
    • Solution: Double-check the pinout and ensure the correct pins are used in the code.
  2. Board Not Powering On:

    • Cause: Insufficient power supply from the host device.
    • Solution: Verify that the host device is powered on and capable of supplying sufficient current.
  3. Intermittent Connections:

    • Cause: Loose or unstable connections.
    • Solution: Ensure all connections are secure and use proper connectors or soldering.
  4. Overheating:

    • Cause: Excessive current draw from connected peripherals.
    • Solution: Check the current requirements of all peripherals and ensure they do not exceed the GPIO pin ratings.

FAQs

Q1: Can the GPIO Extension Board be used with microcontrollers other than Raspberry Pi?
A1: Yes, the board can be used with other microcontrollers, but you must ensure the GPIO pinout and voltage levels are compatible.

Q2: How many peripherals can I connect to the board?
A2: The number of peripherals depends on the available GPIO pins and the power supply capacity of the host device.

Q3: Is the board compatible with 3.3V and 5V devices?
A3: Yes, the board supports both 3.3V and 5V devices, but ensure all connected peripherals operate at the same voltage level.

Q4: Do I need additional drivers to use the board?
A4: No, the GPIO Extension Board does not require additional drivers. It works as a passive extension of the host device's GPIO pins.