July 31, 2025
Description
Add RGB LED lighting to the inside of COREBOXX with Semi-Smart!
The LED lights can be controlled via Prusa G-code, and can be used for;
If you don't feel like soldering yourself, you can order a cheap LED kit from Blurolls via this link (coming soon)
| Red | Hackerboard pin 1 |
| Green | Hackerboard pin 2 |
| Blue | Hackerboard pin 3 |
Step 1
Step 2
Step 3
; Turn COREBOXX LED strip green
M262 P1 B0 ; set hackerboard pin 1 (Red) to output-type
M262 P2 B0 ; set hackerboard pin 2 (Green) to output-type
M262 P3 B0 ; set hackerboard pin 3 (Blue) to output-type
M264 P1 B0 ; Turn pin 1 (Red) off
M264 P2 B1 ; Turn pin 2 (Green) on
M264 P3 B0 ; Turn pin 3 (Blue) offStep 4; To reset the LED to white when another print starts;
; Turn COREBOXX LED strip white
M262 P1 B0 ; set hackerboard pin 1 (Red) to output-type
M262 P2 B0 ; set hackerboard pin 2 (Green) to output-type
M262 P3 B0 ; set hackerboard pin 3 (Blue) to output-type
M264 P1 B1 ; Turn pin 1 (Red) on
M264 P2 B1 ; Turn pin 2 (Green) on
M264 P3 B1 ; Turn pin 3 (Blue) onIf done correctly, it should look like;
Start gcode;
End gcode;
We can also control the LED strip via the LCD. To do this, we can copy all control gcodes to a folder on the USB stick. By “executing” the gcode, we can control the LED channels. I have added the Gcodes to the files.
*A "smart" version is in the works, which can illuminate spools individually based on which spool is active.
License:
Creative Commons — Attribution — Noncommercial
7