MainsailOS installation Guide-Goodbye Octoprint! (works with fluidd too)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello in today's video i will be going over how to install mainsail on your 3d printer running clipper as your firmware mainsail is an alternative to octoprint for those running clipper as their firmware of choice on their 3d printer it is a lightweight streamlined web interface it supports common features such as webcams and also has built-in configuration editing through mainsail itself so no longer needing to go in through something such as notepad plus plus to edit your configuration you can do that on mainsail now at this time mainsail is still in alpha so there are currently no add-ons supported however through the moonraker api which that's what mainsail uses to communicate with clipper there will be add-on support in the future and there is work on porting some of the more common octoprint add-ons to clipper so the way of installing mainsail we'll be going over today is using the mainsail os so mainsail os is currently in version 0.0.0.9 it is being updated the installation instructions should not change too much however if there is any big changes to it i will update this video in the future so the first thing you're going to want to do is if your printer currently runs clipper and you're using octoprint the first thing you're going to want to do is save your configuration so i'll go over a full installation of mainsail os on a fresh build however i will be using my switch wire printer here so switch wire here currently runs octoprint uh as my interface for clipper and it's all set up and configured so what the first thing i'm going to do is save my configuration so personally i use notepad plus plus and what i'm going to do is go to the configuration and i'm going to save that so this will save me from having to reconfigure my printer once i install mainsail os if you are going with a fresh build you are going to have to configure it like you normally would and then once you have your configuration saved if you are flashing a printer that currently has octoprint you're going to want to download the latest version of mainsail os and then once you have it downloaded you are going to want to install it of course on your raspberry pi so you're going to need the sd card out of the raspberry pi and then if you have not done so depending on what controller board you have you may have to flash your firmware via sd or usb depending on the board the installation instructions for clipper will cover which method of installation you need to use to install the firmware on your mcu so as this is an skr we will be installing it by the sd card and i will be using bolana etcher here to install the image on the sd card so once the flashing is complete you're gonna want to edit some files on it so as this is a flash damage on an sd card the easiest way i've found to get at it simply unplug the sd card and then plug it back in there we go and we're going to want to look for the wapa supplicant so you would edit this as you would with octoprint so this is where you put your your wi-fi id here and your ssid there and then your password right here such as that and then also don't forget you have to delete the hashtags there before you save otherwise it won't connect and then the other file we're going to edit is the mainsail one and this is what we're going to edit and this is for your webcam so it defaults to a 640x480 10 frames per second for your webcam so what you would do here is simply input the resolution of whatever webcam you're using along with its frame rate and also delete the hashtag and save that and there we go at this point you're going to take your sd card and reinsert it into the raspberry pi and we are going to power it on because we have to make a firmware file to flash the skr so for flashing the skr you have to do it over sd card if your mcu can be flashed via usb you can't have it plugged in and through the next step you will be flashing it however with the skr we are going to have to generate a separate flash file for it so at this point you could reference the clipper installation instructions on the clipper github for building and flashing your microcontroller so we are going to have to ssh into our raspberry pi here now if you don't know the ip address of your raspberry pi that you're using you can just simply open up your router's web interface and that should give you a list of everything that is currently connected to it and go ahead and connect to it the default password or the default login is pi and the password is raspberry and now we're just going to copy and paste some commands so cd clipper make menu config and there we go so at this point what you're going to want to refer to is you're going to go to the clipper section of the clipper github configuration section and you're going to find what controller board you're using so we have an skr here and we have the v 1.3 and when you load it up you can see here this file contains common pin mappings for the big treetech skrv 1.3 to use this config the firmware should be compiled for the lpc-1768 so that is the microcontroller so we're going to select that here and 1768. there we go now some boards have more settings you have to adjust for making the make file this one's a relatively simple one now if you are reflashing a printer that is currently running clipper through octoprint you may not have to reflash your board you may be able to just simply update your raspberry pi to mainsail um however depending on what version of clipper and which version of the firmware you have installed on your board you may still have to follow this step so exit save and then at this point we're going to type make and it will compile the firmware and then once that's done we're going to need to get that make file and copy it to the sd card that installs into the skr so for that i use a program called win scp and then once you're connected to it um you go to the out folder and it's clipper bin you're going to want to save this to your desktop i already have one there make sure you only have one there and then you're going to rename that to firmware dot bin and you're going to put that file onto the sd card that you will be putting in your skr and then you're going to take that sd card install it into your skr hook everything up and when you plug it in for the first time and power goes to the skr you should see the light on it the little led flash for a few seconds and that'll be it flashing the board for the firmware so at this point you're going to connect to the raspberry pi through your web browser of choice and as you can see here main clos is up and running however we do not have a configuration so we're going to the settings machine config file and these two ones here are default you need to leave these don't modify them we've got a new one here we're going to call it printer dot cfg create that then we're going to go into it and at this point we're going to paste our configuration so if you are updating a printer that previously ran clipper this is where you would copy and paste your old configuration if this is a new build this is where you will put your default configuration and begin modifying and adjusting it as you would need to we're going to save that we're going to restart and there we go so as this is a working configuration everything works and boots up properly i don't have a webcam plugged in otherwise you would see the webcam here on this other printer that i have here you can see the webcam now one thing i do really like about mainsail it is a much quicker interface uh boots up a lot quicker compared to octoprint and even simply just reloading the web page is much quicker now it is still in alpha at certain times you are just going to have to refresh the page to see an update they are working on getting some of those uh bugs corrected but it is much more lightweight and snappier for example the one here for my v0 this is running on a raspberry pi so this way it's powered completely off of the skr mini itself no need for a buck converter or anything because the raspberry pi draws so little power and it still has enough horsepower to run a webcam so that is how you use mainsail os to install the mainsail web interface i'll have links below to all these pages here that have all the information and help that i used for this guide so you can follow along thank you for watching if you do have any questions please feel free to ask them in the comments below i will have a link to the mainsail discord as well it's a growing community there for mainsail and mansell os for the clipper firmware if you like this video please throw a like and if you would like to see more content such as this please don't forget to subscribe to the channel i also have a twitter now at 3dp nero and i created that for communication for when i'm streaming and i do stream on saturday nights it's mostly printer builds but other electronics projects as well thank you for watching this video take care [Music] [Music] you
Info
Channel: Nero3D the Canuck Creator
Views: 97,211
Rating: undefined out of 5
Keywords: voron, voron design, v2, v2.4, v2.1, v24, v2.2, v2.0, vzero, v0, v1, serial, request, cereal, overview, intro, 3d, printer, 3d printer, corexy, core, xy, abs, enclosed, mainsail, mainsailos, os, klipper, install, octoprint, raspberry, pi, raspberrypi, zero
Id: MK0-MDVJG94
Channel Id: undefined
Length: 12min 2sec (722 seconds)
Published: Mon Oct 19 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.