Stufin
Home Quick Cart Profile

ROCK 4 SE Single Board Computer 4GB LPDDR4 RAM Rockchip RK3399-T ARM Cortex-A72

Buy Now on Stufin

Component Name

ROCK 4 SE Single Board Computer

Overview

The ROCK 4 SE Single Board Computer (SBC) is a powerful, feature-rich, and compact computing platform based on the Rockchip RK3399-T system-on-chip (SoC). This single-board computer is designed for a wide range of applications, including IoT, artificial intelligence, machine learning, and robotics, as well as for use in industrial control systems, media centers, and more.

Key Features

### Processors and Memory

Processor

Rockchip RK3399-T, a hexa-core processor featuring two ARM Cortex-A72 cores and four ARM Cortex-A53 cores

CPU Frequency

Up to 2.0 GHz

RAM

4GB LPDDR4, offering high-bandwidth and low-power memory for demanding applications

Storage

Supports microSD card expansion up to 128GB, as well as eMMC storage (optional)

### Connectivity and Interfaces

Network

Dual-band Wi-Fi 5 (802.11ac), Bluetooth 5.0, and Gigabit Ethernet (RJ45)

USB

2x USB 3.0 Type-A, 1x USB 3.0 Type-C, and 1x USB 2.0 Type-C (OTG)

Display

1x HDMI 2.0 (4K@60Hz), 1x MIPI-DSI (4 lanes), and 1x eDP (4 lanes)

Audio

1x 3.5mm audio jack, 1x digital microphone, and 1x speaker connector

Other Interfaces

1x SPI, 1x I2C, 2x UART, 1x I2S, 1x PCM, and 1x JTAG

### Operating System and Software

Supported Operating Systems

Android, Ubuntu, Debian, and other Linux distributions

Software Development

Supports popular development tools and frameworks, including Android SDK, Android Things, and Linux SDK

### Power and Dimensions

Power Input

5V DC, via USB-C or GPIO headers

Power Consumption

<10W (typical), <15W (max)

Dimensions

85mm x 56mm x 18mm (3.34in x 2.20in x 0.71in)

Weight

Approximately 65g (2.29oz)

### Additional Features

Secure Boot

Supports secure boot mechanisms for secure-boot enabled operating systems

Hardware Acceleration

Features a range of hardware accelerators, including a GPU, VPU, and ISP

Thermal Design

Designed with thermal management in mind, featuring a heat sink and thermal tape for efficient heat dissipation

The ROCK 4 SE Single Board Computer offers a unique combination of performance, power efficiency, and features, making it an ideal choice for a wide range of applications, from IoT and AI to industrial automation and beyond.

Pin Configuration

  • ROCK 4 SE Single Board Computer Pinout Guide
  • The ROCK 4 SE Single Board Computer is a powerful IoT device based on the Rockchip RK3399-T ARM Cortex-A72 processor. It features 4GB of LPDDR4 RAM and a wide range of interfaces, making it suitable for various IoT applications. This document provides a comprehensive guide to the ROCK 4 SE's pinout, explaining each pin's function and how to connect them.
  • GPIO Pins
  • The ROCK 4 SE has a total of 40 GPIO pins, which can be used for various purposes such as digital input/output, analog input, I2C, UART, SPI, and more.
  • GPIO0-3:
  • + GPIO0: GPIO pins 0-3 are used for UART0 RX, UART1 RX, UART2 RX, and UART3 RX respectively.
  • + GPIO1: Reserved for future use.
  • + GPIO2: Reserved for future use.
  • + GPIO3: Reserved for future use.
  • GPIO4-7:
  • + GPIO4: I2C0 SCL (clock line).
  • + GPIO5: I2C0 SDA (data line).
  • + GPIO6: I2C1 SCL (clock line).
  • + GPIO7: I2C1 SDA (data line).
  • GPIO8-11:
  • + GPIO8: UART0 TX (transmit).
  • + GPIO9: UART1 TX (transmit).
  • + GPIO10: UART2 TX (transmit).
  • + GPIO11: UART3 TX (transmit).
  • GPIO12-15:
  • + GPIO12: SPI0 MOSI (master out slave in).
  • + GPIO13: SPI0 MISO (master in slave out).
  • + GPIO14: SPI0 SCK (clock).
  • + GPIO15: SPI0 CS (chip select).
  • GPIO16-19:
  • + GPIO16: SPI1 MOSI (master out slave in).
  • + GPIO17: SPI1 MISO (master in slave out).
  • + GPIO18: SPI1 SCK (clock).
  • + GPIO19: SPI1 CS (chip select).
  • GPIO20-23:
  • + GPIO20: PWM0 (pulse width modulation).
  • + GPIO21: PWM1 (pulse width modulation).
  • + GPIO22: PWM2 (pulse width modulation).
  • + GPIO23: PWM3 (pulse width modulation).
  • GPIO24-27:
  • + GPIO24: I2S0_CLK (clock).
  • + GPIO25: I2S0_WS (word select).
  • + GPIO26: I2S0_SD (serial data).
  • + GPIO27: I2S1_CLK (clock).
  • GPIO28-31:
  • + GPIO28: I2S1_WS (word select).
  • + GPIO29: I2S1_SD (serial data).
  • + GPIO30:Reserved for future use.
  • + GPIO31:Reserved for future use.
  • GPIO32-35:
  • + GPIO32: ADC_IN0 (analog input).
  • + GPIO33: ADC_IN1 (analog input).
  • + GPIO34: ADC_IN2 (analog input).
  • + GPIO35: ADC_IN3 (analog input).
  • GPIO36-39:
  • + GPIO36: Reserved for future use.
  • + GPIO37: Reserved for future use.
  • + GPIO38: Reserved for future use.
  • + GPIO39: Reserved for future use.
  • Power Management Pins
  • Vin (1-3): Input voltage (5V-12V) for power supply.
  • VCC (4-5): Output voltage (3.3V) for peripherals.
  • GND (6-15, 34-39): Ground pins.
  • RTC_BAT (16-17): Real-time clock (RTC) battery input (1.5V-3.6V).
  • Display and Audio Pins
  • LCD_CLK (18-19): LCD clock signal.
  • LCD_DE (20-21): LCD data enable signal.
  • LCD_D0-23 (22-45): LCD data bus (24-bit).
  • HDMI_TX0-3 (46-49): HDMI transmit pins (four lanes).
  • AUDIO_L (50-51): Audio left channel output.
  • AUDIO_R (52-53): Audio right channel output.
  • Expansion and Interface Pins
  • USB_HOST (54-55): USB host interface ( USB 2.0).
  • USB_OTG (56-57): USB on-the-go interface (USB 2.0).
  • ETH_TX+ (58-59): Ethernet transmit pins (RJ-45).
  • ETH_TX- (60-61): Ethernet transmit pins (RJ-45).
  • ETH_RX+ (62-63): Ethernet receive pins (RJ-45).
  • ETH_RX- (64-65): Ethernet receive pins (RJ-45).
  • SDMMC (66-67): SD/MMC card interface (4-bit).
  • MIPI_CSI (68-69): MIPI camera serial interface (CSI).
  • MIPI_DSI (70-71): MIPI display serial interface (DSI).
  • Other Pins
  • KEYADC (72): Key press ADC input.
  • WAKEUP (73): Wake-up signal input.
  • RESET (74): Reset input.
  • Pin Connection Guide
  • When connecting pins, ensure the following:
  • Use a suitable header or connector for the ROCK 4 SE's GPIO pins.
  • Connect GPIO pins to peripherals or modules according to their respective functions (e.g., UART, I2C, SPI, etc.).
  • Power management pins (Vin, VCC, and GND) should be connected to a suitable power supply and peripherals.
  • Display and audio pins should be connected to a suitable display or audio module.
  • Expansion and interface pins should be connected to peripherals or modules according to their respective functions (e.g., USB, Ethernet, SD/MMC, etc.).
  • Other pins (KEYADC, WAKEUP, RESET) should be connected according to the specific application requirements.
  • Important Notes
  • Always refer to the ROCK 4 SE's datasheet and technical documentation for specific pinout information and electrical characteristics.
  • Ensure proper voltage levels and current ratings when connecting peripherals and modules to the ROCK 4 SE's pins.
  • Use suitable protection mechanisms (e.g., voltage regulators, resistors, capacitors) to prevent damage to the ROCK 4 SE or connected peripherals.
  • By following this pinout guide and connection structure, you can successfully integrate the ROCK 4 SE Single Board Computer into your IoT project or application.

Code Examples

ROCK 4 SE Single Board Computer Documentation
Overview
The ROCK 4 SE Single Board Computer is a powerful and compact computing platform based on the Rockchip RK3399-T ARM Cortex-A72 processor. This SBC is equipped with 4GB of LPDDR4 RAM, making it suitable for a wide range of IoT applications, from multimedia processing to artificial intelligence and machine learning.
Technical Specifications
Processor: Rockchip RK3399-T ARM Cortex-A72
 RAM: 4GB LPDDR4
 Storage: eMMC 5.1, MicroSD card slot
 Operating System: Android 10, Ubuntu 20.04 LTS, Debian 10
 Connectivity: Wi-Fi 5, Bluetooth 5.0, Gigabit Ethernet, USB 3.0, HDMI 2.0
 GPIO: 2x 40-pin headers, 1x 16-pin header
Code Examples
### Example 1: Python Script for GPIO Control using RPi.GPIO
This example demonstrates how to use the ROCK 4 SE's GPIO pins to control an LED using Python and the RPi.GPIO library.
Hardware Requirements
ROCK 4 SE Single Board Computer
 Breadboard
 LED
 Resistor (1k)
 Jumper wires
Software Requirements
Python 3.x installed on the ROCK 4 SE
 RPi.GPIO library installed
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)
try:
    while True:
        # Turn the LED on
        GPIO.output(LED_PIN, GPIO.HIGH)
        print("LED is on")
        time.sleep(1)
        
        # Turn the LED off
        GPIO.output(LED_PIN, GPIO.LOW)
        print("LED is off")
        time.sleep(1)
except KeyboardInterrupt:
    # Clean up GPIO on exit
    GPIO.cleanup()
```
### Example 2: Linux Shell Script for System Information and Temperature Monitoring
This example demonstrates how to use the ROCK 4 SE's Linux operating system to create a shell script that displays system information and monitors the CPU temperature.
Software Requirements
Linux operating system installed on the ROCK 4 SE
 `lm-sensors` package installed
Code
```bash
#!/bin/bash
# Display system information
echo "System Information:"
echo "-----------------"
uname -a
cat /proc/cpuinfo | grep "model name"
cat /proc/meminfo | grep "MemTotal"
# Monitor CPU temperature
echo "CPU Temperature:"
echo "-----------------"
while true
do
    temperature=$(sensors -f | grep "CPU Temperature" | awk '{print $2}')
    echo "Temperature: $temperatureC"
    sleep 1
done
```
### Example 3: C++ Program for Image Processing using OpenCV
This example demonstrates how to use the ROCK 4 SE's camera interface and OpenCV library to capture and process images.
Hardware Requirements
ROCK 4 SE Single Board Computer
 Camera module (e.g., OV5647)
Software Requirements
OpenCV library installed on the ROCK 4 SE
 C++ compiler (e.g., GCC)
Code
```cpp
#include <opencv2/opencv.hpp>
#include <iostream>
int main() {
    // Initialize the camera
    cv::VideoCapture cap(0);
if (!cap.isOpened()) {
        std::cerr << "Error: Unable to open camera" << std::endl;
        return 1;
    }
while (true) {
        // Capture a frame
        cv::Mat frame;
        cap >> frame;
// Convert the frame to grayscale
        cv::Mat gray;
        cv::cvtColor(frame, gray, cv::COLOR_BGR2GRAY);
// Display the grayscale image
        cv::imshow("GrayScale", gray);
// Exit on key press
        if (cv::waitKey(1) == 27) {
            break;
        }
    }
// Release resources
    cap.release();
    cv::destroyAllWindows();
return 0;
}
```
These examples demonstrate the ROCK 4 SE's capabilities in various contexts, including GPIO control, system information and temperature monitoring, and image processing. The ROCK 4 SE's flexibility and versatility make it an ideal choice for a wide range of IoT applications.