diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..c623d48866f9fb1ce99ffc468e5ac9b465d63582 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +# This file is a template, and might need editing before it works on your project. +# To contribute improvements to CI/CD templates, please follow the Development guide at: +# https://docs.gitlab.com/ee/development/cicd/templates.html +# This specific template is located at: +# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml + +# Full project: https://gitlab.com/pages/plain-html +pages: + stage: deploy + script: + - mkdir .public + - cp -r ./* .public + - rm -rf public + - mv .public public + artifacts: + paths: + - public + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH diff --git a/README.md b/README.md index 69ca435f0f2657d00a0320e8e601de31623265a5..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 --- a/README.md +++ b/README.md @@ -1,154 +1 @@ -# USING THE CBA SRM 20 PCB MILL -hello. Do you want to use that other PCB mill in 043? This one: - -<img src="img/1.mp4"><br> - -## the Roland SRM-20 PCB mill -<img src="img/1.jpeg"><br> - -The basic operation between the SRM-20 and the Lunyee mill that you've been using is pretty similar— this is written assuming that you already know how to use that mill. - -This machine is operated using Mods: https://modsproject.org/ - -To send commands between mods and the mill, bring your computer over and plug the USB A cable in. This cable, specifically: - -<img src="img/2.jpeg"><br> - -Now go to mods in your browser. Because the mill talks to mods over webserial, you <b> MUST USE CHROME or other CHROME DESCENDED BROWSER </b>. - -Once in mods, you will navigate to the Roland SRM 20 PCB milling option, which will look something to the effect of: - -<img src="img/18.png"><br> - -Once you open that up, it will give you a graph pretty similar to what you've seen before: - -<img src="img/19.png"><br> - -You have the option of loading a png or svg, either of which are prepared the exact same way as you've been preparing them for the lunyee. I won't go into mods in too much detail since you've used it before, but the primary difference between the SRM 20 and the lunyee is in how you zero the milling tool— for this SRM-20, we will be doing this from mods— more on that in a bit. For now, let's go back to the machine: - -<img src="img/3.jpeg"><br> - -Let's make note of a few important things in this image! The SRM-20 is enclosed, and has a little door. It is very important that whenever the machine is running, this door is closed!!! -### If the spindle is running, this door must be shut!!! - - -Also, take note of the allen key magnetted on to the machine— that's the key for tightening the milling tools in, and that magnet is where it lives. Please return it to its home when you are done using it. - -Next, you will want to load PCB stock in. (unless you are re-using what's already in there, which is what I'm going to do here...) - -<img src="img/7.jpeg"><br> - -The FR1 is fixed to the cutting bed using double sided tape, the same way you've done for the Lunyee. Let's take not of something important in this image: <b> there are two layers of FR1 </b>. - -### the lower layer is the spoil board, and the upper layer is the one you're cutting. You need to have both layers so that the plastic cutting bed underneath doesn't get destroyed. - -You might also notice that the FR1 is hanging over the edge of the plastic base underneath it— try to avoid cutting over floating areas! - -Now that the material is loading, let's load in a milling bit. - -<img src="img/4.jpeg"><br> - -There's the spindle, and there's the set screw. - -<img src="img/5.jpeg"><br> - -### Do not overtighten the set screw! It will strip the threads! - -The SRM-20 likes to play games with you, so do note that there's an indent on the opposite side of the set screw, which in a moment of deep sleep deprivation, you may find yourself trying in vain to tighten: - -<img src="img/6.jpeg"><br> - -Just an FYI, that's there. - -Now, we insert the milling bit. - -<img src="img/8.jpeg"><br> - -You want to install the milling bit much higher than you would actually cut with. As you can see in the image, I'm going to initially install it almost all the way into the collet— this is so that it does not collide with our material when we do our x-y zeroing. This is because we will later lower the milling bit down manually before cutting to do the z-axis zeroing. Close up here: - -<img src="img/9.jpeg"><br> - -From here, we will do our x-y zeroing. Let's get back to mods. - -<img src="img/19.png"><br> - -You'll need to first pair to the machine. Navigate to the node titled WebUSB, and click on Get Device: - -<img src="img/20.png"><br> - -This will pop out a window with webserial devices listed; pick the srm 20: - -<img src="img/21.png"><br> -<img src="img/22.png"><br> - -<b> if the window does not pop out, check if your browser supports web serial! </b> and, if not, switch to one that does, e.g. chrome. - -Once you're paired to the machine, you can control the mill from mods. - -For safety reasons, please be very aware that: - -## mods can now move the machine. - -To zero the x-y axis, go to the window SRM 20 absolute coordinates: - -<img src="img/23.png"><br> -<img src="img/24.png"><br> - -You can change the coordinates in the origin section to move the machine to where you want the origin of your design to be. So in the above image, when you click "move to origin" the mill will move to x:10, y:10, z:10. - -## Make sure that your cutting tool is installed high enough it won't collide, and make sure the door is closed before clicking "move to origin" - -## The machine will move once you click that button. - -Now that the machine is at the correct x-y position, you can slightly lower the z height from mods, and then you will loosen the set screw so that the milling bit contacts the FR1, and then re-tighten in that position. From there, your x, y, and z heights are all set, and you are ready to start milling. Let's go through this: - -The machine at the correct x-y: - -<img src="img/10.jpeg"><br> - -Now I'm going to lower the z height 1-2 mm from mods: - -<img src="img/11.jpeg"><br> - -for visibility of the height of the tool off the FR1: - -<img src="img/12.jpeg"><br> - -Now, I will loosen the set screw so that the milling bit drops onto the FR1 (do the drop gently, i.e. hold onto the milling bit, otherwise the drop can damage the tool). - -<b> While holding the milling bit in place, re-tighten the set screw </b>. Again, you do not need to crank it, overtightening the set screw can damage the threads. - -The reason why you want to hold the milling bit in place is because the tightening of the set screw can slightly lift the milling bit out of place otherwise, which can cause your traces especially to not mill out properly. - -This is everything in place, fingers for visibility: -<img src="img/13.jpeg"><br> -<img src="img/14.jpeg"><br> - -Now, everything is zero-ed correctly, and you are ready to mill your design! - -To do this, load up your png/svg of your traces into mods, select the 1/64" mill traces option, and click calculate. (This is all basically the same as the lunyee). - -### Then, the "waiting for file" button in the WebUsb window will switch to "send file". Once you click "send file", the machine will start milling. - -## Make sure the door is closed!!! - -ok great, the SRM 20 milled out your traces: - -<img src="img/16.jpeg"><br> - -Before we cut the outline out, let's vacuum up the chips: - -<img src="img/17.jpeg"><br> - -Great. Beautiful. - -Now, you will switch out your milling bit, following the instructions as above, to cut out your outline. Make sure your x and y zeros are the same as for your traces. (your z zero in mods does not need to be the same, since we manually set that by lowering the height of the milling tool). - -Here is a video showing the machine milling, starting from once the tool is zeroed, and mods has computed the outline cut path (mill outline 1/32). - -<img src="img/2.mp4"><br> - -As you can see, the machine will start as soon as you press "send file", so please be aware/prepared for that. - -Once the part is cut out, you can vacuum up the chips, and then pry your PCB out. Good job!! diff --git a/index.html b/index.html new file mode 100644 index 0000000000000000000000000000000000000000..2643651cabc06d0acbc01e2ad48e66f54b336237 --- /dev/null +++ b/index.html @@ -0,0 +1,266 @@ +<!DOCTYPE html> +<html> + +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width"> +<title>SRM-20 PCB tutorial</title> +<link href="style.css" rel="stylesheet" type="text/css" /> +</head> + +<body> + +<main> + +<h1>Using the SRM-20 PCB mill</h1> + +<p> +hello. Do you want to use that other PCB mill in 043? This one: +</p> + +<video width="100%" controls=""> + <source src="./img/1.mp4" type="video/mp4"> +Your browser does not support the video tag. +</video> + +<h2>the Roland SRM-20 PCB mill</h2> + +<a href="./img/1.jpeg" target=_blank><img src="./img/1.jpeg"/></a> + +<p> +The basic operation between the SRM-20 and the Lunyee mill that you've been using is pretty similar— this is written assuming that you already know how to use that mill. +</p> + +<p> +This machine is operated using Mods: https://modsproject.org/ +</p> + +<p> +To send commands between mods and the mill, bring your computer over and plug the USB A cable in. This cable, specifically: +</p> + +<a href="./img/2.jpeg" target=_blank><img src="./img/2.jpeg"/></a> + +<p> +Now go to mods in your browser. Because the mill talks to mods over webserial, you <b> MUST USE CHROME or other CHROME DESCENDED BROWSER </b>. +</p> + +<p> +Once in mods, you will navigate to the Roland SRM 20 PCB milling option, which will look something to the effect of: +</p> + +<a href="./img/18.png" target=_blank><img src="./img/18.png"/></a> + +<p> +Once you open that up, it will give you a graph pretty similar to what you've seen before: +</p> + +<a href="./img/19.png" target=_blank><img src="./img/19.png"/></a> + +<p> +You have the option of loading a png or svg, either of which are prepared the exact same way as you've been preparing them for the lunyee. I won't go into mods in too much detail since you've used it before, but the primary difference between the SRM 20 and the lunyee is in how you zero the milling tool— for this SRM-20, we will be doing this from mods— more on that in a bit. For now, let's go back to the machine: +</p> + +<a href="./img/3.jpeg" target=_blank><img src="./img/3.jpeg"/></a> + +<p> +Let's make note of a few important things in this image! The SRM-20 is enclosed, and has a little door. It is very important that whenever the machine is running, this door is closed!!! +</p> +### If the spindle is running, this door must be shut!!! + + +<p> +Also, take note of the allen key magnetted on to the machine— that's the key for tightening the milling tools in, and that magnet is where it lives. Please return it to its home when you are done using it. +</p> + +<p> +Next, you will want to load PCB stock in. (unless you are re-using what's already in there, which is what I'm going to do here...) +</p> + +<a href="./img/7.jpeg" target=_blank><img src="./img/7.jpeg"/></a> + +<p> +The FR1 is fixed to the cutting bed using double sided tape, the same way you've done for the Lunyee. Let's take not of something important in this image: <b> there are two layers of FR1 </b>. +</p> + +### the lower layer is the spoil board, and the upper layer is the one you're cutting. You need to have both layers so that the plastic cutting bed underneath doesn't get destroyed. + +<p> +You might also notice that the FR1 is hanging over the edge of the plastic base underneath it— try to avoid cutting over floating areas! +</p> + +<p> +Now that the material is loading, let's load in a milling bit. +</p> + +<a href="./img/4.jpeg" target=_blank><img src="./img/4.jpeg"/></a> + +<p> +There's the spindle, and there's the set screw. +</p> + +<a href="./img/5.jpeg" target=_blank><img src="./img/5.jpeg"/></a> + +### Do not overtighten the set screw! It will strip the threads! + +<p> +The SRM-20 likes to play games with you, so do note that there's an indent on the opposite side of the set screw, which in a moment of deep sleep deprivation, you may find yourself trying in vain to tighten: +</p> + +<a href="./img/6.jpeg" target=_blank><img src="./img/6.jpeg"/></a> + +<p> +Just an FYI, that's there. +</p> + +<p> +Now, we insert the milling bit. +</p> + +<a href="./img/8.jpeg" target=_blank><img src="./img/8.jpeg"/></a> + +<p> +You want to install the milling bit much higher than you would actually cut with. As you can see in the image, I'm going to initially install it almost all the way into the collet— this is so that it does not collide with our material when we do our x-y zeroing. This is because we will later lower the milling bit down manually before cutting to do the z-axis zeroing. Close up here: +</p> + +<a href="./img/9.jpeg" target=_blank><img src="./img/9.jpeg"/></a> + +<p> +From here, we will do our x-y zeroing. Let's get back to mods. +</p> + +<a href="./img/19.png" target=_blank><img src="./img/19.png"/></a> + +<p> +You'll need to first pair to the machine. Navigate to the node titled WebUSB, and click on Get Device: +</p> + +<a href="./img/20.png" target=_blank><img src="./img/20.png"/></a> + +<p> +This will pop out a window with webserial devices listed; pick the srm 20: +</p> + +<a href="./img/21.png" target=_blank><img src="./img/21.png"/></a> +<a href="./img/22.png" target=_blank><img src="./img/22.png"/></a> + +<b> if the window does not pop out, check if your browser supports web serial! </b> and, if not, switch to one that does, e.g. chrome. + +<p> +Once you're paired to the machine, you can control the mill from mods. +</p> + +<p> +For safety reasons, please be very aware that: +</p> + +## mods can now move the machine. + +<p> +To zero the x-y axis, go to the window SRM 20 absolute coordinates: +</p> + +<a href="./img/23.png" target=_blank><img src="./img/23.png"/></a> +<a href="./img/24.png" target=_blank><img src="./img/24.png"/></a> + +<p> +You can change the coordinates in the origin section to move the machine to where you want the origin of your design to be. So in the above image, when you click "move to origin" the mill will move to x:10, y:10, z:10. +</p> + +## Make sure that your cutting tool is installed high enough it won't collide, and make sure the door is closed before clicking "move to origin" + +## The machine will move once you click that button. + +<p> +Now that the machine is at the correct x-y position, you can slightly lower the z height from mods, and then you will loosen the set screw so that the milling bit contacts the FR1, and then re-tighten in that position. From there, your x, y, and z heights are all set, and you are ready to start milling. Let's go through this: +</p> + +<p> +The machine at the correct x-y: +</p> + +<a href="./img/10.jpeg" target=_blank><img src="./img/10.jpeg"/></a> + +<p> +Now I'm going to lower the z height 1-2 mm from mods: +</p> + +<a href="./img/11.jpeg" target=_blank><img src="./img/11.jpeg"/></a> + +<p> +for visibility of the height of the tool off the FR1: +</p> + +<a href="./img/12.jpeg" target=_blank><img src="./img/12.jpeg"/></a> + +<p> +Now, I will loosen the set screw so that the milling bit drops onto the FR1 (do the drop gently, i.e. hold onto the milling bit, otherwise the drop can damage the tool). +</p> + +<b> While holding the milling bit in place, re-tighten the set screw </b>. Again, you do not need to crank it, overtightening the set screw can damage the threads. + +<p> +The reason why you want to hold the milling bit in place is because the tightening of the set screw can slightly lift the milling bit out of place otherwise, which can cause your traces especially to not mill out properly. +</p> + +<p> +This is everything in place, fingers for visibility: +</p> +<a href="./img/13.jpeg" target=_blank><img src="./img/13.jpeg"/></a> +<a href="./img/14.jpeg" target=_blank><img src="./img/14.jpeg"/></a> + +<p> +Now, everything is zero-ed correctly, and you are ready to mill your design! +</p> + +<p> +To do this, load up your png/svg of your traces into mods, select the 1/64" mill traces option, and click calculate. (This is all basically the same as the lunyee). +</p> + +### Then, the "waiting for file" button in the WebUsb window will switch to "send file". Once you click "send file", the machine will start milling. + +## Make sure the door is closed!!! + +<p> +ok great, the SRM 20 milled out your traces: +</p> + +<a href="./img/16.jpeg" target=_blank><img src="./img/16.jpeg"/></a> + +<p> +Before we cut the outline out, let's vacuum up the chips: +</p> + +<a href="./img/17.jpeg" target=_blank><img src="./img/17.jpeg"/></a> + +<p> +Great. Beautiful. +</p> + +<p> +Now, you will switch out your milling bit, following the instructions as above, to cut out your outline. Make sure your x and y zeros are the same as for your traces. (your z zero in mods does not need to be the same, since we manually set that by lowering the height of the milling tool). +</p> + +<p> +Here is a video showing the machine milling, starting from once the tool is zeroed, and mods has computed the outline cut path (mill outline 1/32). +</p> + +<video width="100%" controls=""> + <source src="./img/2.mp4" type="video/mp4"> +Your browser does not support the video tag. +</video> + +<p> +As you can see, the machine will start as soon as you press "send file", so please be aware/prepared for that. +</p> + +<p> +Once the part is cut out, you can vacuum up the chips, and then pry your PCB out. Good job!! +</p> + + +</main> + +</body> + +</html> diff --git a/style.css b/style.css new file mode 100644 index 0000000000000000000000000000000000000000..e46f2d4056b49f8b6e1f49a7f77fbe0fd6acbc7e --- /dev/null +++ b/style.css @@ -0,0 +1,46 @@ +@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); + +html, body { + width: 90vw; + margin: 0px; + background: #ffffff; + font-family: 'Roboto', sans-serif; + line-height: 1.5; + padding: 1em; + padding-bottom: 2em; +} + +.author { + font-size: 0.8em; +} + +main { + width: 60%; + margin: auto; + color: #313030; +} + +a { + color: #606ab5; +} + +.center { + width: 100%; + display: flex; +} + +img { + width: 100%; + margin: auto; + max-width: 100%; + border-radius: 0.8em; +} + +@media only screen and (max-width: 600px) { + main { + width: 100%; + } + img { + width: 100%; + } +}