OpenCreator for SBC¶
SBC / RPI Klipper replaces the printer's MIPS32 host with a Raspberry Pi or similar single-board computer. The printer's own board keeps only a serial bridge that forwards its four MCUs to the SBC over one USB cable. Klipper, Moonraker and Fluidd run on the SBC.
flowchart LR
subgraph SBC["SBC (Raspberry Pi or similar)"]
K[Kalico / Klipper] --- M[Moonraker] --- F[Fluidd]
end
subgraph P["Creator 5 SoC"]
B[c5-tunnel bridge]
end
SBC <-->|USB gadget, 4-5 serial ports| B
B --- MB[mainBoardGD]
B --- HB[heaterBoard]
B --- EB[eBoard]
B --- LB[levelBoard]
| Page | What it covers |
|---|---|
| Set up the SBC | Automatic and manual SBC installation, the OpenCreator Updater and the Fluidd theme |
| Set up and update the printer | The installer's Tunneled option, oc-tunneled, and returning to SoC mode |
| Touchscreen and plugins | Pointing the printer's screen at the SBC, changing screen apps, plugins and display limitations |
Why go SBC¶
Reasons to go OpenCreator SBC over stock¶
-
More power
Run fun projects, add more cameras, add monitoring with AI, etc.
-
Faster toolchanges
Toolchanges are half a second to a second faster, since Klipper runs on the SBC's much faster CPU instead of the printer's.
-
Security
Airgap the printer's old kernel version and potentially insecure packages, so they are only reached through the SBC.
-
Your choice of touchscreen
Use different touchscreen apps, such as KlipperScreen instead of GrumpyScreen.
-
Standard tooling
Use KIAUH to install utilities instead of manually, run ShakeTune natively, and have all the support of a good architecture.
What is the reason for development?¶
On the stock system, you have amazing MCUs, but the worst SOCs, to the point of encountering issues. That wouldn't be normally an issue, manufacturers would put the minimum spec SOC, but FlashForge demanded too much for how slow and not powerful the stock SOC is (Ingenic x2600). It frequently runs into weirdness: even completely stock, with the stock touchscreen, you can't really print too fast with toolchanges and no prime tower, as it will hit Timer Too Close, which happens when the host (the SOC) can't catch up and falls behind. On 1.9.9 they even forced it to slow down to prevent this.
On OpenCreator SBC, Timer Too Close becomes a thing of the past, and you can run almost anything, as you're running on a Raspberry Pi or similar microcomputer that has several times the power of the stock board.
Requirements¶
- A SBC that has USB Gadget Mode support (Pi Zero 2 W, Pi 4/5 on its USB-C power port, etc)
- If using an external power supply on a Pi 4/5, a USB power and data splitter
- If using an external power supply on a Pi 4/5, a USB-A power blocker for the USB data in/out port on the splitter
- A recent Debian / Raspberry Pi OS Lite with up-to-date packages (headless / server installs recommended)
- If running a slow device (1 GHz Pi Zero 2 W), an overclock to 1.2 GHz or above
- Some type of cooling
- At least 4GB of storage
- At least 512MB of RAM
- Internet on at least the SBC
Caveats¶
Camera
The camera will not work if you airgap the MCUs. You will have to make a custom connector or add your own camera (in testing to rectify). The camera may also slow down during fast movements due to the USB bus being overloaded; if that persists it may need to be restarted.
Cables
A USB to spec cable is recommended, and as short as possible to keep signal integrity. Even if a cable looks good, that doesn't mean it actually is.
Wi-Fi on the printer
Unplugging / restarting the Pi causes the FlashForge printer's SoC to disconnect from Wi-Fi. It selects the virtual interface as internet and dies when it loses it.
No FlashForge integration
Obviously, no FlashForge cloud or app integration at all.
4 or 5 tunnel ports
The USB gadget tunnel normally runs 5 ports (4 MCUs + a dedicated beep channel). Not every board's USB controller tolerates this under sustained traffic: it is confirmed stable on a Raspberry Pi 4 (dwc2), but an Orange Pi Zero 2W's own controller destabilized the whole bus, and was stable at 4.
The gadget script falls back to 4 ports automatically if the 5-port bind fails outright at boot, and pins that choice for future boots. A failure that only shows up at runtime isn't detectable that way and still needs a manual pin:
Pinned to 4 ports, C5_BUZZER can optionally fall back to sending the beep over the network
instead of going silent; see network_host in [creator5_remote_beeper].
Known Working SBCs¶
| Company | SBC | Port | Caveats |
|---|---|---|---|
| Raspberry Pi | RPI Zero 2w | Micro-USB Power | Needs to be overclocked by 200 MHz, unknown GP |
| Raspberry Pi | RPI 4b | USB-C Power | Must have a power blocker and OTG to get full performance, has full 5GP |
| Raspberry Pi | RPI 5 | USB-C Power | Same as Pi 4, has full 5GP |
| Mellow | Fly Pi Lite v2.1 | Right USB-A | Must use FlyBian and is slowest out of the bunch, 4GP only |
| OrangePi | OPI Zero 2w | ??? | Unofficial support, should work out of the box, 4GP only |
| OrangePi | OPI Zero 3w | ??? | Unofficial support, comes with fixes, has full 5GP |
| Radxa | RPI Zero 3w | ??? | Unofficial support, comes with fixes, has full 5GP |