The Bambu Lab CyberBrick Time-lapse Kit presses your camera's shutter for you. Plugged into an AMS, it works with OpenAMS and the Cortex Bridge the way it does on a Bambu Lab printer: Klipper fires it, for example once per layer, and you get a time-lapse.
One shot fires everything on the kit at once: the servo on the camera button, the Bluetooth shutter and the 2.5 mm jack.
To get both:
openams.python3 ~/openams/tools/cortex-bridge.py update. python3 ~/openams/tools/cortex-bridge.py version then says which version the bridge runs (Update the Cortex Bridge firmware).There's nothing to set up. OpenAMS finds the kit by itself and keeps it linked.
Check: the kit's LED is solid green. On the Klipper computer:
python3 ~/openams/tools/cortex-bridge.py kit
It says CyberBrick kit: present and service: on.
The servo's press angle is set in the CyberBrick phone app, over Bluetooth, not in OpenAMS. Set it so the servo presses your camera's button fully, then lets go.
Try a shot from the Klipper computer:
python3 ~/openams/tools/cortex-bridge.py kit shot
It says shot queued (P1), and the kit presses the button.
In the Mainsail console, or in any G-code:
CYBERBRICK_SHOT
The console answers CyberBrick: shot sent (P=1). CYBERBRICK_SHOT QUIET=1 fires it without the answer. Keep P at 1, the default.
M1004 S5 P1, the line Bambu Lab's smooth time-lapse writes, fires the kit too, so G-code that already has it works as it is.
Shots closer together than 0.5 seconds are skipped, and counted (below).
In your slicer, add this to the layer change G-code (OrcaSlicer: Printer settings → Machine G-code; PrusaSlicer: Printer Settings → Custom G-code):
G1 X<park X> Y<park Y> F6000 ; park the head where it doesn't block the camera
M400 ; wait until the head has stopped
CYBERBRICK_SHOT ; fire the kit
G4 P1000 ; hold still while the servo presses and the camera shoots
Put your own park position in place of <park X> and <park Y>. The slicer's next move takes the head back to the print.
The shot fires as soon as Klipper reads the CYBERBRICK_SHOT line, before the moves queued ahead of it have finished. The M400 before it is what makes the head stand still for the picture. The G4 P1000 gives the servo's press (about 300 ms) and the camera time to finish.
If you use moonraker-timelapse, its frames can fire the kit instead. Add this to [oams_manager], then FIRMWARE RESTART:
[oams_manager]
cyberbrick_timelapse_frames: True
Each moonraker-timelapse frame then fires the kit right after moonraker-timelapse has parked the head (or straight away, if it doesn't park). moonraker-timelapse's own files stay as they are. Use either this or the slicer block above, not both.
Klipper's printer.cyberbrick object shows the kit's state to Moonraker, macros and panels:
| Field | What it says |
|---|---|
available |
the Cortex Bridge can fire the kit (firmware 40 or later) |
present |
the kit is linked |
shots |
shots sent since Klipper started |
kit_shots |
the bridge's own count of shots |
rate_limited |
shots skipped because they came within 0.5 seconds of the last one |
last_shot_time |
when the last shot fired (Unix time) |
last_shot_result |
how the last shot went: queued when it went out |
All in [oams_manager], all optional. After a change, FIRMWARE RESTART.
| Setting | Default | What it does |
|---|---|---|
cyberbrick: |
True |
False turns the kit off when Klipper starts, and OpenAMS no longer fires it. |
cyberbrick_min_interval: |
0.5 |
The shortest gap between shots, in seconds (0.5 or more). |
cyberbrick_timelapse_frames: |
False |
True: moonraker-timelapse frames fire the kit. |
Without a kit nothing changes: OpenAMS shows no error, nothing pauses, and M1004 stays silent.
To switch the kit off without unplugging it, run python3 ~/openams/tools/cortex-bridge.py kit off; kit on switches it back on. OpenAMS switches it on again the next time Klipper starts or the bridge reconnects. To keep it off, set cyberbrick: False.
| You see | What to do |
|---|---|
CyberBrick: not available (the kit needs Cortex Bridge firmware 40 or later) |
Update the bridge: python3 ~/openams/tools/cortex-bridge.py update. |
CyberBrick: not available (no Cortex Bridge relay is running) or (the Cortex Bridge is not connected) |
python3 ~/openams/tools/cortex-bridge.py status, and do what its last line says. |
CyberBrick: too soon after the last shot (at most one every 0.5 s) |
Shots came closer than 0.5 seconds; that one was skipped. Space them out. |
The LED is off, or kit says not answering |
Check the kit's cable at the AMS. Wait if an AMS is taking a Bambu Lab firmware update. |
kit says service: off |
python3 ~/openams/tools/cortex-bridge.py kit on |
| The kit fires, but the camera doesn't take a picture | Set the servo's angle in the CyberBrick app (step 2). |
| Every picture is blurred, or the head is in it | Keep M400 before CYBERBRICK_SHOT and G4 P1000 after it, and park the head out of the picture. |