Orange Pi PC is a low budget development board created by Shenzhen Xunlong Software Co. as a Opensource Project. You'll have access to the PCB and Schematic Projects accessing http://orangepi.org

In this instructable I'll show you how to make a simple setup with all you need to start using Orange Pi PC.

First of all you'll need an Orange Pi PC board. You can buy one from the official page on AliExpress.

And you will need:

  • Energy adaptor 5V/2A
  • 2.SD-Card (I've used a 8GB Class 4, but if you have a better/greater SD-Card, feel free to use it).
  • HDMI Cable
  • A USB keyboard (mouse optional but recommended if you'll use the GUI)
  • A Linux or Windows host computer - I'll cover the Linux way to do this

So, let's start!

Step 1: Prepare Your SD-Card

You'll need some files to do the service.

First of all the OS image. I'll pick the Lubuntu 14.04 image that is far more stable than other OSes available, both from the official page and from loboris page (loboris is a developer from Orange Pi Community highly involved on preparing OS images for Orange Pi boards).

You can have the official images from here and loboris images from here.

  • Plug your SD-Card in the host.
  • Open a terminal and discover what is the "address" of your SD-Card using the command: fdisk -l (maybe you'll need to execute this command as sudo or su).

A possible output is (it is in portuguese because I'm brazilian =D ):

Disco /dev/sdc: 7,2 GiB, 7742685184 bytes, 15122432 setores
Unidades: setor de 1 * 512 = 512 bytes Tamanho de setor (lógico/físico): 512 bytes / 512 bytes Tamanho E/S (mínimo/ótimo): 512 bytes / 512 bytes Tipo de rótulo do disco: dos Identificador do disco: 0x2b1c25d6

Dispositivo Inicializar Início Fim Setores Tamanho Id Tipo

/dev/sdc1 40960 124927 83968 41M 83 Linux

/dev/sdc2 124928 15121408 14996481 7,2G 83 Linux

So, the address for the SD-Card is /dev/sdc.

  • Unmount partitions of the SD-Card using: umount /dev/sdc* (change * to the numbers shown on fdisk output)
  • Decompress the image executing: unxz Lubuntu_1404_For_OrangePiPC_v0_8_0_.img.xz
  • Flash the image to SD-Card executing: dd bs=1M if=Lubuntu_1404_For_OrangePiPC_v0_8_0_.img iflag=fullblock | pv | dd bs=1M of=/dev/sdc oflag=direct - it'll take a time to conclude
  • Execute sync to assure flushing all data to SD-Card
  • Plug off and plug in again your SD-Card, and now you'll see two partitions (a smaller one to boot files and the bigger one is the root system)
  • Untar the file using: tar -zxf scriptbin_kernel.tar.gz
  • Enter the new directory and copy the files script.bin.OPI-PC_720p60 and uImage_OPI-2 to the boot partition of SD-Card
  • Now exclude uImage and script.bin files from boot partition and rename script.bin.OPI-PC_720p60 to script.bin and uImage_OPI-2 to uImage
  • Eject the SD-Card

Now you have a ready-to-go SD-Card with Lubuntu installed for Orange Pi PC!

Step 2: Connect Cables and SD-Card

  • Plug your SD-Card on the SD socket below the board
  • Plug your USB keyboard on one of the USB ports
  • Plug your ethernet cable and connect it to a router or your internet provider device
  • Plug the HDMI cable and connect it to your monitor or TV
  • And finally, plug the power cable and let's see what happens!

Step 3: We're Almost There...

Wait for the boot process (it can take a long time in the first time, so have patience).

As soon it concludes, a login screen is showed. As I connected just the keyboard, and I'm not a great fan of GUI (I'm not using it for entertainment, so feel free to connect a USB Mouse and check the interface), I'll just type Ctrl+Alt+F1 and change to a plain terminal login screen.

The user and password for this image is orangepi. Change the password or add a new user executing adduser and passwd.

Update the system with: sudo apt-get update and sudo apt-get upgrade.

Step 4: Enjoy!

And now you have a functional Orange Pi PC.

More infos and reviews on my personal blog: CoreHacking http://corehacking.com

Hope you enjoy it and keep hacking! =D

<p>I bought an adjustable power supply for my Opi, but it does not have a 5v output, only 4.5v and 6v, can I use one of these outputs to support my Opi Lite?</p>
<p>Orange Pi PC for me just the typicial cheap shi1t = wasted money just gave me headaches...</p><p>I was able to burn and use the lubuntu image, but nothing else, now I'm trying the 5th micro SD card to burn the G0D D4MN Android on it, but no success first it was failing to format the cards with a micro sd to sd adapter, now I got an usb mico sd adapter, it can format but burning always fails with all the 5 different micro sd cards.</p><p>If you'd like to avoid headaches and time and money wasting do NOT ANY BUY ORANGE PI</p>
<p>I have my orange pi pc running RetrOrangepi for a games system and it never gave a problem.You have to add the roms but simple enough with armbain desktop to access roms from a usb drive.</p>
<p>I agree. Doesn't boot with android, ubuntu or whatever. I learn on some forum that some pieces work and some other not, I don't know why... </p>
<p>i boot armbian so easy</p><p>power to 5v 2A and for display i plug to HDMI to VGA convertor , just use 1$ USB SD card hardware (ram reader) windows detect SD ScanDisk 16gb class 10 micro SD then use rufus-2.8 software and locate </p><p>Armbian_5.20_Orangepione_Debian_jessie_3.4.112_desktop , yes this is DD image , and after burn plug micro SD to Orang PI and boots, ask me for user pass , root and 1234 </p>
<p>Don't panic. I had a very frustrating time getting started too, but now that I know how to do it, the OPi PC offers a great value. You will need the following:<br><br> * Good 5v/2A power supply with 4mm x 1.7mm DC barrel jack (same as used on Sony PSP)<br> * 8GB or larger Class 10 or better microSD card<br> * Ethernet cable and connection<br> * Recommended: HDMI cable and monitor<br> * Recommended: USB keyboard and mouse<br> * Optional: USB-to-TTL-Serial adapter<br><br>I'll describe these in more detail below:<br><br>POWER<br> SUPPLY: The Orange Pi requires a 5V/2A good quality power supply. The <br>power input is a 4mm x 1.7mm DC barrel jack (same as Sony PSP and many <br>other devices). You cannot power it through a microUSB cable like a <br>Raspberry Pi; you have to power it through the DC power jack. I made <br>the mistake of buying a really cheap after-market power supply meant for<br> the Sony PSP and had lots of trouble because the power supply was too <br>noisy; others have had similar problems. Get a good power supply like <a href="http://www.amazon.com/LoveRPi-MicroUSB-Supply-Adapter-Charger/dp/B01CMZ96EG/ref=cm_cr_dp_asin_lnk" rel="nofollow">LoveRPi 2A MicroUSB LED Power Supply Adapter Charger with Click On/Off Switch Adapter to 4.0mm x 1.7mm Barrel Plug</a> just the adapter (<a href="http://www.amazon.com/LoveRPi-MicroUSB-Adapter-Button-Switch/dp/B01CMZVQQ2/ref=cm_cr_dp_asin_lnk" rel="nofollow">LoveRPi 8&quot; MicroUSB to 4.0mm x 1.7mm Adapter with Click Button Power Switch for Banana Pi M2 and Orange Pi One/PC/Plus/Plus 2</a> or use a USB-to-4mm adapter cable (and a good USB 5v/2A supply).<br><br>MICRO-SD<br> CARD: There are a zillion Linux (and Android and other OS) <br>distributions for the Orange Pi, but many of them are hard to install or<br> missing important capabilities. I spent a lot of time sorting through <br>them and ultimately installed ARMbian Linux (Debian Jessie Server) from <br>here:[...] using Rufus (here: [...]) onto a Samsung EVO 16GB Class 10 <br>micro-SD card <a href="http://www.amazon.com/Samsung-Class-Adapter-MB-MP16DA-AM/dp/B00IVPU7KE/ref=cm_cr_dp_asin_lnk" rel="nofollow">Samsung 16GB EVO Class 10 Micro SDHC Card with Adapter up to 48MB/s (MB-MP16DA/AM)</a>.<br> I plugged in the uSD card, Ethernet, HDMI monitor, USB keyboard, and <br>power, and my Pi was up and running (fast)! There was lots of space <br>left over on the 16GB card; even an 8GB card would leave plenty, but try<br> to avoid slow cards (e.g. don't use Class 6). ARMbian is a great <br>distribution that is pre-configured for the OPi PC; everything worked <br>out of the box; my network connection came right up using DHCP and I <br>could ssh into the OPi.<br><br>USER INTERFACE: The intended user <br>interface is an HDMI monitor and a USB keyboard (and mouse if you are <br>installing the desktop/GUI version). If you are technically inclined, <br>the other thing that's very useful is a USB-to-TTL-serial cable so you <br>can access the serial console (something like this:[...]). 115200bps, 8,<br> N, 1, Pin 1 on the 3-pin header is ground. Accessing the serial <br>console lets you see what's happening very early in the boot process; <br>when booting is complete, you can login there as well. A tiny USB <br>serial console is a lot smaller to carry in your laptop bag than a <br>monitor and keyboard.<br><br>OTHER USEFUL TOOLS: You may also find SDFormatter (here: [...]) useful for erasing/reformatting SD cards.<br><br>COOLING:<br> ARMbian runs the CPU pretty cool; it rarely got more than slightly warm<br> to the touch. However as I was experimenting with different linux <br>distributions, some would get the SoC very hot very quickly. <br>Self-adhesive heat sinks are very inexpensive and probably worth adding,<br> at least one on the H3 SoC.<br><br>CONNECTING TO PROJECTS: If you plan <br>to connect your OrangePi to some custom electronics, WiringPi has been <br>ported to the OrangePi (see here:[...]) and I was able to have it <br>blinking LEDs within a couple of minutes. If you need them, <br>instructions are here: [...]<br><br>If you follow the steps I mentioned above, you should be up and running quickly. Good luck and have fun!</p>
<p>Thanks a lot dude, great work. Actually, it has become easier than ever to put an OS on Orange Pi (OPi), just follow these simple steps:</p><p>1. You MUST download Armbian image file for your OPi model, forget about all the other OSes they are not well configured for OPi, some of them will even BURN you OPi SoC(CPU/GPU)!</p><p><a href="https://www.armbian.com/download/" rel="nofollow">https://www.armbian.com/download/</a></p><p>2. Get Etcher, that is the easiest way to put OPi OS (Armbian or any other) on the uSD card. It supports Windows/Mac/Linux. If on Windows make sure after installation you right click on its icon and choose &quot;run as admin&quot; IF NEEDED.</p><p><a href="https://etcher.io/" rel="nofollow">https://etcher.io/</a></p><p>3. Use Etcher to put Armbian image on uSD while it is doing its work read a little bit in Armbian site about how to use it, set it up.</p><p>4. Support Armbian by DONATIONs or whatever you feel appropriate, even a thank you is a good support.</p><p>5. RPI Mag <a href="https://www.raspberrypi.org/magpi/issues/" rel="nofollow"> https://www.raspberrypi.org/magpi/issues/ </a> has good ideas,tutorials and projects, maybe you wanna check it out and see how you can do that on OPi.</p><p>6. Learn a little Linux if you are not familiar with it.</p><p>Good luck</p>
<p>Exactly what I did... Worked great!</p>
Your link to the page for purchasing the orange pi leads to a page not found error. Very informative ible otherwise.
Nevermind. The link works. oops
<p>Ol&aacute; Amigo! Gostaria de saber se o dispositivo funciona bem, ou &eacute; muito inst&aacute;vel e alguns programas n&atilde;o funcionam? O que vc pode dizer? O intuito de eu adquirir &eacute; fazer dele uma esta&ccedil;&atilde;o de trabalho. &Eacute; poss&iacute;vel usar um microfone usb junto dele? Qual a sua opini&atilde;o? Obrigado</p>
<p>Has someone managed Retropie / Emulationstation to run on an Orange Pi PC yet?</p>
<p>Found it a while ago, but thanks!</p>
<p>Thanks for the post...</p><p>I have a 16GB Sd when I create the SD from the img. the fdisk give me only 4GB</p><p>how to resize the SD thanks</p>
<p>These instructions work correctly for the Fedora 22 image as well. Even if it seems like your operating system is working correctly, you will need to create the correct script.bin and uImage file as directed. In particular, the Fedora 22 image is bad. The Ethernet port doesn't work. Also, you should remove uImage-* and script.bin.* for simplicity. This is all you need:</p><p>drwxr-xr-x 2 jgotts jgotts 2048 Jun 15 16:20 .<br>drwxr-x---+ 4 root root 80 Jun 15 16:18 ..<br>-rw-r--r-- 1 jgotts jgotts 36428 Jun 15 16:19 script.bin<br>-rw-r--r-- 1 jgotts jgotts 10916088 Jun 15 16:09 uImage</p><p>Additionally, I recommend copying the entire lib directory tree to your operating system, whether Ubuntu or Fedora. You can try without it first.</p>
<p>This, and other model Orange Pis seem to be a bit fussy about which wifi dongles they support out of the box. The ones with a Realtek chipset (8192) seem to work.</p>
<p>Thank you so much, I've spent the whole day trying to get this thing to work and finally found this, now it's working no problems and I'm saved the headache of trying to return the damn thing. </p><p>Honestly this is so straightforward and just worked immediately.</p>
if you want an orange pi that is shipped from the usa .. visit MakersOnAcres.com/shop<br>they ship them from Kansas. plus they have free shipping. if you order from aliexpress you have to wait for it to come from Hong Kong
<p>Have a look at DietPI for Kodi :- http://fuzon.co.uk/phpbb/viewtopic.php?f=8&amp;t=5#p5</p>
<p>Thought I'd add some if the issues from my experience with the orange pi pc. I'd welcome anyone adding links to work instructions resolving any of these issues.</p><p>1) I know of know working installations with Kodi on linux on the opi pc.</p><p>2) Hardware video acceleration doesn't seem to work.</p><p>3) You have to change one of the configuration files for this to work with a dvi to hdmi converter..</p><p>4) If you use the wrong script.bin file it will appear as if some of your hardware isn't support such as some of the usb ports or ethernet.</p><p>5) If you install android and it doesn't boot, try reformatting the sd card in windows and hen install android again.</p>
<p>Thanks for the comments! =D</p><p>I would add a detail about the 5 item -<br> too work out of the box, Android images need to be flashed using <br>Phoenix card tools for some reason. Indeed no video hardware acceleration is available <br>to Android.</p>
<p>Forgot a couple.</p><p>6) The orangepi forum can be VERY slow. The half joke is that they are running the forum on an orange pi.</p><p>7) There are several posts on the orange pi forum claiming that you need a class 10 sd card.especially for the android images. However, this isn't true. I have several class 4 cards that do just fine. Class 10 should be better but not necessary. I thought it was, too at first because I had a lot of cards which would work. I reformatted them in windows and they all work regardless of class or manufacturer. YMMV but try reformatting from windows if you have issues.</p>
<p>Thanks for sharing. I hadn't heard about this microcontroller yet.</p>

About This Instructable




More by trymonx:Orange Pi PC - Get Started! 
Add instructable to: