RoadTest: Raspberry Pi 3 Model A+
Author: rancell
Creation date:
Evaluation Type: Development Boards & Tools
Did you receive all parts the manufacturer stated would be included in the package?: True
What other parts do you consider comparable to this product?: Raspberry Pi 3 Model B+, Raspberry Pi Zero
What were the biggest problems encountered?: The hardest part was probably connecting and disconnecting cables to the Pi, as it's so small!
Detailed Review:
For this road test I received a Raspberry Pi 3 Model A+. I'm going to use it to replace an garage door opener I made using a Raspberry Pi Zero. The garage door opener runs a web server that allows you to open and close the garage door when on the local WiFi network - the sort of project that first nicely into the Raspberry Pi platform. While I'm pretty happy with the Raspbian OS used in the existing server, it does have the downside of having a being yet another device to manage. I want to try using Ubuntu Core on the replacement to make this easier.
In the picture below my helpful assistants show you what comes in the small cardboard box.
There are three models in the modern Raspberry Pi family (ignoring the Pi 4 which came out as I wrote this):
There are two things you need you need to buy to make use of a Raspberry Pi:
In addition, I highly recommend you get a USB hub / Ethernet adapter. When plugged into the A+ or Zero this makes the connectivity essentially the same as the B+. So you can easily connect a keyboard and mouse during development, then remove these later when your project is ready. If you permanently need such connectivity I'd just consider getting a B+ in the first place.
Finally you probably want to get a case to protect the Pi when you're finished. There are many suppliers that make these so you should be able to find something suitable.
The requirements for the existing project were quite simple:
A Pi Zero running Raspbian and a Python web server solved this nicely. The Pi connects to the local WiFi network and serves a page that contains a button to open or close the door. This works the same as pressing the button on the wall in the garage.
The relay connects to the garage door motor but I wont show how I have it connected. If you are interested in building a similar system then you need to check how your particular garage door works and ensure you have it wired up safely.
I had originally wanted to run Ubuntu Core on the Raspberry Pi for the following reasons:
However Ubuntu doesn't support the Zero as the CPU is too old, so I either had to use a full Model B+ which was more expensive or stick with Raspbian on the Zero. Just after I completed the project the A+ was released, and I now can have both a cheap device and Ubuntu Core. Yay!
First step is the downloads page at raspberrypi.org, which lists Ubuntu Core as one of the suggested third party operating systems. The instructions are fairly easy, and involve downloading an image (238Mb), writing it to a SD card and then booting the Pi.
After boot I entered the following when prompted:
And that's it. The final screen shows the exact command I need to run to log into this box, and no password needs to be entered as it's already used the SSH key attached to my account. I can now unplug the mouse, keyboard and monitor and develop everything from my laptop.
To make this project into a snap I did the following:
After some iterations to get things right, the snaps are automatically built and appear in the snap store page.
I connected up a relay to the 3V, GND and GPIO4 pins on the Raspberry Pi and installed the app with the following commands from my laptop:
ssh robert-ancell@192.168.1.192
snap install garage-door
snap connect garage-door:gpio pi:bcm-gpio-4
snap start garage-door
Here is the finished product. When I browse to 192.168.1.192 I can control the relay and open/close the garage door. Ready to replace the existing Pi Zero!
The great thing about using Ubuntu Core is this device will automatically update both the OS software and my app every time I upload a new version. And if I want another device I can just buy another Raspberry Pi, install Ubuntu Core and run the same commands.
The A+ is a welcome addition to the Raspberry Pi family. It fits the case where you want to make an affordable embedded device that doesn't need all the connectivity of the standard B+ Raspberry Pi model but you want to be able to use Ubuntu (which the Zero can't). Ubuntu Core was easy to install and ran fast on this device.
While not as tiny as the Zero the A+ is a very compact size and easy to hide away. There's plenty of good case options available to protect it.
The only negative on this board is the lack of connectivity, but a simple USB hub / Ethernet adapter resolves this for development purposes. For this project I was happy to use WiFi for network access but if I needed Ethernet then additional hardware would have been required. Though this is not particularly expensive it would eat away some of the savings over the Model B+.
I'd use the Raspberry Pi + Ubuntu Core combination again and I hope this review has been helpful for anyone else interested in trying that!