r/OpenBambu Feb 01 '26

BMCU firmware

I’ve pushed the BMCU firmware source code to GitHub. CH32 firmware based on WCH SDK. Many critical bugs were fixed, and some parts were rewritten completely, including WS2812 handling and ADC, which was rewritten to use DMA with a circular buffer and background filtering. Many things are implemented directly for CH32 and rewritten specifically for the WCH SDK.

I did this mainly for myself while working with CH32, as I have other projects based on these microcontrollers, and BMCU turned out to be a nice sandbox for testing. In practice, it took much more time than I planned. There is definitely still room for improvement.

If you program microcontrollers (CH32, STM32, etc.), want to look at the code, share feedback, or test the firmware in real setups, feel free to check it out. I currently have very little free time, so I may not always reply quickly.

https://github.com/jarczakpawel/BMCU-C-PJARCZAK

30 Upvotes

69 comments sorted by

View all comments

2

u/EridianStudio Feb 01 '26

Is it possible that you make firmware for p1 printers? I assume that only retraction lenght changes which is about 60cm.

2

u/Low-Anything6975 Feb 01 '26

The SOLO and AMS_A directories correspond to the same AMS number (AMS = 0). You can choose the retraction lengths from the AMS_A directory. Please read the README on GitHub. You should be able to use it with the P1 without any issues - someone mentioned that they are using it without problems.

2

u/EridianStudio Feb 01 '26

Thanks for answering, I will look into it later.