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

How to Use Orange Pi 3B: Examples, Pinouts, and Specs

Image of Orange Pi 3B
Cirkit Designer LogoDesign with Orange Pi 3B in Cirkit Designer

Introduction

The Orange Pi 3B is a high-performance single-board computer (SBC) developed by Orange Pi, Shenzhen Xunlong Software Co., Ltd. It is powered by a quad-core ARM Cortex-A53 processor and comes with up to 2GB of DDR3 RAM. This versatile SBC supports multiple operating systems, including Android, Ubuntu, and Debian, making it suitable for a variety of applications such as multimedia, IoT, robotics, and general-purpose computing.

With its GPIO pins, USB ports, and other connectivity options, the Orange Pi 3B is ideal for developers, hobbyists, and educators looking to build custom hardware projects or explore software development.

Explore Projects Built with Orange Pi 3B

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Raspberry Pi 4B-Based Current Monitoring System with I2C OLED Display
Image of Virtual Energy Monitoring Circuit: A project utilizing Orange Pi 3B in a practical application
This circuit features a Raspberry Pi 4B as the central processing unit, interfaced with an Adafruit ADS1115 16-bit I2C ADC for analog-to-digital conversion and a 0.96" OLED display for visual output. The ADS1115 is connected to a current sensor for measuring electrical current, with the sensor's output and burden pins connected to the ADC's analog input channels. The Raspberry Pi communicates with both the ADC and the OLED display over the I2C bus, using its GPIO2 and GPIO3 pins for data (SDA) and clock (SCL) lines, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B with I2C Current Sensing and OLED Display
Image of iot task 2: A project utilizing Orange Pi 3B in a practical application
This circuit features a Raspberry Pi 4B as the central processing unit, interfaced with an Adafruit ADS1115 16-bit I2C ADC for analog-to-digital conversion and a 0.96" OLED display for visual output. The ADC is connected to a current sensor for measuring electrical current, with the sensor's output connected to the ADC's AIN0 pin and the burden resistor connected to AIN1. The Raspberry Pi communicates with both the ADC and the OLED display over the I2C bus, using GPIO2 (SDA) and GPIO3 (SCL) for data exchange.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 3B-Based Smart Robot with Sensor Integration
Image of Float Robot: A project utilizing Orange Pi 3B in a practical application
This circuit integrates a Raspberry Pi 3B with various sensors and a motor driver to create a multi-functional system. It includes a DS18B20 temperature sensor, MPU-6050 accelerometer and gyroscope, QMC5883L magnetometer, and an L298N motor driver controlling two DC motors. The Raspberry Pi handles sensor data and motor control through its GPIO pins.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B-based Current Monitoring System with OLED Display
Image of TASK – 2: A project utilizing Orange Pi 3B in a practical application
This circuit features a Raspberry Pi 4B as the central processing unit, interfaced with an ADS1115 analog-to-digital converter (ADC) and a 0.96" OLED display via I2C communication (using GPIO2 and GPIO3 for SDA and SCL, respectively). The ADS1115 is connected to two current sensors: a generic current sensor and an ACS712, to measure current and report values to the Raspberry Pi, which can display the data on the OLED. Power is distributed from the Raspberry Pi's 5V pin to the other components, and all components share a common ground.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Orange Pi 3B

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 Virtual Energy Monitoring Circuit: A project utilizing Orange Pi 3B in a practical application
Raspberry Pi 4B-Based Current Monitoring System with I2C OLED Display
This circuit features a Raspberry Pi 4B as the central processing unit, interfaced with an Adafruit ADS1115 16-bit I2C ADC for analog-to-digital conversion and a 0.96" OLED display for visual output. The ADS1115 is connected to a current sensor for measuring electrical current, with the sensor's output and burden pins connected to the ADC's analog input channels. The Raspberry Pi communicates with both the ADC and the OLED display over the I2C bus, using its GPIO2 and GPIO3 pins for data (SDA) and clock (SCL) lines, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of iot task 2: A project utilizing Orange Pi 3B in a practical application
Raspberry Pi 4B with I2C Current Sensing and OLED Display
This circuit features a Raspberry Pi 4B as the central processing unit, interfaced with an Adafruit ADS1115 16-bit I2C ADC for analog-to-digital conversion and a 0.96" OLED display for visual output. The ADC is connected to a current sensor for measuring electrical current, with the sensor's output connected to the ADC's AIN0 pin and the burden resistor connected to AIN1. The Raspberry Pi communicates with both the ADC and the OLED display over the I2C bus, using GPIO2 (SDA) and GPIO3 (SCL) for data exchange.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Float Robot: A project utilizing Orange Pi 3B in a practical application
Raspberry Pi 3B-Based Smart Robot with Sensor Integration
This circuit integrates a Raspberry Pi 3B with various sensors and a motor driver to create a multi-functional system. It includes a DS18B20 temperature sensor, MPU-6050 accelerometer and gyroscope, QMC5883L magnetometer, and an L298N motor driver controlling two DC motors. The Raspberry Pi handles sensor data and motor control through its GPIO pins.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of TASK – 2: A project utilizing Orange Pi 3B in a practical application
Raspberry Pi 4B-based Current Monitoring System with OLED Display
This circuit features a Raspberry Pi 4B as the central processing unit, interfaced with an ADS1115 analog-to-digital converter (ADC) and a 0.96" OLED display via I2C communication (using GPIO2 and GPIO3 for SDA and SCL, respectively). The ADS1115 is connected to two current sensors: a generic current sensor and an ACS712, to measure current and report values to the Raspberry Pi, which can display the data on the OLED. Power is distributed from the Raspberry Pi's 5V pin to the other components, and all components share a common ground.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • IoT (Internet of Things): Smart home devices, sensors, and automation systems.
  • Multimedia: Media centers, streaming devices, and digital signage.
  • Robotics: Control systems for robots and drones.
  • Education: Teaching programming, electronics, and embedded systems.
  • Prototyping: Rapid development of hardware and software projects.

Technical Specifications

Key Technical Details

Specification Details
Processor Allwinner H6 Quad-core ARM Cortex-A53
GPU Mali-T720 MP2
RAM 1GB or 2GB DDR3 (depending on the model)
Storage microSD card slot, eMMC module support (up to 16GB)
Operating Systems Android, Ubuntu, Debian
Connectivity Gigabit Ethernet, Wi-Fi (802.11 b/g/n/ac), Bluetooth 5.0
USB Ports 3x USB 3.0, 1x USB 2.0
HDMI Output HDMI 2.0 (4K@60fps support)
GPIO Pins 26-pin header compatible with Raspberry Pi GPIO layout
Power Supply 5V/3A via USB Type-C
Dimensions 90mm x 64mm

Pin Configuration and Descriptions

The Orange Pi 3B features a 26-pin GPIO header for hardware interfacing. Below is the pinout:

Pin Number Pin Name Description
1 3.3V Power supply (3.3V)
2 5V Power supply (5V)
3 GPIO2 (SDA) I2C Data
4 5V Power supply (5V)
5 GPIO3 (SCL) I2C Clock
6 GND Ground
7 GPIO4 General-purpose I/O
8 GPIO14 (TXD) UART Transmit
9 GND Ground
10 GPIO15 (RXD) UART Receive
11 GPIO17 General-purpose I/O
12 GPIO18 PWM Output
13 GPIO27 General-purpose I/O
14 GND Ground
15 GPIO22 General-purpose I/O
16 GPIO23 General-purpose I/O
17 3.3V Power supply (3.3V)
18 GPIO24 General-purpose I/O
19 GPIO10 (MOSI) SPI Master Out, Slave In
20 GND Ground
21 GPIO9 (MISO) SPI Master In, Slave Out
22 GPIO25 General-purpose I/O
23 GPIO11 (SCLK) SPI Clock
24 GPIO8 (CE0) SPI Chip Enable 0
25 GND Ground
26 GPIO7 (CE1) SPI Chip Enable 1

Usage Instructions

How to Use the Orange Pi 3B in a Circuit

  1. Powering the Board:

    • Use a 5V/3A power adapter with a USB Type-C connector to power the Orange Pi 3B.
    • Ensure the power supply is stable to avoid unexpected shutdowns.
  2. Connecting Peripherals:

    • Attach a monitor via the HDMI port for video output.
    • Connect a keyboard and mouse to the USB ports for input.
    • Insert a microSD card with a compatible operating system image.
  3. Using GPIO Pins:

    • The GPIO pins can be used for interfacing with sensors, actuators, and other hardware.
    • Use a breadboard and jumper wires for prototyping circuits.
  4. Installing an Operating System:

    • Download the desired OS image (e.g., Ubuntu or Debian) from the official Orange Pi website.
    • Flash the image onto a microSD card using tools like Balena Etcher.
    • Insert the microSD card into the Orange Pi 3B and power it on.

Important Considerations and Best Practices

  • Heat Management: The Orange Pi 3B can get hot during operation. Use a heatsink or fan for cooling, especially for intensive tasks.
  • Static Protection: Handle the board with care to avoid damage from static electricity. Use an anti-static mat or wrist strap.
  • GPIO Voltage Levels: The GPIO pins operate at 3.3V logic levels. Avoid connecting 5V signals directly to the GPIO pins to prevent damage.

Example: Blinking an LED with GPIO

The following example demonstrates how to blink an LED using the GPIO pins of the Orange Pi 3B. This example assumes you are using Python with the OPi.GPIO library.


Import the OPi.GPIO library

import OPi.GPIO as GPIO import time

Set the GPIO mode to BOARD (physical pin numbering)

GPIO.setmode(GPIO.BOARD)

Define the pin number where the LED is connected

LED_PIN = 11 # Pin 11 corresponds to GPIO17

Set the pin as an output

GPIO.setup(LED_PIN, GPIO.OUT)

Blink the LED in a loop

try: while True: GPIO.output(LED_PIN, GPIO.HIGH) # Turn the LED on time.sleep(1) # Wait for 1 second GPIO.output(LED_PIN, GPIO.LOW) # Turn the LED off time.sleep(1) # Wait for 1 second except KeyboardInterrupt: # Clean up GPIO settings on exit GPIO.cleanup()


---

Troubleshooting and FAQs

Common Issues

  1. The board does not power on:

    • Ensure the power adapter provides 5V/3A and is properly connected.
    • Check the USB Type-C cable for damage.
  2. No display on the monitor:

    • Verify the HDMI cable is securely connected.
    • Ensure the monitor is set to the correct input source.
    • Check if the operating system image is correctly flashed onto the microSD card.
  3. GPIO pins not working:

    • Confirm the correct GPIO pin numbering mode is used in your code.
    • Check for loose connections or wiring errors.
  4. Overheating:

    • Install a heatsink or fan to improve cooling.
    • Avoid running resource-intensive tasks for extended periods without proper cooling.

Tips for Troubleshooting

  • Use a multimeter to check voltage levels on the GPIO pins.
  • Test the board with a different microSD card and operating system image.
  • Refer to the official Orange Pi forums and documentation for additional support.