Stufin
Home Quick Cart Profile

Raspberry Pi 3 Model A+

Buy Now on Stufin

Weight

approximately 45g (1.59 oz)

Power Requirements

5V DC power input (via micro-USB port)

Power consumption

approximately 600mA (idle), 1.2A (max)

Documentation and Resources

Official documentation

//www.raspberrypi.org/documentation/>

SDK and software development resources

//www.raspberrypi.org/software/>

The Raspberry Pi 3 Model A+ is an excellent choice for anyone looking to build innovative IoT projects, prototype new ideas, or simply learn about computer science and programming. Its compact size, low cost, and impressive capabilities make it an ideal platform for a wide range of applications.

Pin Configuration

  • Raspberry Pi 3 Model A+ Pinout Guide
  • The Raspberry Pi 3 Model A+ has a 40-pin GPIO (General Purpose Input/Output) header, which provides access to various features and functionalities. Here's a detailed explanation of each pin, point by point:
  • Pin 1-2: Power
  • Pin 1: 3.3V Power (Output) - Provides 3.3V power for external devices.
  • Pin 2: 5V Power (Output) - Provides 5V power for external devices.
  • Pin 3-4: I2C
  • Pin 3: I2C SDA (Data) - Serial Data Line for I2C (Inter-Integrated Circuit) communication.
  • Pin 4: I2C SCL (Clock) - Serial Clock Line for I2C communication.
  • Pin 5-6: UART
  • Pin 5: GPIO14/TxD (Transmit) - Transmit pin for UART (Universal Asynchronous Receiver-Transmitter) serial communication.
  • Pin 6: GPIO15/RxD (Receive) - Receive pin for UART serial communication.
  • Pin 7-8: GPIO
  • Pin 7: GPIO4 - General Purpose Input/Output pin.
  • Pin 8: GPIO14/TxD (Alternate Function) - Can be used as an alternate function pin for UART transmission.
  • Pin 9-10: Ground
  • Pin 9: GND (Ground) - Ground connection.
  • Pin 10: GND (Ground) - Ground connection.
  • Pin 11-12: GPIO
  • Pin 11: GPIO17 - General Purpose Input/Output pin.
  • Pin 12: GPIO18 - General Purpose Input/Output pin.
  • Pin 13-14: PWM
  • Pin 13: GPIO27/PWM0 - Pulse Width Modulation output (Channel 0).
  • Pin 14: GPIO22/PWM1 - Pulse Width Modulation output (Channel 1).
  • Pin 15-16: GPIO
  • Pin 15: GPIO23 - General Purpose Input/Output pin.
  • Pin 16: GPIO24 - General Purpose Input/Output pin.
  • Pin 17-18: 3.3V Power
  • Pin 17: 3.3V Power (Output) - Provides 3.3V power for external devices.
  • Pin 18: 3.3V Power (Output) - Provides 3.3V power for external devices.
  • Pin 19-20: SPI
  • Pin 19: MISO (Master In Slave Out) - Master In Slave Out pin for SPI (Serial Peripheral Interface) communication.
  • Pin 20: MOSI (Master Out Slave In) - Master Out Slave In pin for SPI communication.
  • Pin 21-22: SPI
  • Pin 21: SCLK (Serial Clock) - Serial Clock pin for SPI communication.
  • Pin 22: CE0 (Chip Enable 0) - Chip Enable pin for SPI communication (Channel 0).
  • Pin 23-24: GPIO
  • Pin 23: GPIO25 - General Purpose Input/Output pin.
  • Pin 24: GPIO8 - General Purpose Input/Output pin.
  • Pin 25-26: GPIO
  • Pin 25: GPIO7 - General Purpose Input/Output pin.
  • Pin 26: GPIO9 - General Purpose Input/Output pin.
  • Pin 27-28: GPIO
  • Pin 27: GPIO0 - General Purpose Input/Output pin.
  • Pin 28: GPIO1 - General Purpose Input/Output pin.
  • Pin 29-30: GPIO
  • Pin 29: GPIO5 - General Purpose Input/Output pin.
  • Pin 30: GPIO6 - General Purpose Input/Output pin.
  • Pin 31-32: GPIO
  • Pin 31: GPIO12 - General Purpose Input/Output pin.
  • Pin 32: GPIO13 - General Purpose Input/Output pin.
  • Pin 33-34: GPIO
  • Pin 33: GPIO19 - General Purpose Input/Output pin.
  • Pin 34: GPIO16 - General Purpose Input/Output pin.
  • Pin 35-36: GPIO
  • Pin 35: GPIO26 - General Purpose Input/Output pin.
  • Pin 36: GPIO20 - General Purpose Input/Output pin.
  • Pin 37-38: GPIO
  • Pin 37: GPIO21 - General Purpose Input/Output pin.
  • Pin 38: GPIO2 - General Purpose Input/Output pin.
  • Pin 39-40: GPIO
  • Pin 39: GPIO3 - General Purpose Input/Output pin.
  • Pin 40: GPIO4 - General Purpose Input/Output pin.
  • Connecting the Pins
  • When connecting the pins, make sure to:
  • Use the correct voltage levels (3.3V or 5V) for power and I/O operations.
  • Use suitable connectors or cables for GPIO, UART, I2C, SPI, and other interfaces.
  • Ensure proper ground connections for reliable communication and operation.
  • Refer to the Raspberry Pi documentation and datasheets for specific connection requirements and guidelines.
  • Remember to handle the Raspberry Pi and its components with care, as they can be damaged by static electricity, incorrect voltage levels, or improper connections.

Code Examples

Raspberry Pi 3 Model A+ Documentation
Overview
The Raspberry Pi 3 Model A+ is a single-board computer and a popular component in the Internet of Things (IoT) ecosystem. It offers a balance of performance, power consumption, and cost, making it an ideal choice for a wide range of projects, from embedded systems to media centers.
Specifications
Processor: Quad-core Cortex-A53 CPU (BCM2837B0)
 RAM: 512 MB LPDDR2 SDRAM
 Storage: MicroSD card slot
 Operating System: Raspbian (default), compatible with various Linux distributions
 Networking: Wi-Fi (802.11b/g/n), Bluetooth 4.2, Ethernet (RJ45)
 GPIO: 40-pin header with GPIO, I2C, SPI, UART, and power pins
 Power: 5V, 2.5A recommended power supply
Code Examples
### Example 1: Blinking an LED using Python and GPIO
This example demonstrates how to use the Raspberry Pi's GPIO pins to control an LED.
Hardware Requirements
Raspberry Pi 3 Model A+
 Breadboard
 LED
 1 k resistor
 Jumper wires
Software Requirements
Raspbian OS
 Python 3.x
Code
```python
import RPi.GPIO as GPIO
import time
# Set up GPIO mode
GPIO.setmode(GPIO.BCM)
# Define the LED pin
LED_PIN = 17
# Set up the LED pin as an output
GPIO.setup(LED_PIN, GPIO.OUT)
while True:
    # Turn the LED on
    GPIO.output(LED_PIN, GPIO.HIGH)
    time.sleep(1)
    # Turn the LED off
    GPIO.output(LED_PIN, GPIO.LOW)
    time.sleep(1)
```
Explanation
This code uses the `RPi.GPIO` library to interact with the GPIO pins. It sets up pin 17 as an output and repeatedly toggles the LED on and off using the `GPIO.output()` function.
### Example 2: Reading Temperature and Humidity using a DHT11 Sensor and Python
This example demonstrates how to use the Raspberry Pi to read temperature and humidity data from a DHT11 sensor.
Hardware Requirements
Raspberry Pi 3 Model A+
 DHT11 temperature and humidity sensor
 Breadboard
 Jumper wires
Software Requirements
Raspbian OS
 Python 3.x
 `dht11` library (install using `pip install dht11`)
Code
```python
import dht11
# Define the DHT11 pin
DHT11_PIN = 4
# Create a DHT11 object
dht11_sensor = dht11.DHT11(pin=DHT11_PIN)
while True:
    # Read temperature and humidity data
    temperature, humidity = dht11_sensor.read()
# Print the data
    print(f"Temperature: {temperature}C, Humidity: {humidity}%")
# Wait 1 second before reading again
    time.sleep(1)
```
Explanation
This code uses the `dht11` library to interact with the DHT11 sensor. It creates a `DHT11` object and uses it to read temperature and humidity data, which is then printed to the console.
These examples demonstrate the Raspberry Pi 3 Model A+'s capabilities in interacting with external components and sensing the environment. With its powerful processor, versatile GPIO pins, and wide range of compatible libraries and frameworks, the Raspberry Pi 3 Model A+ is an ideal choice for various IoT projects.