You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/firmware/fw_kobraOS.md
+329-3
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,12 @@
4
4
5
5
---
6
6
# KobraOS (Stock)
7
-
The official stock firmware for the **Kobra 2 Pro** is called "Kobra OS".
8
-
Even though it's based on Klipper, sources haven't been published yet.
7
+
The official stock firmware for the **Kobra 2 Plus** is called "Kobra OS". Even though it's based on Klipper, sources haven't been published yet.
8
+
KobraOS is locked, you can't access the settings or configuration files (at least not without using 'tools' or workarounds). Furthermore, the USB ports don't allow a local connection to a computer and the printer can't be accessed directly via local WiFi either, one has to use the APP and cloud service of Anycubic.
9
+
10
+
It has to be noted that there are different revisions of the mainboards that are being used (please see the according chapter "Mainboard"), as they use different versions and configurations of the KobraOS. One probably wouldn't notice a difference if using them side by side, but there is one huge difference: besides different `printer.cfg` settings, the KobraOS for the "Trigorilla Spe **B**_v1.0.x" seems to be the same as the one being used in the Kobra 3 - and for that one there is a modded KobraOS available. With that modified KobraOS, you gain access to the printer via your regular Mainsail UI or Fluidd UI, can access and change the `printer.cfg`, control the machine etc.
11
+
12
+
So when looking at the following sections, either about the settings of the stock `pritner.cfg`, tools to access the KobraOS or even about the modified KobraOS version I mentioned, always make sure to *check the type of mainboard* that's being used in your particular printer before you attempt any further steps.
9
13
10
14
---
11
15
@@ -24,7 +28,7 @@ For updating the firmware, you can either
24
28
25
29
---
26
30
27
-
## Settings
31
+
## Settings "Trigorilla A v1.0.0"
28
32
The specific settings of the machine are -due to the fact that it's closed source now- supposed to be 'unknown'.
29
33
However, when the first `update.swu` file became available, it was possible to access and investigate the files `printer.cfg` and `unmodifiable.cfg`.
30
34
@@ -982,6 +986,7 @@ z_offset_adjust : 0.25
982
986
[probe]
983
987
z_offset_adjust : 0.2
984
988
```
989
+
985
990
---
986
991
987
992
### MOD: Modify Firmware And Settings
@@ -1037,5 +1042,326 @@ For being able to transfer the data of the bedmesh to a graphical output, one ha
1037
1042
1038
1043
---
1039
1044
1045
+
## Settings "Trigorilla B v1.0.x"
1046
+
The specific settings of the machine are -due to the fact that it's closed source now- supposed to be 'unknown'.
1047
+
1048
+
1049
+
<!--
1050
+
However, when the first `update.swu` file became available, it was possible to access and investigate the files `printer.cfg` and `unmodifiable.cfg`.
1051
+
1052
+
??? info "Special Thanks To [lpi](https://github.com/lpi)!"
1053
+
1054
+
At this point I have to say a huge "Thank You!" to [lpi](https://github.com/lpi) for providing the content of the `update.swu` file to me!
1055
+
I won't share the files, but I'll quote the content of the two config files here in the following.
1056
+
However, if you want to access the files by your own, you can do so by unzipping the file `update.swu` and then mount the main directory with `squashfs`.
1057
+
1058
+
1059
+
There are two Klipper-specific config files that can be found:
1060
+
1061
+
- the file `printer.cfg` which contains the pin assignments and specific settings for the Klipper configuration and
1062
+
- the file `unmodifiable.cfg` which seems to contain additional settings for the auto leveling and the probe.
1063
+
1064
+
I won't share any of the files, but I'll quote the content of the two config files here in the following.
1065
+
1066
+
??? info "Files Of The Kobra 2 Plus & Max"
1067
+
1068
+
Just in case you own a Kobra 2 Plus or Max, you can find the content of the belonging files quoted in expandable textboxes below.
1069
+
Besides that, if you own a Kobra 2 Plus, check out my comprehensive [Kobra2Plus Insights](https://1coderookie.github.io/Kobra2PlusInsights/) infosite instead.
1070
+
1071
+
-->
1072
+
1073
+
---
1074
+
1075
+
### Printer.cfg
1076
+
The following lists the content of the file `printer.cfg` for the "Trigorilla Spe **B** v1.0.5" mainboard of a Kobra 2 Pro.
1077
+
I'll leave the settings uncommented as this point, because we can't do anything to improve the settings anyway right now.
1078
+
1079
+
```
1080
+
[virtual_sdcard]
1081
+
path: /useremain/app/gk/gcodes/
1082
+
1083
+
[mcu]
1084
+
serial : /dev/ttyS3
1085
+
restart_method : command
1086
+
baud : 576000
1087
+
1088
+
[printer]
1089
+
kinematics : cartesian
1090
+
max_velocity:500
1091
+
max_accel:20000
1092
+
max_accel_to_decel:20000
1093
+
square_corner_velocity:20.0
1094
+
max_z_velocity:16
1095
+
max_z_accel:5000
1096
+
device_type: Anycubic Kobra 2 Pro
1097
+
print_size: 220*220*250mm
1098
+
1099
+
[stepper_x]
1100
+
step_pin : PA5
1101
+
dir_pin : PA4
1102
+
enable_pin : !PC3
1103
+
microsteps : 16
1104
+
full_steps_per_rotation:200
1105
+
rotation_distance :32
1106
+
position_endstop :-5
1107
+
position_min : -5
1108
+
position_max : 230
1109
+
homing_speed : 30
1110
+
homing_retract_dist:10
1111
+
second_homing_speed:15
1112
+
endstop_pin : ^!PA6
1113
+
1114
+
[stepper_y]
1115
+
step_pin : PC4
1116
+
dir_pin : !PA7
1117
+
enable_pin : !PC3
1118
+
microsteps : 16
1119
+
full_steps_per_rotation:200
1120
+
rotation_distance :32
1121
+
position_endstop : -8
1122
+
position_min : -8
1123
+
position_max : 230
1124
+
homing_speed : 30
1125
+
homing_retract_dist:10
1126
+
second_homing_speed:15
1127
+
endstop_pin : ^!PC5
1128
+
1129
+
[stepper_z]
1130
+
step_pin : PC9
1131
+
dir_pin : !PC6
1132
+
enable_pin : !PC3
1133
+
microsteps : 16
1134
+
rotation_distance :8
1135
+
full_steps_per_rotation:200
1136
+
endstop_pin : probe:z_virtual_endstop
1137
+
position_min :-12
1138
+
position_max : 252
1139
+
homing_speed: 8
1140
+
homing_retract_dist:8
1141
+
second_homing_speed: 4
1142
+
1143
+
[extruder]
1144
+
max_extrude_only_distance : 100.0
1145
+
step_pin : PC14
1146
+
dir_pin : PC15
1147
+
enable_pin : !PC3
1148
+
microsteps : 16
1149
+
full_steps_per_rotation:200
1150
+
rotation_distance :6.848
1151
+
nozzle_diameter : 0.400
1152
+
filament_diameter : 1.750
1153
+
max_extrude_cross_section:50
1154
+
heater_pin : PA1
1155
+
sensor_type : NTC 100K MGB18-104F39050L32
1156
+
sensor_pin : PC1
1157
+
control : pid
1158
+
pid_Kp : 12.206120
1159
+
pid_Ki : 0.517208
1160
+
pid_Kd : 72.016108
1161
+
min_temp : -200
1162
+
min_safe_temp : 185
1163
+
min_extrude_temp : 170
1164
+
max_safe_temp : 260
1165
+
max_temp : 275
1166
+
pressure_advance: 0.02
1167
+
1168
+
[heater_bed]
1169
+
heater_pin : PA0
1170
+
sensor_type : NTC 100K MGB18-104F39050L32
1171
+
sensor_pin : PC0
1172
+
control : pid
1173
+
pid_Kp : 54.027
1174
+
pid_Ki : 0.770
1175
+
pid_Kd : 248.182
1176
+
min_temp : -200
1177
+
min_safe_temp : 45
1178
+
max_safe_temp : 110
1179
+
max_temp : 120
1180
+
1181
+
[tmc2209 stepper_x]
1182
+
uart_pin : PA3
1183
+
uart_address : 3
1184
+
run_current : 1.4
1185
+
hold_current:0.7
1186
+
sense_resistor: 0.0750
1187
+
stealthchop_threshold :0
1188
+
interpolate : True
1189
+
1190
+
[tmc2209 stepper_y]
1191
+
uart_pin : PA3
1192
+
uart_address : 1
1193
+
run_current : 1.5
1194
+
hold_current:0.8
1195
+
sense_resistor: 0.075
1196
+
stealthchop_threshold :0
1197
+
interpolate : True
1198
+
1199
+
[tmc2209 stepper_z]
1200
+
uart_pin : PA3
1201
+
uart_address : 2
1202
+
run_current : 1.2
1203
+
hold_current:0.7
1204
+
sense_resistor: 0.0750
1205
+
stealthchop_threshold : 99999
1206
+
interpolate : True
1207
+
1208
+
[tmc2209 extruder]
1209
+
uart_pin : PA3
1210
+
uart_address : 0
1211
+
run_current : 0.8
1212
+
hold_current:0.4
1213
+
sense_resistor: 0.0750
1214
+
stealthchop_threshold : 99999
1215
+
interpolate : True
1216
+
1217
+
[probe]
1218
+
pin : PB8
1219
+
x_offset:24.0
1220
+
y_offset:13.35
1221
+
speed : 4.0
1222
+
final_speed : 4.0
1223
+
lift_speed : 8.0
1224
+
samples: 2
1225
+
sample_retract_dist: 15
1226
+
samples_result: weighted
1227
+
samples_tolerance: 0.1
1228
+
samples_tolerance_retries:2
1229
+
1230
+
[bed_mesh]
1231
+
speed: 60
1232
+
horizontal_move_z:15
1233
+
mesh_min: 19,19
1234
+
mesh_max: 205,210
1235
+
probe_count: 5,5
1236
+
mesh_pps: 3,3
1237
+
algorithm: lagrange
1238
+
1239
+
[safe_z_home]
1240
+
home_xy_position: 40,207
1241
+
speed: 150
1242
+
z_hop: 5
1243
+
z_hop_speed: 8.0
1244
+
1245
+
[verify_heater extruder]
1246
+
max_error: 120
1247
+
check_gain_time:30
1248
+
hysteresis: 5
1249
+
heating_gain:1
1250
+
1251
+
[verify_heater heater_bed]
1252
+
max_error: 120
1253
+
check_gain_time:300
1254
+
hysteresis: 5
1255
+
heating_gain:1
1256
+
1257
+
[controller_fan controller_fan]
1258
+
pin : PB10
1259
+
fan_speed : 1
1260
+
1261
+
[heater_fan extruder_fan]
1262
+
pin : PB2
1263
+
1264
+
[custom_temperture_fan]
1265
+
1266
+
[fan]
1267
+
pin : PB1
1268
+
1269
+
[output_pin power_pin]
1270
+
pin:PB4
1271
+
value:1
1272
+
shutdown_value:0
1273
+
1274
+
[pid_calibrate]
1275
+
homing_first: 1
1276
+
move_xy_position: 50,50
1277
+
move_z_up: 5
1278
+
fan_speed : 1
1279
+
1280
+
[lis2dw12]
1281
+
spi_speed: 5000000
1282
+
cs_pin: PB12
1283
+
spi_software_sclk_pin:PB13
1284
+
spi_software_mosi_pin:PB15
1285
+
spi_software_miso_pin:PB14
1286
+
rate:400
1287
+
axes_map: z,x,y
1288
+
1289
+
[lis2dw12 bed]
1290
+
spi_speed: 5000000
1291
+
cs_pin: PD2
1292
+
spi_software_sclk_pin:PC12
1293
+
spi_software_mosi_pin:PC10
1294
+
spi_software_miso_pin:PC11
1295
+
rate:400
1296
+
axes_map: x,y,z
1297
+
1298
+
[resonance_tester]
1299
+
accel_chip_x: lis2dw12
1300
+
accel_chip_y: lis2dw12 bed
1301
+
probe_points:110, 110, 20
1302
+
min_freq : 1
1303
+
max_freq : 140
1304
+
accel_per_hz : 150
1305
+
test_freq_start: 70
1306
+
test_freq_end: 80
1307
+
1308
+
[pause_resume]
1309
+
pause_position: 200,200
1310
+
z_up: 10
1311
+
1312
+
[filament_switch_sensor filament_sensor]
1313
+
pause_on_runout: False
1314
+
switch_pin: ^!PC13
1315
+
[buttons]
1316
+
1317
+
[leviQ2]
1318
+
base_button_position: 60,240
1319
+
wiping_position: 20.0,-5.0
1320
+
button_push_down_count: 2
1321
+
platform_offset: 25
1322
+
bed_temp: 60
1323
+
extru_temp: 210
1324
+
extru_end_temp: 140
1325
+
to_zero_speed: 100
1326
+
extru_out: 50
1327
+
extru_out_speed: 3
1328
+
extru_in: 5
1329
+
extru_in_speed: 10
1330
+
button_push_down: 5
1331
+
calibration: 0
1332
+
z_up: 15
1333
+
z_offset_factor: 0.13
1334
+
leviQ2_pin: PA8
1335
+
1336
+
[ota]
1337
+
fw_max_size: 40960
1338
+
fw_sector_size: 8192
1339
+
fw_ota_sector_offset: 22
1340
+
1341
+
[gcode_arcs]
1342
+
resolution:1.0
1343
+
1344
+
[input_shaper]
1345
+
shaper_freq_x: 72.2
1346
+
shaper_freq_y: 58.0
1347
+
shaper_type_x: mzv
1348
+
shaper_type_y: 2hump_ei
1349
+
```
1350
+
1351
+
---
1352
+
1353
+
1354
+
### MOD: Rinkhals (Modified KobraOS)
1355
+
[jbatonnet](https://github.com/jbatonnet) came up with a modded KobraOS of the Kobra3 called [Rinkhals](https://github.com/jbatonnet/Rinkhals), which seems to also work fine with the Kobra 2 Pro/Plus/Max printers that use the newer board revisions, labeled as "Spe **B** v_1.0.x".
1356
+
Rinkhals allows you to e.g. access your printer via your local network and the regular Mainsail or Fluidd UI, change settings of the `printer.cfg`, create and display bedmeshes etc. Basically you'll have a KobraOS without the limitations of the KobraOS.
1357
+
1358
+
!!! warning "Only Suitable For Trigorilla B v1.0.x Boards!"
1359
+
1360
+
Before attempting to flash and use the modified KobraOS, make sure to check which kind of mainboard your printer is using!
1361
+
It is crucial that you have a type "Spe B" board, please see the chapter "Mainboard" for further information!
0 commit comments