Orange Pi
Single-board computer family from Shenzhen Xunlong, mostly Allwinner and Rockchip SoCs.
hardware
also known as OrangePi, Orange Pi 5
Knowledge about Orange Pi
- A Raspberry Pi-style GPIO header does not make Pi HATs and GPIO libraries workwarning · unverified · Alternative boards may copy the 40-pin layout, use a different header (Orange Pi 5 has 26 pins) or map pins differently. Pi-specific libraries, HAT drivers and camera/display connectors generally don't carry over; use the vendor's library (e.g. wiringOP) or the generic Linux GPIO interfaces.
- Armbian on Orange Pi: the Orange Pi 5 and 5 Plus have 'Standard support', most other models 'Community support'recommendation · unverified · Before choosing Armbian over Orange Pi's own images, check the board's support level on armbian.com. At the time of writing, the Orange Pi 5 and 5 Plus pages show Standard support, while the 5B, 5 Max, 3B and Zero 3 show Community support.
- Build your own Orange Pi OS image with orangepi-build (non-interactive, for many devices)procedure · unverified · orangepi-build compiles U-Boot, the kernel, a root filesystem or a complete flashable image for Allwinner, Rockchip and RISC-V Orange Pi boards. It runs on an Ubuntu 22.04 host, and every menu choice can be passed as KEY=value on the command line for reproducible builds.
- Choosing an OS for Raspberry Pi alternatives: vendor images, Armbian support levels, mainlineguide · unverified · OS support decides how usable an alternative board is. Compare vendor images, Armbian (with Standard, Community maintained and Staging support levels) and mainline distributions, and check the kernel's age before deploying long-lived IoT devices.
- Enable I2C, SPI, UART and custom device-tree overlays on Orange Pi OS: /boot/orangepiEnv.txtprocedure · unverified · On Orange Pi's Debian/Ubuntu images the boot script reads /boot/orangepiEnv.txt. List kernel-provided overlays in overlays=, add your own .dts with orangepi-add-overlay (goes to user_overlays=), and reboot. Never edit the boot script directly.
- GPIO on Orange Pi with wiringOP and wiringOP-Python: build it, read 'gpio readall', mind the three pin numberscode · unverified · wiringOP is Orange Pi's wiringPi port: build it from source, then 'gpio readall' prints each header pin with its Linux GPIO number, wiringPi number and physical pin. wiringOP-Python wraps it as the 'wiringpi' module. The numbers differ per board model, so always read them on your board.
- IoT projects: when a Raspberry Pi alternative makes sense and when to stay with the Pirecommendation · unverified · Choose an alternative for a concrete hardware need the Pi lacks (onboard eMMC, fast NVMe, 2.5G/dual Ethernet, NPU, lots of RAM, x86). Stay with Raspberry Pi when you depend on HATs, Pi-specific libraries, tutorials or long-term OS support.
- Orange Pi 5 (RK3588S): specs, OS images and the GPIO library you'll actually useguide · unverified · Orange Pi 5 pairs an 8-core RK3588S and a 6 TOPS NPU with 4/8/16 GB RAM and an M.2 NVMe slot. Its GPIO header has 26 pins, and Orange Pi's wiringOP (a wiringPi port) replaces Raspberry Pi GPIO libraries.
- Orange Pi Zero 3 and Zero 2W for small IoT nodes: H618, Wi-Fi 5, and which header you getguide · unverified · Both use the Allwinner H618 with 1–4 GB RAM and Wi-Fi 5 + Bluetooth 5.0. The Zero 3 adds gigabit Ethernet and has a 26-pin header; the Zero 2W is smaller, has a 40-pin header and puts USB, 100M Ethernet and IR on a 24-pin extension for an adapter board.
- Orange Pi lineup decoded: 5 vs 5B vs 5 Plus vs 5 Max vs 5 Pro, 3B, Zero 3, Zero 2W, RV2 and CM5comparison · unverified · Orange Pi model names hide real differences: RK3588S vs full RK3588, 26-pin vs 40-pin headers, on-board eMMC and Wi-Fi only on some models, and power supplies from 5 V / 2 A to 5 V / 5 A. A side-by-side table from the official product pages.
- Orange Pi power supplies: 5 V / 4 A for the Orange Pi 5, 5 V / 5 A for the 5 Max and 5 Prowarning · unverified · Orange Pi boards specify very different USB-C supplies: 5 V / 2–3 A for the Zero 2W and the 3B, 5 V / 4 A for the Orange Pi 5, 5B and 5 Plus, and 5 V / 5 A for the 5 Max, 5 Pro and RV2. Budget for NVMe SSDs and USB devices on top.
- RK3588 boards (Orange Pi 5, Banana Pi BPI-M7, Radxa ROCK 5B): what they share and where they differcomparison · unverified · The Rockchip RK3588/RK3588S family (4x Cortex-A76 + 4x Cortex-A55, 6 TOPS NPU) powers many high-end Raspberry Pi alternatives. The boards differ mainly in PCIe lanes to the NVMe slot, Ethernet speed, header size and software support.
- Raspberry Pi alternatives compared: Banana Pi, Orange Pi, ROCK64 / Radxa ROCK, ODROIDcomparison · unverified · What actually differs between Raspberry Pi and its alternatives: SoC vendor, OS and kernel support, GPIO/software compatibility, storage and networking. No universal winner: pick by the software you need first, hardware second.
- Run an Orange Pi from NVMe or eMMC instead of the SD card: nand-sata-install and SPI flash bootprocedure · unverified · Orange Pi images include nand-sata-install, which moves a running system from the SD card to eMMC, SATA, USB or NVMe and can put the bootloader into SPI flash ('Boot from SPI – system on SATA, USB or NVMe'). Most RK3588 Orange Pis have SPI NOR flash; on the 5 Pro it is empty by default and shares the choice with the eMMC socket.