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

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

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

Introduction

The Orange Pi Zero 3, manufactured by Orange Pi, is a compact and versatile single-board computer (SBC) designed for a wide range of applications. It is particularly well-suited for projects such as media centers, robotics, IoT devices, and lightweight server applications. With its powerful processing capabilities, extensive connectivity options, and support for multiple operating systems, the Orange Pi Zero 3 is an excellent choice for both hobbyists and professionals.

Explore Projects Built with Orange Pi

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 5 Smart Sensor Hub with OLED Display and Camera
Image of dash cam: A project utilizing Orange Pi in a practical application
This circuit integrates a Raspberry Pi 5 with various peripherals including an OV7670 camera, a BMI160 accelerometer/gyro sensor, and a 2.42 inch OLED display. It also includes a red LED and a breadboard power supply module, enabling the Raspberry Pi to interface with the sensors and display for data acquisition and visualization.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B-Based Smart Health Monitoring System with GPS and GSM
Image of Accident Detection and Health Monitoring System: A project utilizing Orange Pi in a practical application
This circuit integrates a Raspberry Pi 4B with various sensors and modules, including a GPS module, a GSM module, a heart pulse sensor, an accelerometer, a barometric pressure sensor, and an OLED display. The system captures environmental data, monitors heart pulse, and can send emergency SMS alerts based on sensor readings, with power supplied by a LiPo battery and a solar panel.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B-Based Current Monitoring System with I2C OLED Display
Image of Virtual Energy Monitoring Circuit: A project utilizing Orange Pi 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 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

Explore Projects Built with Orange Pi

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 dash cam: A project utilizing Orange Pi in a practical application
Raspberry Pi 5 Smart Sensor Hub with OLED Display and Camera
This circuit integrates a Raspberry Pi 5 with various peripherals including an OV7670 camera, a BMI160 accelerometer/gyro sensor, and a 2.42 inch OLED display. It also includes a red LED and a breadboard power supply module, enabling the Raspberry Pi to interface with the sensors and display for data acquisition and visualization.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Accident Detection and Health Monitoring System: A project utilizing Orange Pi in a practical application
Raspberry Pi 4B-Based Smart Health Monitoring System with GPS and GSM
This circuit integrates a Raspberry Pi 4B with various sensors and modules, including a GPS module, a GSM module, a heart pulse sensor, an accelerometer, a barometric pressure sensor, and an OLED display. The system captures environmental data, monitors heart pulse, and can send emergency SMS alerts based on sensor readings, with power supplied by a LiPo battery and a solar panel.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Virtual Energy Monitoring Circuit: A project utilizing Orange Pi 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 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

Common Applications and Use Cases

  • Media Centers: Stream and play high-definition video and audio.
  • IoT Projects: Serve as the core of smart home devices or industrial IoT systems.
  • Robotics: Control robots with advanced processing and connectivity.
  • Lightweight Servers: Host small-scale web servers, VPNs, or file-sharing systems.
  • Educational Projects: Teach programming, electronics, and system design.

Technical Specifications

The Orange Pi Zero 3 is packed with features that make it a powerful and flexible SBC. Below are its key technical specifications:

Key Technical Details

  • Processor: Allwinner H618 Quad-core Cortex-A53
  • GPU: Mali-G31 MP2
  • RAM: 1GB or 2GB DDR4 (depending on the model)
  • Storage: MicroSD card slot (up to 128GB), eMMC (optional)
  • Connectivity:
    • Wi-Fi: 802.11 b/g/n/ac
    • Bluetooth: 5.0
    • Ethernet: 10/100/1000 Mbps
  • Power Supply: 5V/2A via USB Type-C
  • Operating Systems: Android, Debian, Ubuntu, and other Linux distributions
  • GPIO Pins: 26-pin header for interfacing with external devices
  • USB Ports: 1x USB 2.0, 1x USB Type-C (OTG)
  • Video Output: HDMI 2.0 (4K@60fps)
  • Dimensions: 48mm x 46mm

Pin Configuration and Descriptions

The Orange Pi Zero 3 features a 26-pin GPIO header for interfacing with external devices. Below is the pinout and description:

Pin Number Pin Name Description
1 3.3V Power supply (3.3V)
2 5V Power supply (5V)
3 GPIO2 General-purpose I/O, I2C SDA
4 5V Power supply (5V)
5 GPIO3 General-purpose I/O, I2C SCL
6 GND Ground
7 GPIO4 General-purpose I/O
8 GPIO14 UART TX
9 GND Ground
10 GPIO15 UART RX
11 GPIO17 General-purpose I/O
12 GPIO18 General-purpose I/O
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 SPI MOSI
20 GND Ground
21 GPIO9 SPI MISO
22 GPIO25 General-purpose I/O
23 GPIO11 SPI CLK
24 GPIO8 SPI CS0
25 GND Ground
26 GPIO7 SPI CS1

Usage Instructions

How to Use the Orange Pi Zero 3 in a Circuit

  1. Powering the Board: Connect a 5V/2A power supply to the USB Type-C port.
  2. Operating System Installation:
    • Download the desired OS image (e.g., Debian, Ubuntu) from the Orange Pi website.
    • Flash the image onto a microSD card using tools like Balena Etcher.
    • Insert the microSD card into the slot on the board.
  3. Connecting Peripherals:
    • Use the HDMI port to connect a display.
    • Attach a keyboard and mouse via the USB port.
    • Connect to a network using Ethernet or Wi-Fi.
  4. GPIO Usage:
    • Use the GPIO pins to interface with sensors, actuators, or other devices.
    • Refer to the pinout table for proper connections.

Important Considerations and Best Practices

  • Power Supply: Ensure a stable 5V/2A power source to avoid performance issues.
  • Cooling: For intensive tasks, consider adding a heatsink or fan to prevent overheating.
  • Static Protection: Handle the board with care to avoid static damage to components.
  • Software Updates: Regularly update the OS and software packages for optimal performance and security.

Example: Blinking an LED with GPIO and Python

The following example demonstrates how to blink an LED connected to GPIO17 using Python.

Circuit Setup

  • Connect the positive leg of the LED to GPIO17 (Pin 11).
  • Connect the negative leg of the LED to a 330-ohm resistor, and then to GND (Pin 14).

Code


Import the required library

import RPi.GPIO as GPIO import time

Set up GPIO mode

GPIO.setmode(GPIO.BCM)

Define the GPIO pin for the LED

LED_PIN = 17

Set up the LED pin as an output

GPIO.setup(LED_PIN, GPIO.OUT)

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 and Solutions

  1. The board does not power on:

    • Ensure the power supply provides 5V/2A.
    • Check the USB Type-C cable for damage or poor connection.
  2. No display output:

    • Verify the HDMI cable and monitor are functioning.
    • Ensure the correct OS image is flashed onto the microSD card.
  3. Wi-Fi connectivity issues:

    • Check the Wi-Fi credentials and signal strength.
    • Update the OS to ensure the latest drivers are installed.
  4. GPIO pins not working:

    • Confirm the correct pin numbering (BCM vs. physical).
    • Check for loose connections or incorrect wiring.

FAQs

  • Can I power the board via GPIO pins?

    • Yes, you can supply 5V directly to the 5V pin, but ensure proper voltage regulation.
  • What is the maximum supported microSD card size?

    • The Orange Pi Zero 3 supports microSD cards up to 128GB.
  • Does the board support 4K video output?

    • Yes, it supports 4K@60fps via the HDMI 2.0 port.
  • Can I use the board for AI/ML applications?

    • While it is not specifically designed for AI/ML, lightweight models can run on the board.

This concludes the documentation for the Orange Pi Zero 3. For further assistance, refer to the official Orange Pi website or community forums.