|
5 | 5 | ---
|
6 | 6 |
|
7 | 7 | # KobraOS (Stock)
|
8 |
| -The official stock firmware for the **Kobra 2 Plus** is called "Kobra OS". |
9 |
| -Even though it's based on Klipper, sources haven't been published yet. |
| 8 | +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. |
| 9 | +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. |
| 10 | + |
| 11 | +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. |
| 12 | + |
| 13 | +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. |
10 | 14 |
|
11 | 15 | ---
|
12 | 16 |
|
@@ -1044,6 +1048,327 @@ Webinterface which uses the interface of the KobraOS and a custom webserver: [Ko
|
1044 | 1048 |
|
1045 | 1049 | For being able to transfer the data of the bedmesh to a graphical output, one has to get access to the according data. User [zhnecssd](https://github.com/zhnecssd) describes his way of getting the data and generate a bedmesh view from it [here](https://github.com/zhnecssd/3D-Printer-Bed-Leveling-Mesh-Visualizer).
|
1046 | 1050 |
|
| 1051 | +--- |
| 1052 | + |
| 1053 | +## Settings "Trigorilla B v1.0.x" |
| 1054 | +The specific settings of the machine are -due to the fact that it's closed source now- supposed to be 'unknown'. |
| 1055 | + |
| 1056 | + |
| 1057 | +<!-- |
| 1058 | +However, when the first `update.swu` file became available, it was possible to access and investigate the files `printer.cfg` and `unmodifiable.cfg`. |
| 1059 | +
|
| 1060 | +??? info "Special Thanks To [lpi](https://github.com/lpi)!" |
| 1061 | +
|
| 1062 | + 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! |
| 1063 | + I won't share the files, but I'll quote the content of the two config files here in the following. |
| 1064 | + 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`. |
| 1065 | +
|
| 1066 | +
|
| 1067 | +There are two Klipper-specific config files that can be found: |
| 1068 | +
|
| 1069 | +- the file `printer.cfg` which contains the pin assignments and specific settings for the Klipper configuration and |
| 1070 | +- the file `unmodifiable.cfg` which seems to contain additional settings for the auto leveling and the probe. |
| 1071 | +
|
| 1072 | +I won't share any of the files, but I'll quote the content of the two config files here in the following. |
| 1073 | +
|
| 1074 | +??? info "Files Of The Kobra 2 Plus & Max" |
| 1075 | +
|
| 1076 | + 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. |
| 1077 | + Besides that, if you own a Kobra 2 Plus, check out my comprehensive [Kobra2Plus Insights](https://1coderookie.github.io/Kobra2PlusInsights/) infosite instead. |
| 1078 | + |
| 1079 | +--> |
| 1080 | + |
| 1081 | +--- |
| 1082 | + |
| 1083 | +### Printer.cfg |
| 1084 | +The following lists the content of the file `printer.cfg` for the "Trigorilla Spe **B** v1.0.5" mainboard of a Kobra 2 Pro. |
| 1085 | +I'll leave the settings uncommented as this point, because we can't do anything to improve the settings anyway right now. |
| 1086 | + |
| 1087 | +``` |
| 1088 | +[virtual_sdcard] |
| 1089 | +path: /useremain/app/gk/gcodes/ |
| 1090 | +
|
| 1091 | +[mcu] |
| 1092 | +serial : /dev/ttyS3 |
| 1093 | +restart_method : command |
| 1094 | +baud : 576000 |
| 1095 | +
|
| 1096 | +[printer] |
| 1097 | +kinematics : cartesian |
| 1098 | +max_velocity:500 |
| 1099 | +max_accel:20000 |
| 1100 | +max_accel_to_decel:20000 |
| 1101 | +square_corner_velocity:20.0 |
| 1102 | +max_z_velocity:16 |
| 1103 | +max_z_accel:5000 |
| 1104 | +device_type: Anycubic Kobra 2 Pro |
| 1105 | +print_size: 220*220*250mm |
| 1106 | +
|
| 1107 | +[stepper_x] |
| 1108 | +step_pin : PA5 |
| 1109 | +dir_pin : PA4 |
| 1110 | +enable_pin : !PC3 |
| 1111 | +microsteps : 16 |
| 1112 | +full_steps_per_rotation:200 |
| 1113 | +rotation_distance :32 |
| 1114 | +position_endstop :-5 |
| 1115 | +position_min : -5 |
| 1116 | +position_max : 230 |
| 1117 | +homing_speed : 30 |
| 1118 | +homing_retract_dist:10 |
| 1119 | +second_homing_speed:15 |
| 1120 | +endstop_pin : ^!PA6 |
| 1121 | +
|
| 1122 | +[stepper_y] |
| 1123 | +step_pin : PC4 |
| 1124 | +dir_pin : !PA7 |
| 1125 | +enable_pin : !PC3 |
| 1126 | +microsteps : 16 |
| 1127 | +full_steps_per_rotation:200 |
| 1128 | +rotation_distance :32 |
| 1129 | +position_endstop : -8 |
| 1130 | +position_min : -8 |
| 1131 | +position_max : 230 |
| 1132 | +homing_speed : 30 |
| 1133 | +homing_retract_dist:10 |
| 1134 | +second_homing_speed:15 |
| 1135 | +endstop_pin : ^!PC5 |
| 1136 | +
|
| 1137 | +[stepper_z] |
| 1138 | +step_pin : PC9 |
| 1139 | +dir_pin : !PC6 |
| 1140 | +enable_pin : !PC3 |
| 1141 | +microsteps : 16 |
| 1142 | +rotation_distance :8 |
| 1143 | +full_steps_per_rotation:200 |
| 1144 | +endstop_pin : probe:z_virtual_endstop |
| 1145 | +position_min :-12 |
| 1146 | +position_max : 252 |
| 1147 | +homing_speed: 8 |
| 1148 | +homing_retract_dist:8 |
| 1149 | +second_homing_speed: 4 |
| 1150 | +
|
| 1151 | +[extruder] |
| 1152 | +max_extrude_only_distance : 100.0 |
| 1153 | +step_pin : PC14 |
| 1154 | +dir_pin : PC15 |
| 1155 | +enable_pin : !PC3 |
| 1156 | +microsteps : 16 |
| 1157 | +full_steps_per_rotation:200 |
| 1158 | +rotation_distance :6.848 |
| 1159 | +nozzle_diameter : 0.400 |
| 1160 | +filament_diameter : 1.750 |
| 1161 | +max_extrude_cross_section:50 |
| 1162 | +heater_pin : PA1 |
| 1163 | +sensor_type : NTC 100K MGB18-104F39050L32 |
| 1164 | +sensor_pin : PC1 |
| 1165 | +control : pid |
| 1166 | +pid_Kp : 12.206120 |
| 1167 | +pid_Ki : 0.517208 |
| 1168 | +pid_Kd : 72.016108 |
| 1169 | +min_temp : -200 |
| 1170 | +min_safe_temp : 185 |
| 1171 | +min_extrude_temp : 170 |
| 1172 | +max_safe_temp : 260 |
| 1173 | +max_temp : 275 |
| 1174 | +pressure_advance: 0.02 |
| 1175 | +
|
| 1176 | +[heater_bed] |
| 1177 | +heater_pin : PA0 |
| 1178 | +sensor_type : NTC 100K MGB18-104F39050L32 |
| 1179 | +sensor_pin : PC0 |
| 1180 | +control : pid |
| 1181 | +pid_Kp : 54.027 |
| 1182 | +pid_Ki : 0.770 |
| 1183 | +pid_Kd : 248.182 |
| 1184 | +min_temp : -200 |
| 1185 | +min_safe_temp : 45 |
| 1186 | +max_safe_temp : 110 |
| 1187 | +max_temp : 120 |
| 1188 | +
|
| 1189 | +[tmc2209 stepper_x] |
| 1190 | +uart_pin : PA3 |
| 1191 | +uart_address : 3 |
| 1192 | +run_current : 1.4 |
| 1193 | +hold_current:0.7 |
| 1194 | +sense_resistor: 0.0750 |
| 1195 | +stealthchop_threshold :0 |
| 1196 | +interpolate : True |
| 1197 | +
|
| 1198 | +[tmc2209 stepper_y] |
| 1199 | +uart_pin : PA3 |
| 1200 | +uart_address : 1 |
| 1201 | +run_current : 1.5 |
| 1202 | +hold_current:0.8 |
| 1203 | +sense_resistor: 0.075 |
| 1204 | +stealthchop_threshold :0 |
| 1205 | +interpolate : True |
| 1206 | +
|
| 1207 | +[tmc2209 stepper_z] |
| 1208 | +uart_pin : PA3 |
| 1209 | +uart_address : 2 |
| 1210 | +run_current : 1.2 |
| 1211 | +hold_current:0.7 |
| 1212 | +sense_resistor: 0.0750 |
| 1213 | +stealthchop_threshold : 99999 |
| 1214 | +interpolate : True |
| 1215 | +
|
| 1216 | +[tmc2209 extruder] |
| 1217 | +uart_pin : PA3 |
| 1218 | +uart_address : 0 |
| 1219 | +run_current : 0.8 |
| 1220 | +hold_current:0.4 |
| 1221 | +sense_resistor: 0.0750 |
| 1222 | +stealthchop_threshold : 99999 |
| 1223 | +interpolate : True |
| 1224 | +
|
| 1225 | +[probe] |
| 1226 | +pin : PB8 |
| 1227 | +x_offset:24.0 |
| 1228 | +y_offset:13.35 |
| 1229 | +speed : 4.0 |
| 1230 | +final_speed : 4.0 |
| 1231 | +lift_speed : 8.0 |
| 1232 | +samples: 2 |
| 1233 | +sample_retract_dist: 15 |
| 1234 | +samples_result: weighted |
| 1235 | +samples_tolerance: 0.1 |
| 1236 | +samples_tolerance_retries:2 |
| 1237 | +
|
| 1238 | +[bed_mesh] |
| 1239 | +speed: 60 |
| 1240 | +horizontal_move_z:15 |
| 1241 | +mesh_min: 19,19 |
| 1242 | +mesh_max: 205,210 |
| 1243 | +probe_count: 5,5 |
| 1244 | +mesh_pps: 3,3 |
| 1245 | +algorithm: lagrange |
| 1246 | +
|
| 1247 | +[safe_z_home] |
| 1248 | +home_xy_position: 40,207 |
| 1249 | +speed: 150 |
| 1250 | +z_hop: 5 |
| 1251 | +z_hop_speed: 8.0 |
| 1252 | +
|
| 1253 | +[verify_heater extruder] |
| 1254 | +max_error: 120 |
| 1255 | +check_gain_time:30 |
| 1256 | +hysteresis: 5 |
| 1257 | +heating_gain:1 |
| 1258 | +
|
| 1259 | +[verify_heater heater_bed] |
| 1260 | +max_error: 120 |
| 1261 | +check_gain_time:300 |
| 1262 | +hysteresis: 5 |
| 1263 | +heating_gain:1 |
| 1264 | +
|
| 1265 | +[controller_fan controller_fan] |
| 1266 | +pin : PB10 |
| 1267 | +fan_speed : 1 |
| 1268 | +
|
| 1269 | +[heater_fan extruder_fan] |
| 1270 | +pin : PB2 |
| 1271 | +
|
| 1272 | +[custom_temperture_fan] |
| 1273 | +
|
| 1274 | +[fan] |
| 1275 | +pin : PB1 |
| 1276 | +
|
| 1277 | +[output_pin power_pin] |
| 1278 | +pin:PB4 |
| 1279 | +value:1 |
| 1280 | +shutdown_value:0 |
| 1281 | +
|
| 1282 | +[pid_calibrate] |
| 1283 | +homing_first: 1 |
| 1284 | +move_xy_position: 50,50 |
| 1285 | +move_z_up: 5 |
| 1286 | +fan_speed : 1 |
| 1287 | +
|
| 1288 | +[lis2dw12] |
| 1289 | +spi_speed: 5000000 |
| 1290 | +cs_pin: PB12 |
| 1291 | +spi_software_sclk_pin:PB13 |
| 1292 | +spi_software_mosi_pin:PB15 |
| 1293 | +spi_software_miso_pin:PB14 |
| 1294 | +rate:400 |
| 1295 | +axes_map: z,x,y |
| 1296 | +
|
| 1297 | +[lis2dw12 bed] |
| 1298 | +spi_speed: 5000000 |
| 1299 | +cs_pin: PD2 |
| 1300 | +spi_software_sclk_pin:PC12 |
| 1301 | +spi_software_mosi_pin:PC10 |
| 1302 | +spi_software_miso_pin:PC11 |
| 1303 | +rate:400 |
| 1304 | +axes_map: x,y,z |
| 1305 | +
|
| 1306 | +[resonance_tester] |
| 1307 | +accel_chip_x: lis2dw12 |
| 1308 | +accel_chip_y: lis2dw12 bed |
| 1309 | +probe_points:110, 110, 20 |
| 1310 | +min_freq : 1 |
| 1311 | +max_freq : 140 |
| 1312 | +accel_per_hz : 150 |
| 1313 | +test_freq_start: 70 |
| 1314 | +test_freq_end: 80 |
| 1315 | +
|
| 1316 | +[pause_resume] |
| 1317 | +pause_position: 200,200 |
| 1318 | +z_up: 10 |
| 1319 | +
|
| 1320 | +[filament_switch_sensor filament_sensor] |
| 1321 | +pause_on_runout: False |
| 1322 | +switch_pin: ^!PC13 |
| 1323 | +[buttons] |
| 1324 | +
|
| 1325 | +[leviQ2] |
| 1326 | +base_button_position: 60,240 |
| 1327 | +wiping_position: 20.0,-5.0 |
| 1328 | +button_push_down_count: 2 |
| 1329 | +platform_offset: 25 |
| 1330 | +bed_temp: 60 |
| 1331 | +extru_temp: 210 |
| 1332 | +extru_end_temp: 140 |
| 1333 | +to_zero_speed: 100 |
| 1334 | +extru_out: 50 |
| 1335 | +extru_out_speed: 3 |
| 1336 | +extru_in: 5 |
| 1337 | +extru_in_speed: 10 |
| 1338 | +button_push_down: 5 |
| 1339 | +calibration: 0 |
| 1340 | +z_up: 15 |
| 1341 | +z_offset_factor: 0.13 |
| 1342 | +leviQ2_pin: PA8 |
| 1343 | +
|
| 1344 | +[ota] |
| 1345 | +fw_max_size: 40960 |
| 1346 | +fw_sector_size: 8192 |
| 1347 | +fw_ota_sector_offset: 22 |
| 1348 | +
|
| 1349 | +[gcode_arcs] |
| 1350 | +resolution:1.0 |
| 1351 | +
|
| 1352 | +[input_shaper] |
| 1353 | +shaper_freq_x: 72.2 |
| 1354 | +shaper_freq_y: 58.0 |
| 1355 | +shaper_type_x: mzv |
| 1356 | +shaper_type_y: 2hump_ei |
| 1357 | +``` |
| 1358 | + |
| 1359 | +--- |
| 1360 | + |
| 1361 | + |
| 1362 | +### MOD: Rinkhals (Modified KobraOS) |
| 1363 | +[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". |
| 1364 | +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. |
| 1365 | + |
| 1366 | +!!! warning "Only Suitable For Trigorilla B v1.0.x Boards!" |
| 1367 | + |
| 1368 | + Before attempting to flash and use the modified KobraOS, make sure to check which kind of mainboard your printer is using! |
| 1369 | + It is crucial that you have a type "Spe B" board, please see the chapter "Mainboard" for further information! |
| 1370 | + |
| 1371 | + |
1047 | 1372 | ---
|
1048 | 1373 |
|
1049 | 1374 | [](https://ko-fi.com/U6U5NPB51)
|
|
0 commit comments