Setup Guide

M5StickS3 + MCP2515 CAN Bus

Not Connected

Install Arduino IDE & Board Package

Get your development environment ready for the M5StickS3

1

Download Arduino IDE 2.x

Download and install the latest Arduino IDE 2.x from the official site. Required for flashing firmware to the M5StickS3.

arduino.cc/en/software
2

Add M5Stack Board Package

In Arduino IDE: File → Preferences → Additional Boards Manager URLs, paste this URL:

https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
3

Select Board in Arduino IDE

Open Tools → Board → Boards Manager, search for M5Stack, install the package, then select:

Tools → Board → M5Stack → M5StickC-S3
4

Install Required Libraries

Via Tools → Manage Libraries:

M5UnifiedM5Stack official — works on all M5 devices incl. S3
mcp_canby coryjfowler — MCP2515 CAN controller driver
WebSocketsby Links2004 — WebSocket server for WiFi streaming
ArduinoJsonby bblanchon — JSON serialisation (v6.x)

Do NOT use M5StickCPlus2.h on the S3

The M5StickC Plus 2 library targets the ESP32-PICO-V3-02 chip. The M5StickS3 uses an ESP32-S3 — use M5Unified.h instead, which supports all M5Stack devices including the S3.