← HomeBot
Project files
2 KB
Machine-translated by Robotheca from the original in Chinese (opens in a new tab). License: MIT (opens in a new tab).
HomeBot Web Control Panel User Guide
Overview
The web control panel allows you to remotely operate the robot via a phone, tablet, or computer within the local network.
- Left joystick: Controls the robot's chassis (forward/backward/rotation)
- Right joystick: Controls the robotic arm (under development)
Architecture
Mobile/Tablet → WebSocket → Flask Server → ZeroMQ REQ → ChassisService
↓
Direct Call to Chassis Driver
↓
ST3215 Servo Motor
Quick Start
1. Start the Chassis Service
cd software
# Windows
start_chassis_service.bat --port COM3
# Linux/Mac
./start_chassis_service.sh --port /dev/ttyUSB0
2. Starting the Web Control Interface
# In a new terminal
cd software/src
python -m applications.remote_control
3. One-Click Startup (Recommended)
cd software
start_all_merged.bat # Windows
4. Accessing via Mobile Phone
Browser access: http://<robot_IP>:5000
Configuration
Default Addresses
- ChassisService:
tcp://127.0.0.1:5556 - Web Server:
http://0.0.0.0:5000
Serial Port Settings
ChassisConfig(
port="COM3", # Windows
# port="/dev/ttyUSB0", # Linux
baudrate=1000000,
)
Instructions
| Action | Description |
|---|---|
| Left joystick | Move forward/backward/rotate |
| Right joystick | Robotic arm (in development) |
| Emergency stop | Immediately stop all motion |
Status Indicators
- WebSocket 🟢 Green = Normal connection
- Arbiter 🟢 Green = Chassis service normal
Files by @choco-robot, at commit 7c17ed6, read from GitHub in your browser. Hardware license: MIT; software license: MIT. Robotheca doesn't review code: read it before running it.