I am a subscriber of hackerboxes.com. It’s a great way to get into some easy projects that you would probably not do by yourself if you would have to buy everything from Aliexpress and wait 3 months for your shit to get home. It’s pretty much like hellofresh for electronics.
Typical hackerboxes’ contents.
September’s box came with an Orange Pi lite – a supposedly contender on the single-board computers.
I’ve read about that before, as I read about many other single-board computers which appeared recently. They all claim to be better than the Raspberry Pi in one way or another. Or cheaper. Or both.
In fact, I have a C.H.I.P. $9 computer, and it works great – if that shit had HDMI, I would buy a dozen of them. Or…. maybe not.
C.H.I.P. – the worst name ever to google for. But it has DOGE-quality control. Seriously.
But I digress.
Why people use those single-board machines? Basically because they are cheap as fuck and because it’s so easy to use their GPIOs. Want to attach a small screen? 2 and a half bucks and a download. Pretty much everything on the Raspberry Pi is like this.
That orange pi claimed full compatibility with Raspberry Pi. Well, it does not. The GPIOs are different, the libraries are different (and not so available), the whole Linux distribution is different. In fact, it sucks to install ANYTHING on it. Reviews after review they tell how this machine sucks. How finicky it is with SD cards and power sources, how it doesn’t tell you shit before the boot, how slow it actually is, etc etc.
I remember that took me a week to make mine to boot. Then, this week, I decided to install RetroPie, a Linux distribution with emulators in mind, and play some Super Mario.
After spending hours downloading and copying the image to the SD card and not having ANY idea what the fuck was going on (the Orange Pi does not turn on the screen, a LED, nothing, until it successfully boots), I decided to go for a serial console.
Yep. I am using a serial console in 2016 because a 2016 computer can’t bother to light a fucking led when it’s on.
Interestingly, the Orange Pi’s hardware can be so great in some aspects, and suck in others. For example, it has Wi-Fi, IR, a proper reset button, it’s quad-core, etc etc. And it costs 12 bucks.
To connect the Orange Pi to my Mac, I used a USB-to-Serial (isn’t usb serial already?) CH340. This:
Welcome to 1962. Here is your RS-232 connector from a Macbook Pro to a Quad-Core computer made in 2016 for US$ 12.
The Orange Pi has 3 pins for RX, TX and GND for a serial console, which you connect to this little thing and then to the Mac. Except that you need a driver for it, and the official one makes the Mac go bananas. Really. I haven’t seen a Mac have a kernel panic in almost 10 years. But there is a fix for mac kernel panic.
After that, it’s a matter of running a
screen /dev/cu.wchusbserialXXXXXXX 115200
Where XXXXX is whatever in your computer. After that, you are able to see what this piece of crap is doing before it shows anything on the screen.
My OrangePi connected to a Mac via usb-to-serial.
After using this I somehow managed to make this crap boot. But not with the RetroPie I wanted, but with the same vanilla Armbian (Debian for arm – got it?) that I had before.
And I don’t know what to do with it.
- It’s slow as fuck.
- It needs its own stupid power cable. It’s the worst thing about the whole machine. Seriously.
- It’s REALLY finicky. You tell it to reboot? Good luck! It will certainly stop responding, but sometimes it can reboot. Mostly not.
- Setting up wifi is a real pain in the ass.
- It overscans on my HDMI tv. Their response? Get a new TV.
- Do I need this stupid Wi-Fi antenna? It’s slower and worse than the invisible one from the Raspberry Pi 3.
- I can’t have ANY idea about what’s going on until the machine is in the middle of Linux boot. If it worked fine, that wouldn’t be a problem, but it does not.
- The manufacturer does not provide even their own Linux image!
- GPIOs totally different from Raspberry Pi. No libraries work without being adapted.
- Community support? It exists, but it’s small and a best-effort thing for a machine whose destiny is to be forgotten.
- If I want the nintendo emulator, I need to configure it by hand as if this is Slackware in 1994.
I was reading some forums, where some nerd said that “If you want a great machine, buy [whatever], if you want marketing, buy a Raspberry Pi”. And I was thinking about that.
To run a PWM engine on the Raspberry PI, I have to import pwm in a python program. To use an SSD1306 OLED screen, all I need to do is “import SSD1306”. And so it goes.
To find solutions about your problems, there are literally thousands of sources, and literally millions of people using Raspberry Pis. All your questions are mostly answered.
After using this Orange Pi, I came back to one of my Raspberry Pi Zeros. Where EVERYTHING works.
And I got so happy to have this wonderful ecosystem. Where a kid goes from back-street kid to Ph.D student thanks to the Pi.