Orange Pi PC | Oranges anatomy

Good day! Today I will talk about the Pi-Orange Pi PC single-board computer.
I tried to talk about what I learned during the year of owning a piece of iron.
Sd card
It all began of course back in 2011 when the creators of Raspberry Pi announced to the whole world about plans to create a miniature, plastic-sized card and an inexpensive ($ 25) computer.

The first version was on ARM from a smartphone and 256MBRAM, despite these restrictions, tried to run games, surf the Internet, use it as a home multimedia server and as a controller in various projects thanks to the integrated GPIO.
Initially, Raspberry was conceived of as an affordable computer for learning programming and a computer as a whole. But over time, requests
the power of iron from the community grew and then in February 2015, Raspberry Pi 2 was released. The second version was equipped with a 4-core processor and 1 gigabyte of RAM.
(Taken from a habr)
There is a video on this topic on AmperkaRU channel:

While they were dragging on the release of the new version,Raspberry "picked up the idea" and clones appeared, including from China. So there were many alternatives, BananaPi, CubieBoard, BeagleBone, ODROID and among them, Orange Pi.
So, as I wrote earlier, in the review of the Raspberry Pi 3B +, I began to “study” single-board computers a little more than a year ago.
Raspberry Pi I have long wanted myself and constantlyI looked through the articles with all sorts of projects based on it, and later I found out about the existence of the Orange Pi - which is a direct analogue and competitor, and even a little cheaper.
Single board computers interested me first and foremost in size, power, and of other features. The purpose of my purchase was to create a torrent box before examining the available capacity.
Who is Orange PiDan boards are issuedChinese company Xunlong Software, which practically does not support released devices, all operating systems except those that go along with the board, develops and supports the community Sunxi.
More or less, everything works stably only on H3 processors. We can safely say that everything works at 99% except for hardware accelerated video in the browser under Linux.
Vyborya began to choose among the line of these boards,Naturally, the choice was influenced by the price of the device, I looked at the versions of Zero, One, PC. Starting to study the characteristics everywhere I met the mention of the fact that, on all Orange motherboards, there is a strong overheating and it is generally risky to turn on without a radiator, and the processor frequency should be lowered, I will immediately say that not everything is so bad. I immediately threw out the Zero version from the “comparison list” because I didn’t really like the characteristics, only One and the PC remained. Going from one topic to another, Orange found a chat in a cart in a topic on Orange Pi PC 2, there I asked the “locals” what yes how it works and about the pitfalls.
The main differences are: the price is $ 10 for One and $ 15 for a PC, as well as 512MB and 1GB of RAM, and then “strangling a toad” chose the PC.
$ 15 is not the final price, you must purchase: power supply, radiator cooling, SD-card.
With the power supply, not everything is as easy as you would likefirstly, the power connector on the board is not standard - 4.0 x 1.7 mm, secondly, it is picky about the current, in order to avoid searching for and selecting a power supply unit I bought a complete one, and to be more precise, then “set 4”.
It is also worth mentioning that it is better to buy a kit as if you put the board and the power supply separately into the basket, it turns out more expensive, for example, $ 26 instead of $ 19.
Other sets

Sd card I chose comparing the price and reviews, as a result of a shortsearches led to the MIXZA brand and did not regret it, then the price was $ 7 (16GB), now $ 3.52 (16GB), the card is really good, the speed is not a fountain, but in this class of devices it works fine, accidentally pulled it out of the computer a couple of times during recording
operating system image, nothing happened, CrystalDiskMark results are as follows:

Radiator, I just took an eye, I had to cut a little:

Smeared a slightly fatty portion of KPT-8 and sits perfectly.
If you have an old motherboard, then you can take a radiator from the north bridge from it, which is ideal in most cases.
Like for example here:
In this case, instead of the thermal paste used "Elasil 137-180B"

Specifically about the subject
Detailed TTX sabzh:
Additional Information

The device has on board 4-nuclear ARMAllwiner H3 processor (Cortex-A7) with a frequency of 1.6Ghz and with support for decoding the H265 / HEVC 4K codec, as well as the integrated video core Mali400MP2 with a frequency of 600Mhz.
RAM 1Gb made by Samsung.
The board has USB 2 ports.0 in the amount of 4 pieces, one Micro-USB port as USB-OTG, HDMI with HDMI-CEC support, 100 megabyte Ethernet port and audio-video output for RCA (“tulips”) implemented via 3.5mm jack.
In USB and Ethernet ports lies the main difference and advantage from Raspberry, because they are divorced through an internal hub in the processor, unlike Raspberry.
Among other things, there is a microphone, an IR receiver for the console, a 40-pin GPIO compatible with Raspberry modules, a clock power button, a connector for the camera cable and TTL-UART pins for debugging.
The order was made and after about 20 days received with the SD card, the radiator received a little later.
My copy today looks like this:
Under the plexiglass shell.

Further photos will be from the Internet, all the boards are the same
First start
Intended use Armbian, because it is the most popular and stable OS based on Ubuntu for single-board computers.
Download the image on download page, we fill in on the SD card through Etcher.

Then we start, here are two options via SSH, or the display and keyboard are used.
We insert the SD-card, connect the Enternet cable, power, well, if desired, the display, keyboard.
With SSH, everything is simple, in armbian it is always included in the difference from Raspbian, we will find out the IP address, for example through Advanced IP Scanner or via the web interface of the router, then connect via PuTTY.

The initial setup script will be launched during which a new password is set, a new user is created and the display resolution is configured.
After all these manipulations can be used.
Except Armbian there is a lightweight Dietpi, IMHO according to my observations, it is more stable.
One of the advantages is the presence of the configuration script, many packages can be installed automatically. DE - no, maybe for someone it will be a minus, but it can be installed at any time.
Of the minuses can be noted that the official Orange Pi is no longer supported. But OTA updates still arrive.
The script itself:

Download - Ya.Disk
(If necessary, I can perezalit on another cloud)
Where and how can I use?
There are a lot of usage scenarios:

  • 1. Desktop.
  • 2. Home server.
  • 3. TV box.
    On Android or LibreELEC
  • 4. Game console for retro games.
  • 5. VPN server / client.
  • 6. Block ads.
  • 7. Thin client.
  • 8. It all depends on your imagination, you can combine a lot.

Of course it sounds a little crazy, but in principle it can be used if necessary.
There is no acceleration of the video in the browser, that is, you will not watch the video on YouTube, locally the movies play perfectly without delay even the heaviest rips.
Home server
Probably many immediately understood what was going on, of course, the “file dump”.
I personally use the Samba + qBittorrent + configuration Plex.
For those who are not familiar with Plex, this is a media server with its own cross-platform client, as well as a web interface and a DLNA server. Simply put, your “personal local cinema”.

Why not Transmission, but qBittorrent? It's simple, qb showed itself to be much more stable and in addition there is a speed limit on a schedule, which is important to me, all because my home Internet name will not speak, but I will give a hint, it starts on “Ros” and ends on “telecom” pretty slow, when downloading torrents a maximum of 3.5 Mb / s, which gives a "strong load" and prevents elementary surfing the Internet, not to mention watching the video.

Well, Samba is just here as an additional option, if you have to copy one of the downloaded files to the PC.
The hard disk is connected via USB 2.0 as a storage. boxingI originally used this "know-how"box, then transparent USB 3.0 production ORICO.
Is there any difference? - There is. The box from Orico works stably, but the know-how in turn constantly “falls off” when the controller overheats.
Below are links to guides for installation and configuration:
Samba - Click!
qBittorrent - Click!
Plex - Click!
In addition to all this, you can also install Nextcloud / Owncloud (there are no differences as such; in fact, one is a fork of the other).
NextCloud gives you the opportunity to make your own cloud storage, is the closest analogue of Dropbox.

Supports storage of virtually any file.
"Out of the box" storage of three types of information is available:
files (and directories),
calendar events.
If necessary, the functionality is extended by installing free applications from the built-in directory. So you can get new features:
note taking (Google Keep analogs are available, does not reach Evernote),
listening to music in a web player,
chat and video conferencing (similar to Skype),
integration with Onlyoffice for editing documents directly in the browser.
There are other extensions in the catalog, but their quality leaves much to be desired. For example, the Google Drive integration plugin has 17 unsolved problems.
Read more - Click!
For access from the outside, you will have to tinker with the domain a bit in the case of a static IP address or with a VPN in the case of a dynamic
IP addresses.
In general, everything works stably, but the speed of reading / is strongly cut due to the lack of Gigabit Internet and the connection of a hard disk via USB 2.0.
Some time on my table lay in this form:

Tv box
In the case of Android, everything is simple, the usual familiar Android.
Everything is customized in its own way.
Android images are recorded in a different way - instruction on
Of the minuses - it is heated as the core of the earth, you need a massive radiator and active cooling.
There are several versions of Android:

Just an operating system for Kodi, is an analogue of OSMC. There are many additions to the repository directories.
Currently only works adequately LibreELEC 7 [Kodi 16.1 Jarvis] build by jernej, although now the current version of LibreELEC 9 [Kodi 18 Leia].
LibreELEC 9 is too unstable in terms ofvideo playback, for example, a video stream pours during playback over a local network and everything is not clear about hardware video decoding. It only remains to wait.
On LibreELEC 7, everything is fine, the stream is not frayed, hardware decoding is working.
It is now working on her brother, connectedto a simple JVC LCD TV, constantly watching movies before bed, the reviews are positive, because now he doesn’t have to look at the laptop with lagging Internet.
There is practically no heating, passive cooling is more than enough, and the remote control from some DVR is also connected.
Game console for retro games
There is a RetroPie - RetroOrangePi fork to emulate retro games.
4DPA Thread - Click!
RetroOrangePi is based on RetroPie and Armbian. Coming out of the emulator, you can get to the desktop.
Also “out of the box” there is Kodi, which slightly expands the possibilities.
Can emulate:

There are built-in ports of games:

The Internet is full of different options, collected in different packages, from NES, SNES, SEGA, PlayStation One, on the site thingiverse are presented many models of cases.
For example, one of the popular models - NES Mini

Not less popular is the form factor of arcade machines, in various configurations of the "Cabinet" and "Half-Cabinet" for one or two players.
An example of one of the many projects - Click!
Half room for two:

There are many reasons for using a VPN, one of the reasons may be the creation of a VPN tunnel as mentioned above - to access your home network from anywhere in the world where there is internet.
One example is the "crossing" of the OrangePi One with a router, an article is presented at Habré.

Thin client
I myself did not quite understand, but there is an easier option - to connect to the BB through Nomachine or TeamViewer.
A couple of articles about this:
Click! and Click!
As a result, relatively little money we get a platform with lots of opportunities. I think it is perfect for exploring linux.
Here, of course, many may say that the emulatorgarbage and enjoy retro gaming can be on any device, but at least on a smartphone, but these are not exactly those “tactile sensations” or movies can be downloaded without SMS and registration on a computer without resorting to additional devices, right there the main advantage is complete noiselessness and minimal power usage.
When compared to the Raspberry Pi, as suchThere are no significant differences, both of them have their pros and cons, for example, there is no normally working Android on Raspberry, it works very quickly on Orange, although it heats up.