There I was, messing about with GPIO pins on my Raspberry Pi 3 B+ recently and as usual could not remember the pin numbers. I stumbled on this image below - thanks to @pinout for this handy Raspberry Pi connector layout (see link to Raspberry Pi site further down) and to readers for links for prototyping boards. Indeed this started as a simple entry and is rapidly filling up with REALLY useful content and comments.
Yesterday in the post came the singularly impressive-looking NanoPi M4 unit complete with supplied eMMC for Android 8 and 16GB uSD for Lubuntu Desktop and the most spectacular heat-sink I’ve ever seen, not to mention (oh, go on then, if you insist) , a tiny Apple-reminiscent mains power supply able to deliver 5v at a stunning 4 AMPS. I’m IMPRESSED already.
For some considerable time now I’ve been using Apache (web server) on my various SBCs to present a basic web page, run PHPLITEADMIN (local SLQLite Database Manager and do other menial jobs. A LONG time ago I got rid of MySQL (which I had used on and off along with MS SQL on larger machines for a long time) despite it’s undoubted qualities as MySQL tends to be not ideal for the likes of little Raspberry Pis with their limited resources and limited life SDs. Well, that was a start but now it is possibly time to move on from Apache to something a little lighter on it’s feet as well.
Antonio is busy having another so at setting up Caddy as an alternative web server, but he’s having a busy week and I could not help but give Nginx a go – I WILL play with both that and Caddy in the very bear future and the winner will no doubt get into “the script”. Any web server for me has to run PHP, preferably v7 as I like to be up to date – warning - I’ve only tested this on a Raspberry Pi 3 (2 will work) but as there was nothing specifically Raspbian-ish in the setup I’ve no doubt this would work elsewhere.
Having satisfied myself that RPI-CLONE does a good job of creating backups of Raspberry Pi (no guarantees you won’t lose data but it hasn’t happened to me yet) I started the search for a solution for other boards. I find the Orange Pi +2E to be a particularly nice piece of hardware, but useless without an easy backup. armbian-config will let you copy from SD to EMMC but not the other way around – so no backup capability for eMMC users. So I've been working on this...
I received a potentially nice tip from Mr Shark today – a web editor for SQLITE (as against PHPLITEADMIN which is not Web based and uses PHP). Beware I found some kind of timeout, the author agreed this was likely some kind of timeout, then closed the issue on Github without doing anything. Not sure what that means.
This article started off as two separate subjects - and has now gone SO much further - you really need to read this one...
So I’m messing here with a NanoPi NEO PLUS2 (though this applies to other board too) – and I’ve had all sorts of issues getting SSD1306 drivers working on them – well, not so much getting them to work – that’s easy – more stopping this infernal “segmentation error”. I needed a backup solution. Well, I found more than one !
This Xiaomi Roidmi 3S cigarette-lighter-sized Bluetooth transmitter and car charger has two USB outputs totalling 2.4 amps output AND is able to talk via Bluetooth to your mobile phone so that those without Bluetooth on the car radio can tune into a special low power FM transmission and play their phone music via the car stereo. Not only that but it is inexpensive! The unit came from GearBest – here’s the link…
Xiaomi ROIDMI 3S Bluetooth Music Car Charger: https://goo.gl/uzmHh6
Thr Roidmi website is out of date, featuring models 2 and 2s whereas the unit I have is model 3S. Operation requires little explanation so really the GearBest link above is good enough. Once the unit is paired to your phone by Bluetooth, all sound output from your phone or tablet will go to the unit and be retransmitted by radio (FM) to the car radio. The unit also of course has 2 USB charging outputs which can be used for example to charge your device or devices - always handy in the car.
The Roidmi 3S is solid enough, if you are unfortunate enough not to have Bluetooth on your car stereo, it could prove useful. The brief instructions (which I didn’t need) were in English. It has now been in use for weeks in our little Spanish car and operates flawlessly.
I must admit to being sceptical at first, I’ve seen similar units over the years promising to send music over FM and usually ending up with disastrous sound. This unit on the other hand has true, clear stereo and sounds GREAT with no interference from other stations, at least, not here in the Granada region of Southern Spain. My UK car has full Bluetooth but our little Spanish run-around has no Bluetooth and as the radio stations are Spanish, has, up to now been essentially useless.
Now, we can stream my wife's favourite American Rock station from her Smartphone to the radio andeven keep the phone charged at the same time – marvellous.
This is a post from back in March 2017 – but as I’d forgotten all about it, I thought you might like to share my renewed enthusiasm if you are a Node-Red user. NR introduces non-volatile flow and global variables in version 0.19 but if that doesn't work for you, well there is always this:
Last month, the mailbag brought a number of goodies including a new smart wrist band for Maureen, the Xiaomi MI Band 3, supplied by GearBest. Several weeks later, this little fitness band is in full time use, as Maureen absolutely loves it. The battery lasts a week or more between charges, which is far more than can be said for some other bands out there including pretty colour bands that are essentially useless because of short battery life - no such problems here.
Here’s the link:
Xiaomi Mi Band 3 Smart Bracelet: https://goo.gl/hKj4PN
Update September 2018
I read about the most convoluted ways to back up SBC systems…. some back up only data, some use arcane commands to do the job – few if any are a single click job for a complete backup that can even handle larger or smaller SDs. That is except for RPI-Clone.
Below “Original article” was written back in 2016 – things have changed a little since then. Bill Wilson has revamped his rpi-clone project and the current version of this superb command-line tool for the Raspberry Pi is here.. https://github.com/billw2/rpi-clone
Update September 2018: Despite my earlier enthusiasm below, it seems things have changed. The Stretch version of Armbian for this board which I grabbed today has a broken armbian-config and the excellent rpi-clone program produces a read-only version of the operating system. The "bionic" version of Armbian for the board kills "the script" very early on. I gave up after several attempts with both versions. As there seem to be no realistic alternatives to Armbian for the board, I guess it is back to the cupboard for the Plus 2E.
Original July update: I’ll not review this as I’ve already reviewed the Plus 2E.. but I recently ordered another one as my enthusiasm for the Plus2E, despite my overall dim view of Orange Pi, is a smashing board – everything just works.
The Orange Pi Plus2E (in brief) has 16GB eMMc, 2GB RAM, Gigabit Ethernet and WIFI, IR sensor, microphone and lots more. It is an H3-based board so not state of the art but very powerful and easy to use. I tested multiple serial ports and multiple I2c channels and they just work. See my original review for more.
While we were down at the coast paying a fleeting visit to Gibraltar, a package arrived for me from www.koogeek.com – their LS1 Smart Light Strip – which is available from TomTop - https://www.tomtop.com/p-ls1-1.html
Here it is, it arrived well-packed – it is worth noting that apps are available for both Android and IOS. The box describes the product and spec in English, Chinese and what looks like German. For IOS users the strip works with Apple HomeKit. Somewhat less info is provided on the box for Android.
At this point I got the urge to open the box and take a look. This time, there were instructions in several languages including French and Italian. The manual has in total three sides in English including specifications and safety warnings.
The strip is for indoor use only and the product includes a 60-LED, sealed, adhesive-backed strip (somewhat waterproof-looking) and inline controller with USB at the end – all in white. Control is over WiFi - 2.4G only.
I plugged the strip into a handy USB supply and with the one button on the controller, turned it on. Double-click doesn’t seem to do anything so at this point it looks like an on-off control only – giving a smooth fade into a satisfyingly bright white.
On removing and re-applying USB power, the lights come up again in white, regardless of the last button state (on or off) so you could end up with a room full of lighting during the day in your absence – not a good thing. I think there may be an assumption here of the user always being present – and power always being on (i.e. no power cuts or brown-outs).
The light works with Google, Siri (Apple) and Alexa voice technologies none of which I had handy to test.
Rather too much Apple bias for me – and that shows in the Android Store who gave the app “Koogeek Smart Home” a rating of 1.7 – particularly low.
I downloaded the app onto my Android phone.
The unit comes with full colour control in the App and setup was particularly easy, however, again if you get a power failure, when it reconnects, app settings are lost and worse, you have to be at the light strip to turn the power on otherwise the App has no idea of the state of the lights. As this is presumably all down to software I’m sure this can be sorted but right now at v2.2.14 it isn’t, which leaves the current strip as a novelty but little else.