# TB-RK3588SD-Power Introduction The TB-RK3588SD-Power is a multifunctional power supply kit, including power management, buttons, LEDs, and a six-axis sensor. This kit can seamlessly connect to devices like the TB-RK3588SD through a 40-pin female header, and is also compatible with Raspberry Pi series products featuring a 40-pin GPIO interface. # TB-RK3588SD-Power Diagram ## Top Diagram ![](./Images/TB-RK3588SD-Power-top.png) ## Bottom Diagram ![](./Images/TB-RK3588SD-Power-bottom.png) ## 40Pin GPIO Pin Definition | Pin Net | Pin NUM | Pin NUM | Pin Net | | -------- | ------- | ------- | -------- | | 3.3V | 1 | 2 | 5V | | SDA | 3 | 4 | 5V | | SCL | 5 | 6 | GND | | GPIO | 7 | 8 | TXD | | GND | 9 | 10 | RXD | | GPIO | 11 | 12 | GPIO | | GPIO | 13 | 14 | GND | | GPIO | 15 | 16 | GPIO | | 3.3V | 17 | 18 | GPIO | | MOSI | 19 | 20 | GND | | MISO | 21 | 22 | GPIO | | SCLK | 23 | 24 | CE0 | | GND | 25 | 26 | CE1 | | SDA | 27 | 28 | SCL | | GPIO | 29 | 30 | GND | | GPIO | 31 | 32 | GPIO | | GPIO | 33 | 34 | GND | | GPIO | 35 | 36 | GPIO | | GPIO/TXD | 37 | 38 | GPIO | | GND | 39 | 40 | GPIO/RXD | Note: PIN37 and PIN39 can only be used for debug UART and cannot be used for any other purposes. # TB-RK3588SD-Power Specification | **Specification** | | | ---------------| ------------------------------------------| | Power In | DC in(5.5×2.1),battery interface(2S-4S) | | Sensor | Six-axis sensor(three-axis accelerometer and three-axis gyroscope) | | Debug | Micro USB | | Key | User key ×3 | | LED | User LED(RGB),power LED,serial port LED | | Display screen | 0.96"TFT screen (SPI interface) | | Fan | 5V fan port(PH2.0,unadjustable speed) | | Antenna | On board 2.4G&5.8G antenna | | Size | 65mm × 56mm | # Quick Start ## Compile and Run the Test Program. Boot the development board and run the Debian system. Once the system is up, clone the TB-RK3588SD-Power code repository. ``` apt-get update && apt-get install git build-essential git clone https://github.com/rockchip-toybrick/sd_power.git ``` After completing the above steps, you will obtain a directory named sd_power. Compile sd_power: ``` cd sd_power make ``` Running test program: ``` chmod a+x sample ./sample ``` The operation result is as follows: The main page displays the ToyBrick logo. - When button 1 is pressed, the red RGB LED lights up, and the network information display page is entered. At this point, pressing buttons 1 and 2 toggles between displaying different network interfaces and IPs. Pressing button 3 returns to the main page. - When button 2 is pressed, the blue RGB LED lights up, and the system load display page is entered. At this point, pressing buttons 1 and 2 toggles between displaying different CPU loads. Pressing button 3 returns to the main page. - When button 2 (note: this should be button 3 for clarity) is pressed, the green RGB LED lights up, and the six-axis sensor display page is entered. At this point, pressing buttons 1 and 2 toggles between displaying gyroscope and accelerometer status. Pressing button 3 returns to the main page. ![](./Images/TB-RK3588SD-Power-running-img.png) ```eval_rst .. note:: This module does not support hot-plugging. Please ensure that the hardware is connected correctly before starting the system. ```