Raspberry Pi 3 Model A+ - Review

Table of contents

RoadTest: Raspberry Pi 3 Model A+

Author: meera_hussien

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?: The other parts which are comparable to this product would be the other manufacturer of this similar product such as the banana pi and orange pi

What were the biggest problems encountered?: There were no such big problems encountered. There are a few challenges which I face during the review. On the hardware, it was as good but coming to the software part I face some difficulties in getting a working library for my simple project.

Detailed Review:

Review On Raspberry Pi 3 A+

1. Introduction

2. Product Details

3. Getting Started

4. Simple Project

5. Conclusion

 

 

1. Introduction

 

My review today is about the Raspberry Pi 3 A+ which was the last product under Raspberry Pi 3 category. It was launched on the last quarter of 2018. To know more about the history of the PI boards you may click this link. This model comes in a smaller size. The size is between the Raspberry Pi 3 and Raspberry Pi zero. In the first part, we shall look into the details of the board. and followed by the performance of the board. Next, we shall look into a simple project using the raspberry pi board and lastly on the conclusion.

 

Below is the image of the Raspberry Pi3 A+

 

imageimage

 

 

image

 

Next, we shall see the details of the board.

 

 

2. Product Details

 

Below is the specification of the board.

image

 

 

 

The board details are as shown below

 

image

 

 

 

Below is the physical drawing of the raspberry pi.

image

 

 

 

 

 

 

3. Getting Started

 

Before we can start to test the raspberry, we need a few things ready. We will need a power supply with a rating of 5V 2500mA. And the next thing which we will need is the Sd card with the installed OS. Since this module cannot be connected through a terminal we need to prepare the other PC accessories such as the PC and other computer accessories. The OS which I use is the Raspbian. For formatting the sd card I have use SD Formatter. And to flash the Raspbian OS to the sd card I have use Etcher. Both of this are free so please feel free to use them. Once the sd card is ready, put it in the sd card slot and powered it up.

 

Upon powering it, we need to get the latest update. To do that we can use the below code

 

1
sudo apt-get update

 

 

The next we want to do is to check the spec of the board. This can be accomplished using the code below

 

1
lscpu

 

 

 

This is the spec of the board.

image

 

Next, we install the sysbench. this can be done using the code below

 

1
sudo apt-get install sysbench  

 

 

The reason why we are installing the sysbench is to monitor the performance of the raspberry pi device. There are a few tests which we can execute.

 

1. CPU test

image

 

 

 

2. Memory

 

image

 

 

To know the details of the pinout of the board, we can get it by simply keying in "pinout"

image

 

image

4.Simple Project

 

For this simple project, I have decided to make the IoT system. Basically what the system does is it measures the temperature and humidity, and send the data to the internet through wifi. To achieve the objective of this project I have used

  • Raspberry Pi 3 A+
  • DHT11
  • i2C 16x2 LCD

And for the monitoring purpose, I have to use the "Thingspeak".

 

Once we have all the items ready we can start to build our project. The circuit for the project is as shown below

 

 

 

image

 

 

Once we have made the connection as per the image above. We can start to code. The first thing we want to do is to enable the i2C connection. This can be done by following the steps below

 

First, go to Raspi-Config

 

1
sudo raspi-config

 

image

 

 

Go to Interfacing Options

image

And go to I2C

image

 

And finally, click on the I2C and choose to enable

image

 

 

 

The next step is to install the necessary library, which is the I2C-tools and the SMBUS. To do this follow the step below

 

1
sudo apt-get install i2c-tools.

 

 

 

1
sudo apt-get install python-smbus

 

 

Once we are finished with the installation, we need to restart the PI and log in again. Once we are done with this we can check the address for our LCD. To do this type

 

1
i2cdetect -y 1

 

We can see from the image below that, that LCD address is 27. Just keep the number, in case we need them. A detailed tutorial on how to set up the LCD can be found here

 

image

 

 

.The next library which we need to install is the dht11. For this project, I have decided to use the adafruit library. Type the code below in the terminal

 

1
pip3 install adafruit-circuitpython-dht

 

 

Now the python environment is ready for our coding purpose. Next, we need to create a thingspeak account. Once we have successfully created the account, we need to configure our channel. To do that go to the API Keys to get the key number. As shown in the video below

 

 

This unique API key needs to be captured in our code.

 

The full code is as shown below

 

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import time
import board
import I2C_LCD_driver
import adafruit_dht
import sys
import requests#initial  the dht device, with data pin connected to:
dhtDevice = adafruit_dht.DHT11(board.D4) #initial the lcd
mylcd = I2C_LCD_driver.lcd() #Enter Your API Code Here
myAPI = 'KCDSWNQ9ELK6XEWR'
# URL where we will send the data, Don't change it
baseURL = 'https://api.thingspeak.com/update'
mylcd.lcd_display_string("Temp & Humidity", 1) mylcd.lcd_display_string("  Monitoring Sys", 2) time.sleep(3.0) while True:      try:           #print the values to the serial port         
          temperature_c = dhtDevice.temperature           temperature_f = temperature_c * (9 / 5) + 32         
          humidity = dhtDevice.humidity           print("Temp: {:.1f} F / {:.1f} C   Humidity: {}%".format(temperature_f, temperature_c, humidity))           mylcd.lcd_clear()           mylcd.lcd_display_string("Temp: %d%s C" % (temperature_c, chr(223)),1)           mylcd.lcd_display_string("Humidity: %d %%" % humidity,2)                     data = {'api_key': myAPI, 'field1':temperature_c, 'field2':humidity};           result = requests.post(baseURL, params=data)           print (result.status_code)                 if result.status_code == 200:                     print ("Success!! Thingspeak")                 else                   
                    print ("Fail!! Thingspeak")                                             except RuntimeError as error:           #Errors happen fairly often, DHT's are hard to read, just keep going         
          print(error.args[0])              time.sleep(2.0)

 

 

Below are the images of the setup for the project.

image

 

DHT11 Sensor

image

 

The output:

image

 

 

Meanwhile, the same data is captured in the thingspeak

image

 

 

The data in the thingspeak can be processed to do many other calculations such as getting the average below or transfer the value to an excel sheet. That's about the simple project using the Raspberry Pi3 A+ model.

 

 

5. Conclusion

 

The prementionaed board is a good developed board for a new user who wishes to learn about python and use it as a processor for an electronics project due to itd simplisity and minitrized size. In comparision with the Raspberry Pi Zero, it offer standard HDMI and USB 2.0 port . In addition, Raspberry Pi A+ would be more prefered among the student and hobbyist.

Anonymous
  • Dear

     

    Thank you for the comment.

     

    I have not tried that option yet. But I believe it can be done through the wireless connection. In this simple project, I have used the board as a data collection system. The temperature and humidity value is updated to thingspeak through wifi. 

  • Did you consider running the board as a remotely operated slave device?

    Given the few USB ports, it would be a very good remote display/data collection system.

     

    I am not sure you presented a good argument to support your conclusion that the board would be preferred by students or hobbyist. A standard RPi would be better suited to that use.

     

    DAB