smabo-brain
Set up smabo-brain — the hub that relays all components and runs advanced processing like image recognition and AI.
Roadmap
Section titled “Roadmap”This page is the guide for the "smabo-brain" node on the roadmap below.
Overview
Section titled “Overview”This page explains the setup procedure for "smabo-brain".
smabo-brain serves as:
- The hub relaying all components
- Running advanced tasks such as image processing and AI
Setup Target (PC or SBC)
Section titled “Setup Target (PC or SBC)”smabo-brain can be set up on:
- External PC
- Install smabo-brain on a separate PC (not smabo itself)
- SBC (Single Board Computer)
- Attach an SBC to smabo and install smabo-brain on it
The smabo-brain setup is the same for both. The SBC option additionally requires:
- 3D printing the SBC mounting parts
- Attaching the SBC to smabo
(Note: the 3D printing steps for the SBC mounting parts are covered in Creating the Base Parts.)
We recommend starting with the External PC option.
Required Parts
Section titled “Required Parts”Parts required to implement this feature:
| Part | Product URL | Notes |
|---|---|---|
| [Optional] Raspberry Pi 4 or 5 | - | Required only for SBC setup |
3D Printing Parts
Section titled “3D Printing Parts”There are no parts to print this time.
Assembly
Section titled “Assembly”There is no assembly this time.
Wiring
Section titled “Wiring”There is no wiring this time.
Finished Result
Section titled “Finished Result”The finished robot does not change this time.
Setting Up smabo-brain
Section titled “Setting Up smabo-brain”The following explains the setup steps for smabo-brain.
From here, you will need to enter commands using the "terminal".
Installing VSCode
Section titled “Installing VSCode”First, set up an environment for using the terminal.
We will use Visual Studio Code (VSCode), a popular code editor.
Download and install VSCode from the official site, selecting the installer for your operating system:
Once the download is complete, install and launch VSCode.
Using the Terminal (Linux / macOS)
Section titled “Using the Terminal (Linux / macOS)”The TERMINAL tab at the bottom of the window is the terminal.

Whenever a command appears in this guide, enter it in this tab.
Using the Terminal (Windows)
Section titled “Using the Terminal (Windows)”If you are using a Windows PC, please install WSL.
WSL (Windows Subsystem for Linux) lets you run a Linux environment inside Windows.
- Run a Linux environment on Windows
Linux is widely used in robotics development, so working inside WSL is recommended for future convenience.
Installing WSL
Section titled “Installing WSL”For WSL installation instructions, refer to the following article:
Enabling Mirrored Mode
Section titled “Enabling Mirrored Mode”By default, WSL2 cannot communicate with external devices on your network.
Since smabo requires communication with the smartphone and ESP32, configure WSL2 in mirrored network mode. Refer to the following article:
wsl2 mirroredネットワーク、WindowsとLinuxの良いとこどり!
Installing the Extension
Section titled “Installing the Extension”After installing WSL, install the following extension in VSCode:
- WSL

Entering WSL
Section titled “Entering WSL”After installing the extension:
- Click the "><" icon in the bottom-left corner
- Click "Connect to WSL"

If "WSL: Ubuntu" is shown in the bottom-left corner, you are connected. The TERMINAL tab at the bottom of the window is now your terminal.

Whenever a command appears in this guide, enter it in this terminal.
Cloning smabo-brain
Section titled “Cloning smabo-brain”Clone the smabo-brain repository with the following commands.
# Move to home directorycd ~# Clone smabo-brain repositorygit clone https://github.com/smabo-smartphone-robot/smabo-brainInstalling Packages
Section titled “Installing Packages”Install the packages required to run the programs.
cd ~/smabo-brainpip3 install -r requirements.txtOperation
Section titled “Operation”Startup Procedure
Section titled “Startup Procedure”Follow the startup procedure here.
If smabo-brain starts without errors, setup is complete.
Next, follow the guide for: