Uses For Raspberry Pi Zero | Klipper And The Rpi-zero, Low Cost Remote Printer Control!

Nero 3dp

Subscribe Here





Klipper And The Rpi-zero, Low Cost Remote Printer Control!


So you’re getting tired of constantly swapping SD cards to print something new, and you’re looking for a way to remotely control your printer. You’ve also heard of this fancy new firmware called Clipper and you want to give it a shot, so you go out and you buy yourself a raspberry pi. And, of course, you’re going to have to hook that up to your printer with a USB cable and don’t forget you need to power it, but now you have an extra plug in the wall. So you want you want a cleaner set up? You want something that’s fully internal while your printer has a power supply? You can grab a buck converter of some sort. You get some wiring some connectors and, hey, you might even need to solder as well. Oh, don’t forget your crimper too, But what if I told you There’s an even simpler solution and a cheaper solution. What if I told you all you really needed to add was a raspberry pi zero and a single connector, so starting off, of course, going with a full-size raspberry. Pi is a completely valid option. It does have many advantages that this option unfortunately, will be lacking in and we’ll get into those details further, but the solution we’re going to be looking at today is a great low cost option for those that simply want to be able to control their printers over their home wireless network, and for those doing small, compact builds where prioritizing cable management and available space can be a benefit. So let’s start off by taking a look at the Raspberry Pi Zero, So the Raspberry Pi zero for those that are unfamiliar is lowest cost option in the Raspberry Pi family. This is the Raspberry Pi Zero W and you’re going to want the W version because that one has the Built-in Wi-fi and it’s also the slowest of the raspberry Pis, and it’s not recommended that you run octprint on a raspberry pi zero because it’s so underpowered, so we’re not going to do that and what we will be doing is running a standalone clipper interface on the Raspberry Pi Zero, and this will let us negate the fact that this thing has a weaker processor and another thing that makes this possible is the fact that the Raspberry Pi zero with its low power draw enables you to power it off of most modern boards simply through an available 5 volt pin. Now there are a few things you have to keep in mind to make this work and the first thing is you need to be using a controller board with available uart pins now on the SKR series of boards, the easiest solution is simply to use the tft header on the board. You have five Volt Ground, TX and RX in one convenient package you do need to ensure and keep in mind that your board has the ability to deliver the required power for the Raspberry Pi. However, since most modern boards are capable of powering standalone LCD screens. They should be okay. If you are worried, you can refer to your controller Board’s manufacturer to see if the board is capable of outputting the required amperage for Raspberry Pi zero now. There are two downsides to the setup that you do have to keep in mind. The first thing is since the Raspberry Pi Zero is a low power board. It doesn’t have the raw power capable of handling most modern HD webcam streams. Unfortunately, that is a limitation of the encoder, and there’s really no way to get around that you may be able to get by with a low power webcam running at a low resolution and frame rate. However, I do recommend simply running without a webcam. This will make sure that you don’t run any issues with power draw or over taxing your CPU midway through a print and having everything shut down and unfortunately, another downside with this setup is since you will be using the tft header. You unfortunately won’t be able to connect a screen if it requires that connection now. Depending on your controller board, you may have additional hookups that you can use for controller screen now. The alternative is, of course, now that your printer can connect to the wi-fi and you can control it. You can simply control it from your phone. As long as you’re connected through your home Wi-fi network over the web interface, so getting this set up is relatively simple. You just need to find on your board where the available, TX RX 5 volt and ground connectors are on your raspberry pi zero. You just need to ensure that you have your gpio pins soldered on and you need to make a single cable. Now this cable right here. I just made out of some spare cable. I had laid around with four wires in it and what you do, is you. Connect the five volt to the five volt, the ground to the ground. And you need to take your TX and your RX pins and you need to cross them. So TX connects to RX and RX connects to TX. If you connect TX to TX and rx to rx, it will not communicate so once your cable is made up, you can connect them and that’s. All you need to do now. When it comes to mounting both of these, you can get pretty creative and mount the Raspberry Pi as close as you want to your controller board as long as you have proper airflow, This gives you a very tight, convenient package for adding Wi-fi control to an existing printer. Now, another thing to keep in mind, too is since you are communicating over uart. You do want to try and keep this wire as short as possible just to prevent interference. So now you can see how it’s done, lets. Go ahead and install this in the printer. So we have my raspberry pi zero here. I’ve gone ahead and mounted it to this. Mount here that I found on thingiverse a while back connecting my cable and we’re going to go ahead and mount it in the printer and then we’re going to take the other end of the connector. Ensure we have the right pins in the right order, and we are going to connect it to the tft header in this case here. This is my SKR Mini v2 and my voron v0 so the next step after you go ahead and do the hardware setup for this procedure is go ahead and create your SD card and move on to the software side of things and the first thing you’re going to have to do is decide whether you want to run mainsail or fluid as your clipper interface. Now when it comes to choosing between mainsail and fluid at this point, I won’t recommend either or it comes down to personal preference. They both pretty much have the same features at this date and time and they’re both constantly adding features as development moves on with both. Honestly, I would just say grab whichever one has the interface. You like the most. The installation procedure for both are pretty much the same. So this guide works for both. So in this case here we are going to be installing mainsail and the reason for that is I run mainsail and fluid on different machines. This one is one of my main sail machines for testing, and I’m going to keep it with Mainsail. So you’re going to go ahead and download the latest version, and then once that is done, use Bellona etcher to install it and afterwards the boot directory on the SD card should pop up now. If this doesn’t show up, you may need to unplug and plug the SD card back in after that. We’re going to go down to the WPA supplicant section. We’re going to add our wi-fi information and ensure you put in your ssid here and your password and ensure that you delete the hashtags in front of it. Otherwise, it’s not going to work, And if you are going to attempt to run a webcam, I recommend that you go into the either. The mainsail or fluid section here, depending on which one you installed and you can adjust your webcam settings here. I do highly recommend if you are going to attempt to run a webcam that you lower these settings as much as you’re okay with, and that is it for creating your SD card now we’re going to go ahead and install this in our raspberry pi zero and we’re going to go ahead and plug it in and connect to it over our home network. Now you should be able to connect to it over your home Wi-fi at this point, however, you are going to have to go ahead and do some configuration through SSH to set up the uart connection before we go any further at this point, so go ahead and launch your terminal of choice. I’m using putty here and connect to your pi zero now. The default Login is PI. And your default Password is raspberry. You can change those. If you wish later on now once you’re logged in, you are going to have to modify some files through SSH and add some lines to certain things I will have all these steps. Below in the description, it’s mostly just copy, pasting and deleting certain things. So the first thing you’re going to have to do is swap The Gpio ports from Bluetooth use so that they can be used for uart, so it’s a pseudo nano boot, and then you scroll all the way to the very end of this. You’re gonna add the DT overlay line, so copy it, and then you can just hit right, Click to input it and then you hit control X to exit and then y to save and then hit enter the next thing is you need to disable the serial console, so that’s another pseudo command and what you’re going to have to do is there’s? A section here called console equals serial 10 comma 115 200 You’re going to delete that whole section right here, so just basically start hitting delete and there you go, That’s it, Ctrl X hit, Y and enter next. We’re going to have to go into the Raspberry Config section and change some stuff there as well, so go down to interface options p6 that’s serial port select no, and for would you like the serial port hardware to be enabled? You hit yes. At this point, you can also change any other settings. You wish to change, then you finish, and then it will reboot the Pi, and now after rebooting the Raspberry Pi, you are going to have to make a new config file now. There is a guide here for making the config file on the Clipper website and we’ll just follow that here. You’re going to have to go with the instructions for your specific board. Though, for reference, this is a SKR mini v2 and it is mostly just copy and pasting commands make menu config now to ensure you are making it with the right settings go to the clipper Github search for the config for your specific controller board and there should be a description at the top here that says what settings you need to have selected when you’re making your mate Config file and one thing you have to do. Now, this is regardless of which board you’re using. You have to disable use USB for communication because we’re no longer using USB for communication. We’re using uart. You may need to adjust your serial port as well in this case, you are too, and then hit Q to quit, hit y to save and then make now because this is an SKR board here. I am going to have to pull the make file off of the raspberry. Pi, I’m going to use winscp to do that. And then I have to rename it to firmwarebin. Put it on the SD card that goes into the SKR Mini and then plug that back into the board and reset it. And its pie and raspberry. Okay, let’s go to Clipper File, Go to out and then right here, Clipper bin. This is the file. You’re going to need to pull off of it and you’re going to want to rename that to firmwarebin lowercase. Then you’re going to take your SD card out of your skr. You’re going to plug it into your computer. You’re going to delete the file that says firmware and you’re going to copy the firmware bin onto it and then you’re going to go ahead and plug the micro SD card back into the SKR board. An led might blink for a little bit. Sometimes it does, sometimes it doesn’t. And then what you can do to check is by plugging the SD card back into your computer. If the firmware dot bin is now simply called firmware all in capital letters, you successfully flashed your board and there. We go now. We have the board flashed. Now we can go ahead and upload our configuration to the printer. Now I already had a configuration set up for this printer, so I’m just going to go ahead and re-upload that now. If this is a new build, you are going to have to go ahead and set up your configuration for your new printer. That is a separate video. Now we have our configuration uploaded now under your serial connection before where you would normally see the USB address, You’re going to try and use slash Dev slash tty amao. I’ll have that in the description as well and this would be the most common serial address when connecting over uart, so this should be the one that works so once you have that inputted there save and restart and there we go now, depending on the version of clipper you’re upgrading from if this is a new builder install, you might have some random errors thrown up, but as you can see here, we are connected to the printer and the printer homes just fine because this is a config that we had previously used. And there you have it. That’s how you set up a raspberry pi zero over a York connection to control your 3d printer and also run off your printer’s controller board now. I do actually have this setup functional in my voron v0 printer. I also use the same setup in my banzai printer. Now another thing to keep in mind is controlling your mcu over uart can be advantageous on the larger size. Raspberry Pi. Now I have this raspberry pi 3a here And it only comes with a single USB port. Now, of course, I could use a USB splitter, so I could connect this to my printer’s controller board over UART and then leave the available USB port for a webcam. For example, the only difference that you have to be aware of. Is you simply don’t connect the 5 Volt signal? Just the ground, the TX and the RX pins and other than that. The setup method is the same. So I hope you found this video informative. If you do have any questions as always ask them in the comments below. If you like the video, make sure you like that smash button. And if you want to see more content such as this, make sure you’re subscribed to the channel. If you like the content I produce and you would like to help support the channel. There are options below in the description as well. I hope you learned something new and as always, thank you and have a nice day you.

3d Printed Master Chief Helmet | 3d Printed Halo Helmet

Transcript: Hey, how's it going, guys? Just, uh, thought I would share with you. A project I've been working on. This is my master chief or your halo mark 6 helmet. And this was 3d printed on my ender threes. Uh, so I've got an Ender, Three and Ender, Three pro. And,...

read more