Stufin
Home Quick Cart Profile

Raspberry Pi 3 Kit

Buy Now

CPU

Broadcom BCM2837 quad-core Cortex-A53

CPU Clock Speed

1.2 GHz

RAM

1GB

Storage

microSD card slot

Wireless

802.11n Wi-Fi, Bluetooth 4.1

Ethernet

RJ45 port

GPIO

40 pins, 3.3V logic level

Operating System

Raspberry Pi OS, Ubuntu, Windows 10 IoT, and others

Power Consumption

5V, 2.5A (idle), 5V, 1.5A (average)

The Raspberry Pi 3 Kit is an excellent choice for individuals looking to explore the world of IoT, prototyping, and programming. Its compact size, low cost, and extensive feature set make it an ideal platform for a wide range of applications.

Pin Configuration

  • Raspberry Pi 3 Kit Pinout Guide
  • The Raspberry Pi 3 Kit is a powerful and popular single-board computer widely used in IoT projects. It features a 40-pin GPIO header that allows users to connect various peripherals and devices. This guide provides a detailed explanation of each pin, including their functions and how to connect them.
  • Pinout Structure:
  • The Raspberry Pi 3 Kit has a 2x20 header, with the pins arranged in two rows of 20 pins each. The pins are numbered from 1 to 40, starting from the top left corner.
  • Pins 1-26:
  • 1. 3V3 (Pin 1): 3.3V power output
  • Connect to devices that require a 3.3V power supply
  • 2. 5V (Pin 2): 5V power output
  • Connect to devices that require a 5V power supply
  • 3. GPIO 2 (Pin 3): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 4. GPIO 3 (Pin 4): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 5. GPIO 4 (Pin 5): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 6. GND (Pin 6): Ground pin
  • Connect to the ground pin of a device or a breadboard
  • 7. GPIO 17 (Pin 7): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 8. TXD (Pin 8): UART transmit pin
  • Connect to the receive pin of a serial device (e.g., serial console, GPS module)
  • 9. RXD (Pin 9): UART receive pin
  • Connect to the transmit pin of a serial device (e.g., serial console, GPS module)
  • 10. GPIO 23 (Pin 10): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 11. GPIO 24 (Pin 11): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 12. GPIO 10 (Pin 12): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 13. GPIO 9 (Pin 13): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 14. GND (Pin 14): Ground pin
  • Connect to the ground pin of a device or a breadboard
  • 15. GPIO 25 (Pin 15): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 16. GPIO 12 (Pin 16): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 17. 3V3 (Pin 17): 3.3V power output
  • Connect to devices that require a 3.3V power supply
  • 18. GPIO 18 (Pin 18): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 19. GPIO 22 (Pin 19): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 20. GPIO 21 (Pin 20): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 21. GPIO 20 (Pin 21): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 22. GPIO 19 (Pin 22): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 23. GPIO 16 (Pin 23): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 24. GPIO 26 (Pin 24): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 25. GPIO 13 (Pin 25): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 26. GPIO 6 (Pin 26): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • Pins 27-40:
  • 27. ID_SD (Pin 27): I2C clock pin
  • Connect to the clock pin of an I2C device (e.g., accelerometer, gyroscope)
  • 28. ID_SC (Pin 28): I2C data pin
  • Connect to the data pin of an I2C device (e.g., accelerometer, gyroscope)
  • 29. GPIO 5 (Pin 29): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 30. GND (Pin 30): Ground pin
  • Connect to the ground pin of a device or a breadboard
  • 31. GPIO 6 (Pin 31): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 32. GPIO 12 (Pin 32): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 33. GPIO 13 (Pin 33): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 34. GND (Pin 34): Ground pin
  • Connect to the ground pin of a device or a breadboard
  • 35. GPIO 19 (Pin 35): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 36. GPIO 16 (Pin 36): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 37. GPIO 26 (Pin 37): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 38. GPIO 20 (Pin 38): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • 39. GND (Pin 39): Ground pin
  • Connect to the ground pin of a device or a breadboard
  • 40. GPIO 21 (Pin 40): General-purpose input/output pin
  • Can be used as an input or output, depending on the software configuration
  • Important Notes:
  • Always connects components to the correct pins to avoid damage to the Raspberry Pi or the components.
  • Use a breadboard or a PCB to connect components to the Raspberry Pi, rather than directly connecting them to the pins.
  • Make sure to use the correct voltage levels (3.3V or 5V) for the components you are connecting.
  • Consult the Raspberry Pi documentation and the datasheets of the components you are using to ensure compatibility and correct usage.

Code Examples

Raspberry Pi 3 Kit Documentation
Overview
The Raspberry Pi 3 Kit is a single-board computer and a popular choice for IoT projects. It features a quad-core Cortex-A53 CPU, 1GB of RAM, and on-board Wi-Fi, Bluetooth, and HDMI capabilities. This kit provides a comprehensive platform for building IoT applications, prototyping, and learning.
Components Included
Raspberry Pi 3 motherboard
 Power adapter
 MicroSD card
 HDMI cable
 USB cable
 Wi-Fi and Bluetooth antennas
Programming Languages
The Raspberry Pi 3 Kit supports various programming languages, including Python, Java, C++, and more. For this documentation, we will focus on Python examples.
Example 1: Blinking LED using GPIO
In this example, we will use the Raspberry Pi's GPIO pins to blink an LED.
Hardware Requirements
1x LED
 1x 220 resistor
 1x Breadboard
 Jumper wires
Software Requirements
Raspbian OS (latest version)
 Python 3.x installed on the Raspberry Pi
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 the LED pin as an output
GPIO.setup(LED_PIN, GPIO.OUT)
try:
    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)
except KeyboardInterrupt:
    # Clean up GPIO on exit
    GPIO.cleanup()
```
Example 2: Wi-Fi Connectivity and HTTP Request
In this example, we will use the Raspberry Pi's Wi-Fi capabilities to connect to a network and send an HTTP request.
Hardware Requirements
None (uses the on-board Wi-Fi module)
Software Requirements
Raspbian OS (latest version)
 Python 3.x installed on the Raspberry Pi
 `requests` library installed on the Raspberry Pi
Code
```python
import requests
# Set Wi-Fi credentials
WIFI_SSID = "your_wifi_ssid"
WIFI_PASSWORD = "your_wifi_password"
# Connect to Wi-Fi
print("Connecting to Wi-Fi...")
import subprocess
subprocess.run(["sudo", "iwconfig", "wlan0", "essid", WIFI_SSID])
subprocess.run(["sudo", "iwconfig", "wlan0", "key", WIFI_PASSWORD])
print("Connected to Wi-Fi!")
# Send an HTTP request
response = requests.get("https://www.example.com")
print("HTTP Response:", response.status_code)
```
Example 3: Temperature and Humidity Reading using DHT11
In this example, we will use the Raspberry Pi's GPIO pins to read temperature and humidity data from a DHT11 sensor.
Hardware Requirements
1x DHT11 temperature and humidity sensor
 1x Breadboard
 Jumper wires
Software Requirements
Raspbian OS (latest version)
 Python 3.x installed on the Raspberry Pi
 `Adafruit_DHT` library installed on the Raspberry Pi
Code
```python
import Adafruit_DHT
# Set up the DHT11 sensor
DHT_SENSOR = Adafruit_DHT.DHT11
DHT_PIN = 4
# Read temperature and humidity data
humidity, temperature = Adafruit_DHT.read(DHT_SENSOR, DHT_PIN)
print("Temperature: {:.1f}C".format(temperature))
print("Humidity: {:.1f}%".format(humidity))
```
These examples demonstrate the Raspberry Pi 3 Kit's capabilities in GPIO control, Wi-Fi connectivity, and sensor integration. With this kit, the possibilities for IoT projects are endless.