{"id":1894,"date":"2026-04-03T20:29:12","date_gmt":"2026-04-03T18:29:12","guid":{"rendered":"https:\/\/shop.function3d.xyz\/?p=1894"},"modified":"2026-04-07T12:01:41","modified_gmt":"2026-04-07T10:01:41","slug":"how-to-install-klipper-on-anycubic-kobra-2","status":"publish","type":"post","link":"https:\/\/function3d.xyz\/en\/how-to-install-klipper-on-anycubic-kobra-2\/","title":{"rendered":"How to install Klipper on Anycubic Kobra 2"},"content":{"rendered":"\r\n<p><strong>Here are my steps to install Klipper on a Raspberry Pi:<\/strong><\/p>\r\n\r\n\r\n\r\n<p><!--more--><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Follow these instructions <strong>https:\/\/github.com\/dw-0\/kiauh<\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>From the KIAUH main menu, <strong>install klipper, moonraker and mainsail<\/strong> (even if you do not need 3 instances of klipper to manage 3 printers from a single raspberry pi respond \u201c3\u201d when the installation requests it).<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>check that mailsail loads by browsing to the IP address of the raspberry pi.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Next steps are specific to Kobra 2<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Compile firmware or <a href=\"https:\/\/drive.google.com\/file\/d\/1Rf6Zca216SqTuVORAmYveNiPfufnIuPO\/view?usp=drive_link\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/1Rf6Zca216SqTuVORAmYveNiPfufnIuPO\/view?usp=drive_link\">download it<\/a> and ignore this point<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>Connect to the raspberry pi by SSH using an ssh client such as Putty.<br \/>IP address of your raspberry pi<br \/>user: <code>pi<\/code>, password: <code>raspbian<\/code><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>cd klipper<\/code><\/pre>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>make menuconfig<\/code><\/pre>\r\n\r\n\r\n\r\n<p>set up the menu as in the picture and exit and save with Q<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" class=\"wp-image-621\" src=\"https:\/\/function3d.xyz\/wp-content\/uploads\/2023\/09\/image-3.png\" alt=\"\" \/><\/figure>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>make<\/code><\/pre>\r\n\r\n\r\n\r\n<p>Download the resulting firmware from <code>klipper\/out\/klipper.bin<\/code> with WinSCP (connect to the Raspberry Pi using the same login and password that we used to connect via SSH)<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>Rename klipper.bin to firmware.bin<\/strong> and copy it to the root of an SD card, with the printer turned off, insert the SD card and turn it on, in a few seconds the klipper firmware will be loaded. From this moment on, the printer screen will be unusable.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Add udev rules:<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>Edit the <strong>\/etc\/udev\/rules.d\/10-usb-serial.rules<\/strong> file<\/p>\r\n\r\n\r\n\r\n<p>with <code>sudo nano \/etc\/udev\/rules.d\/10-usb-serial.rules<\/code> to contain:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>SUBSYSTEM==\"tty\", ATTRS{idProduct}==\"7523\", ATTRS{idVendor}==\"1a86\",  SYMLINK+=\"ttyUSB_KOBRA2\"<\/code><\/pre>\r\n\r\n\r\n\r\n<p>Ctrl+X to exit and save<\/p>\r\n\r\n\r\n\r\n<p>Edit the <strong>\/etc\/udev\/rules.d\/98-klipper.rules<\/strong> file<\/p>\r\n\r\n\r\n\r\n<p>with <code>sudo nano \/etc\/udev\/rules.d\/98-klipper.rules<\/code> to contain:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"1a86\", ATTRS{idProduct}==\"7523\", ACTION==\"add\", RUN+=\"\/bin\/sh -c '\/bin\/echo RESTART &gt; \/home\/pi\/printer_1_data\/comms\/klippy.serial'\"<\/code><\/pre>\r\n\r\n\r\n\r\n<p>Ctrl+X to exit and save<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Restart the operating system: <code>sudo reboot<\/code><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/1b9xOY9zppay2TfVpMH0pkc6hTFPuR4Y5\/view?usp=drive_link\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/1b9xOY9zppay2TfVpMH0pkc6hTFPuR4Y5\/view?usp=drive_link\">Download<\/a>, extract and drag and drop the four <code>cfg<\/code> files into the <strong>MACHINE<\/strong> section of the mainsail<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Click on &#8220;<strong>FIRMWARE RESTART<\/strong>&#8221; in mailsail.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>Bed Leveling and setting Nozzle Offset<\/strong>.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" class=\"wp-image-619\" src=\"https:\/\/function3d.xyz\/wp-content\/uploads\/2023\/09\/image-1.png\" alt=\"\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Do Home and move Z to 0<\/strong>, use Z-Offset to raise or lower the nozzle, use a paper as usual.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" class=\"wp-image-618\" src=\"https:\/\/function3d.xyz\/wp-content\/uploads\/2023\/09\/image.png\" alt=\"\" \/><\/figure>\r\n\r\n\r\n\r\n<p><s><strong>Once Z-Offset is calibrate<\/strong>, click on <code>SAVE &gt; TO PROBE<\/code> and <code>SAVE_CONFIG<\/code><\/s><br \/>With the new configuration (02-01-2024) the z offset value is stored between sessions so it is not necessary to save it, if you save it when restarting it would be applying double, so if you save it the z offset value after restarting you should set it to zero for the session.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-cover\"><img decoding=\"async\" class=\"wp-block-cover__image-background wp-image-620\" src=\"https:\/\/function3d.xyz\/wp-content\/uploads\/2023\/09\/image-2.png\" alt=\"\" data-object-fit=\"cover\" \/>\r\n<div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\r\n<p class=\"has-text-align-center has-large-font-size\">this step is no longer necessary<\/p>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Remove the SD card from the printer, to prevent the firmware from loading every time you turn it on.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>That&#8217;s all! Your printer is set up and ready to print.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\"><strong>Bonus<\/strong><\/p>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/1CjfUV30SpRE2vx3uouXRjo3yje7ap4b2\/view?usp=drive_link\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/1dTc0CBOtaGi_aqGgppwB1ZrGpbqRqRfD\/view?usp=sharing\">Orca profile I use<\/a><\/p>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/1dTc0CBOtaGi_aqGgppwB1ZrGpbqRqRfD\/view?usp=drive_link\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/1dTc0CBOtaGi_aqGgppwB1ZrGpbqRqRfD\/view?usp=drive_link\">Cura profile I use<\/a> (I no longer use Cura)<\/p>\r\n\r\n\r\n\r\n<p><strong>Start gcode cura:<\/strong><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>START_PRINT EXTRUDER_TEMP={material_print_temperature_layer_0} BED_TEMP={material_bed_temperature_layer_0}<\/code><\/pre>\r\n\r\n\r\n\r\n<p><strong>Start gcode prusa slicer:<\/strong><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>START_PRINT EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]<\/code><\/pre>\r\n\r\n\r\n\r\n<p><strong>end gcode:<\/strong><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>END_PRINT<\/code><\/pre>\r\n\r\n\r\n\r\n<p><strong>Excluding objects<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Add these lines in the <code>moonraker.conf<\/code> file in the mainsail machines section to allow <strong>excluding objects<\/strong> while a print is in progress.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>[file_manager]<br \/>queue_gcode_uploads: False<br \/>enable_object_processing: True<\/code><\/pre>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p><strong>Send prints from Cura<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Install the plugin <strong>Moonraker connection<\/strong> from the <a href=\"https:\/\/marketplace.ultimaker.com\/app\/cura\/plugins\/emtrax\/MoonrakerConnection\" target=\"_blank\" rel=\"noreferrer noopener\">Marketplace<\/a> in Cura<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-624\" src=\"https:\/\/function3d.xyz\/wp-content\/uploads\/2023\/09\/image-4.png\" alt=\"\" \/><\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-625\" src=\"https:\/\/function3d.xyz\/wp-content\/uploads\/2023\/09\/image-5.png\" alt=\"\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p><strong>Firmware retraction<\/strong><br \/>Install the plugin <strong>Printer Settings<\/strong> from the <a href=\"https:\/\/marketplace.ultimaker.com\/app\/cura\/plugins\/emtrax\/MoonrakerConnection\" target=\"_blank\" rel=\"noreferrer noopener\">Marketplace<\/a> in Cura<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-626\" src=\"https:\/\/function3d.xyz\/wp-content\/uploads\/2023\/09\/image-6.png\" alt=\"\" \/><\/figure>\r\n\r\n\r\n\r\n<p>If you have any questions or comments you can leave them in the comments section of this video <strong><a href=\"https:\/\/www.tiktok.com\/@function.3d\/video\/7268267451220036897\" data-type=\"link\" data-id=\"https:\/\/www.tiktok.com\/@function.3d\/video\/7268267451220036897\">Klipper firmware on the Kobra 2<\/a><\/strong><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Here are my steps to install Klipper on a Raspberry Pi:<\/p>\n","protected":false},"author":2,"featured_media":2183,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1894","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"uagb_featured_image_src":{"full":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06.jpg",483,693,false],"thumbnail":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06-150x150.jpg",150,150,true],"medium":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06-209x300.jpg",209,300,true],"medium_large":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06.jpg",483,693,false],"large":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06.jpg",483,693,false],"1536x1536":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06.jpg",483,693,false],"2048x2048":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06.jpg",483,693,false],"trp-custom-language-flag":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06-8x12.jpg",8,12,true],"woocommerce_thumbnail":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06-300x300.jpg",300,300,true],"woocommerce_single":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06.jpg",483,693,false],"woocommerce_gallery_thumbnail":["https:\/\/function3d.xyz\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-07-12-01-06-100x100.jpg",100,100,true]},"uagb_author_info":{"display_name":"raul","author_link":"https:\/\/function3d.xyz\/en\/author\/raul\/"},"uagb_comment_info":0,"uagb_excerpt":"Here are my steps to install Klipper on a Raspberry Pi:","_links":{"self":[{"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/posts\/1894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/comments?post=1894"}],"version-history":[{"count":2,"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/posts\/1894\/revisions"}],"predecessor-version":[{"id":2184,"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/posts\/1894\/revisions\/2184"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/media\/2183"}],"wp:attachment":[{"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/media?parent=1894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/categories?post=1894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/function3d.xyz\/en\/wp-json\/wp\/v2\/tags?post=1894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}